Receive purchase order items
Records the receipt of items from a purchase order. Updates inventory quantities, creates stock adjustments, and transitions the PO status to 'partially_received' or 'received' based on whether all items are fully received.
Records the receipt of items from a purchase order. Updates inventory quantities, creates stock adjustments, and transitions the PO status to 'partially_received' or 'received' based on whether all items are fully received.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Purchase order ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/inventory/purchase-orders/550e8400-e29b-41d4-a716-446655440000/receive" \ -H "Content-Type: application/json" \ -d '{ "commandId": "string", "items": [ { "purchaseOrderItemId": "string", "quantityReceived": 0 } ] }'{ "data": { "status": "string" }}List suppliers GET
Returns a paginated list of suppliers for the current organization. Supports search by name, code, or email and optional inclusion of inactive suppliers.
Reorder adjustment reasons POST
Updates the sort order of adjustment reasons based on the provided ordered list of reason IDs. All IDs must belong to the current organization.