Update Quantity
PUT {{baseUrl}}/products/quantities/:product
This endpoint allows you to update a specific product quantity by passing the product
as a path parameter.
products.read_write
- Products Read & Write
Request Body
{"quantity"=>"<number>", "unlimited_quantity"=>"<boolean>", "branches_quantities"=>{"quantity"=>{"id"=>"<number>", "quantity"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}