Update Quantity

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

You can update a specific product quantity by providing the ID of the product you want to update its quantity in the product path parameter.

Request Body

{"quantity"=>"<number>", "unlimited_quantity"=>"<boolean>"}

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;}}