Produkty - Warianty
Tworzy wariant produktu
Changed onTworzenie nowego wariantu w produkcie
post/products_variants
Request
- Base URLhttps://demo.sellasist.pl/api/v1
- URLhttps://demo.sellasist.pl/api/v1/products_variants
- AuthAPI key in header apiKey
Request body
Example request
{
"catalog": "1VWOCN48",
"ean": "7501031311309",
"price": 1,
"price_promo": 1,
"pricesfieldsvalues": [
{
"currency": "EUR",
"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
- breaking
the
request property type changed fromfloattonumber - breaking
the
request property type changed fromfloattonumber - breaking
the
request property type changed fromfloattonumber - info
added the new optional request property
//
- breaking