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"=>12}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"message":"The details has been updated successfully","code":201}}