Variant document (Shop API 23.2)

Document representing a product variation.

Property Type Constraints Description
link String   The URL addressing the product.
orderable Boolean   A flag indicating whether the variant is orderable.
price Decimal   The sales price of the variant.
price_per_unit Decimal   The sales price of the variant.
product_id String mandatory=true, maxLength=100, minLength=1, nullable=false The id (SKU) of the variant.
variation_values Map[String, String]   The actual variation attribute id - value pairs.
X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.