Produkty - Warianty
Tworzy wariant produktu
Tworzenie nowego wariantu w produkcie
post/products_variants
Request body
Example request
{
"catalog": "1VWOCN48",
"ean": "7501031311309",
"price": 1,
"price_promo": 1,
"pricesfieldsvalues": [
{
"pricesfield_id": 2,
"value": 21.9
}
],
"product_id": 1,
"promotion": 1,
"quantity": 5,
"status": 1,
"variants_properties": [
{
"variants_property_id": 1
}
],
"weight": 1
}Response
Sukces
Example response
{
"product_variant_id": 20
}Changes
No recorded changes to this endpoint across all 1 revision of this API.