POST
/
catalog
/
products
/
{id}
/
inventory

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

product id

Body

application/json · object[]
allow_backorder
boolean
required
track_quantity
boolean
required
stock
object[]
update_other_variants
boolean

if true, same inventry details will be updated to other variants which are not mentioned in request body.

variant_id
string

Response

200 - application/json
content
object
message
string
success
boolean