Light Mode
Update Quantity
DeprecatedPUT
/products/quantities/{product}Last modified:Â 13 days ago
This endpoint allows you to update a specific product quantity by passing the product
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
product
integerÂ
required
The Product ID. List of Product ID 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: 13 days ago