Update products quantity by sku
PUT {{baseUrl}}/products/quantitybysku
First this service tries to update product option's quantity by sku, if the option does not exist, then it tries to update product's quantity by sku.
Service urls:
http://yourdomain.com/api/rest_admin/products/quantitybysku
OR
http://yourdomain.com/index.php?route=rest/product_admin/productquantitybysku
Request Body
[{"sku"=>"<string>", "quantity"=>"<integer>"}, {"sku"=>"<string>", "quantity"=>"<integer>"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
""