Openapi
Return inventory movement history for an organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidoffset*stringlimit*stringq?stringproductId?stringuuidstockRecordId?stringuuidReturns inventory movements.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/inventory/movements?offset=example&limit=example&q=example&productId=123&stockRecordId=123'{ "data": [ { "allocatedAfter": 0, "allocatedDelta": 0, "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec", "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54", "movementType": "initial_count", "occurredAt": "2019-08-24T14:15:22Z", "onHandDelta": 0, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "quantityAfter": 0, "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7", "quoteNumber": 0, "reason": "string", "referenceNumber": "string", "stockRecordId": "cc91415f-f5cb-4ad0-a9b3-164cf789611a", "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db", "taskMaterialId": "b70c6a0f-a0e3-44c6-b027-9ce0f832fd43" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}