Openapi
Return stock reserved or consumed by quotes, tasks, and invoices.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuiduuiduuiduuiduuiduuidapplication/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/organizations/123/inventory/allocations?offset=example&limit=example&q=example&invoiceLineId=123e4567-e89b-12d3-a456-426614174000&productId=123"eVersionLineId=123e4567-e89b-12d3-a456-426614174000&stockRecordId=123&taskMaterialId=123e4567-e89b-12d3-a456-426614174000"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "stockRecordId": "cc91415f-f5cb-4ad0-a9b3-164cf789611a", "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "quantity": 1, "state": "reserved", "taskMaterialId": "b70c6a0f-a0e3-44c6-b027-9ce0f832fd43", "quoteVersionLineId": "8282e614-b4de-499e-9ba8-f5fea288db65", "invoiceLineId": "01b48345-8495-4ed8-81ba-4399df639395", "consumedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "offset": 0, "limit": 1, "total": 0, "hasMore": true, "totalIsEstimate": true }}