List Receiving Categories
List all persisted receiving categories for the current lab with optional sources. Defaults are initialized during organization creation or by the explicit settings-defaults command.
List all persisted receiving categories for the current lab with optional sources. Defaults are initialized during organization creation or by the explicit settings-defaults command.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
falsetrueResponse Body
application/json
curl -X GET "https://example.com/receiving-categories"{ "categories": [ { "id": "string", "labId": "string", "name": "string", "code": "string", "description": "string", "showInFlow": true, "settings": { "unitsPerItemLimit": 1 }, "sortOrder": 0, "isActive": true, "createdAt": "string", "updatedAt": "string", "sources": [ { "id": "string", "labId": "string", "categoryId": "string", "name": "string", "code": "string", "sortOrder": 0, "isActive": true, "createdAt": "string", "updatedAt": "string" } ] } ]}Delete Receiving Source DELETE
Soft-delete a receiving source by marking it as inactive. The source remains in the database for historical reference.
Reorder Receiving Sources POST
Reorder receiving sources within a category by providing an ordered array of source IDs. Validates all sources belong to the specified category.