Produkty - Warianty
Aktualizuje wariant produktu
Changed onAktualizacja wariantu produktu
put/products_variants/{product_variant_id}
Request
- Base URLhttps://demo.sellasist.pl/api/v1
- URLhttps://demo.sellasist.pl/api/v1/products_variants/{product_variant_id}
- AuthAPI key in header apiKey
Path parameters
product_variant_idunknown required
Identyfikator wariantu
Request body
Example request
{
"catalog": "1VWOCN48",
"ean": "7501031311309",
"external_shops_mappings": [
{
"foreign_id": 2,
"shop_id": 8
}
],
"pricesfieldsvalues": [
{
"currency": "EUR",
"id": 1,
"pricesfield_id": 2,
"value": 21.9
}
],
"promotion": 1,
"quantity": 5,
"status": 1,
"symbol": "L-5883"
}Response
Sukces
Example response
{
"id": 20
}Changes
- warning
removed the request property
- warning
- info
added the new optional request property
//
- info