Light Mode
Update Quantity
PUT
/products/quantities/{product}Modified at: 7 days ago
This endpoint allows you to update a specific product quantity by passing the product
as a path parameter.
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": 12
}
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
}
}
Modified at 7 days ago