Skip to main content
POST
Stock out products or variants

Authorizations

Authorization
string
header
required

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

Body

application/json
product_id
string
required
variant_id
string | null
required

Response

OK

message
string
Example:

"Inventory status updated successfully."

success
boolean