Openapi
Return the stock of a variant per bin and lot, optionally for one location.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidlocationId?stringuuidvariantId*stringuuidReturns the stock per bin and lot.
application/jsondata*array<>curl -X GET 'https://app.localhost/api/v1/organizations/123/inventory/stock-buckets?locationId=123&variantId=123e4567-e89b-12d3-a456-426614174000'{ "data": [ { "binCode": "string", "binId": "bb3ec690-443a-44a2-b217-5deec3a3c27e", "expiresOn": "2019-08-24", "hold": true, "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54", "lotCode": "string", "lotId": "e8c5065f-4319-4b13-ad99-eb9182a42d06", "onHand": 0, "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf" } ]}