Light Mode
Update Quantity By SKU
DeprecatedPUT
/products/quantities/bySku/{sku}Last modified: a month ago
This endpoint allows you to update specific product price by passing the sku
as a path parameter.
:::warning Important
As this endpoint is to be deprecated soon, it is recommended to adapt using the Update Bulk Quantities endpoint
:::
Request
Path Params
sku
string
required
The Product SKU. List of Product SKU can be found here.
Body Params application/json
No schema defined
Example
{
"quantity": 5,
"mode": "increment"
}
Request samples
Responses
Progress In-Action(201)
Not Found(404)
Error Validation(422)
Progress In-Action
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 201,
"success": true,
"data": {
"message": "The details has been updated successfully",
"code": 201
}
}
Last modified: a month ago