Get purchase order details
GET/purchase-orders/:purchaseOrderNumber
Returns the full record for a single purchase order, including the vendor, invoice and delivery dates, current status, all line items with quantities and pricing, and financial totals (subtotal, tax, discount, shipping, total). Each line item includes the received quantity and fulfillment status so you can see at a glance how much has been delivered.
Request
Response
- 200
- 401
- 404
Full purchase order details
Unauthorized — missing or invalid API key
Resource not found
Response
{
"orderNumber": "PO-2025-0471",
"vendorId": null,
"vendorName": "Pacific Ingredients Co.",
"invoiceDate": "2025-03-10",
"expectedDeliveryDate": "2025-03-17",
"status": "completed",
"subtotal": 2800,
"taxAmount": 224,
"discount": 0,
"shippingCost": 150,
"totalAmount": 3174,
"currency": "USD",
"paymentTerms": "Net 30",
"lineItems": [
{
"itemId": "2087",
"itemName": "Organic Tahini",
"description": null,
"quantity": 200,
"unit": "lbs",
"unitPrice": 3.25,
"totalPrice": 650,
"taxRate": 0.08,
"receivedQuantity": 200,
"lineStatus": "fully_received"
}
]
}