Auto Generate Purchase Orders
Auto-generate purchase orders for stocks below PAR level.
Documentation Index
Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
The tenant you are making this request on behalf of
Your api key
Body
List of location IDs to check stock levels for
Response
Successful Response
ID of the supplier
Unique identifier for the purchase order
Status of the purchase order
PENDING, PLACED, COMPLETED, CANCELLED Date when the purchase order was sent to supplier
Date when all shipments are DELIVERED (purchase order completed)
Optional supplier details
Line items with details
Notes attached to this purchase order
Date and time the purchase order was created
Date and time the purchase order was last updated
Whether the purchase order is archived
Maximum lead time in days across all line items (estimated delivery time from order placement)
