Skip to main content
POST
Stock out products or variants

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Body

application/json
product_id
string
required
variant_id
string | null
required

Response

OK

message
string
Example:

"Inventory status updated successfully."

success
boolean