Light Mode
Update Quantity
DeprecatedPUT
/products/quantities/{product}Last modified: 16 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: 16 days ago