Перейти к основному содержимому

variant_object

idinteger

Record ID

title_rustring

Variant name (RU)

title_enstring

Variant name (EN)

pricenumber

Variant price

discount_typestring

fixed - absolute value percent - percent value

Possible values: [fixed, percent]

impact_typestring

increase - increase price decrease - decrease price

Possible values: [increase, decrease]

is_defaultboolean

Whether the variant is selected by default

Default value: false
statusstring

active - variant is active archived - variant is disabled hidden - variant is hidden

Possible values: [active, archived, hidden]

positioninteger

Variant position ASC

Default value: 0
in_stock_products_countinteger

Quantity of splitted products in stock

Default value: 0
sold_products_countinteger

Quantity of sold splitted products

Default value: 0
variant_object
{
"id": 0,
"title_ru": "string",
"title_en": "string",
"price": 0,
"discount_type": "fixed",
"impact_type": "increase",
"is_default": false,
"status": "active",
"position": 0,
"in_stock_products_count": 0,
"sold_products_count": 0
}