ESTAGE Support
IdeasMy tickets

Available stock of a variant

Permission inventory:readRate limit reads
GEThttps://api.estage.com/v1/variants/{id}/inventory

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired
RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/variants/variant-id/inventory' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "data": {
    "variant_id": 30442,
    "available": 7
  }
}
Example. Errors are { error: { code, message, details } }.