Openapi
Return on hand, reserved, available, backordered, and incoming quantities for every stock-tracked variant, for webshop stock sync. Subscribe to the `inventory.level-changed` webhook to hear about changes.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidproductId?stringuuidReturns stock levels per variant.
application/jsondata*array<>curl -X GET 'https://app.localhost/api/v1/organizations/123/inventory/levels?productId=123'{ "data": [ { "allocated": 0, "available": 0, "backordered": 0, "incoming": 0, "isDefault": true, "onHand": 0, "position": 0, "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "reorderPoint": 0, "sku": "string", "stockStatus": "not_tracked", "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf", "variantTitle": "string" } ]}