Update Quantity By SKU

PUT {{baseUrl}}/products/quantities/bySku/:sku

This endpoint allows you to update specific product price by providing the SKU of the product you want to update its price in the sku 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;}}