Skip to main content
POST
Update Product 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
variant_id
string

required only if product has_variant = true. otherwise it can be excluded or pass null.

update_other_variants
boolean
write-only

Can be used for the product having variants. if true, same inventry details will be updated to other variants which are not mentioned in request body.

track_quantity
boolean
track_lot_batch
boolean
allow_backorder
boolean
stock
object[]

Response

200 - application/json

OK

message
string
success
boolean
content
object