Update Quantity

PUT {{baseUrl}}/products/quantities/:product

This endpoint allows you to update a specific product quantity by providing the ID of the product you want to update its quantity in the product path parameter. Scope: products.read_write- Products Read & Write

Request Body

{"quantity"=>"<number>", "unlimited_quantity"=>"<boolean>", "branches_quantities"=>{"quantity"=>{"id"=>"<number>", "quantity"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;code&quot;:&quot;\u003cnumber\u003e&quot;}}