201 Successful Response
Schema: OrderResponse
-
idstring required -
Order UUID.
-
vendor_idstring required -
Vendor UUID.
-
vendor_namestring -
Vendor name (resolved).
-
vendor_emailstring -
Vendor email (resolved).
-
statusstring required -
Order status.
-
namestring required -
Order name.
-
business_idstring -
Business UUID.
-
po_numberstring required -
Purchase order number.
-
line_itemsarray · object required -
Order line items.
-
feesarray · Fee requiredFee -
Additional fees.
3 fields
-
namestring -
Fee name (e.g., 'Shipping', 'Handling').
-
descriptionstring -
Fee description (alternative to name).
-
amountinteger required -
Fee amount in cents.
-
-
paymentsarray · Payment-Output requiredPayment-Output -
Payment records.
6 fields
-
idstring -
Payment UUID.
-
paid_onstring · date-time -
Payment date.
-
datestring · date-time -
Payment date (alias for paid_on).
-
amountinteger required -
Payment amount in cents.
-
inventory_order_idstring -
Parent order UUID.
-
methodstring -
Payment method (e.g., 'check', 'wire', 'credit_card').
-
-
descriptionstring -
Order notes.
-
totalinteger -
Total amount in cents.
-
balanceinteger -
Remaining balance in cents.
-
shipmentsarray · object -
Associated shipments.
-
created_atstring · date-time required -
Creation timestamp.
-
updated_atstring · date-time required -
Last update timestamp.
-
versioninteger -
Version for optimistic locking.
-
shipping_costinteger -
Freight/shipping cost in cents.
-
ship_from_location_idstring -
Source location UUID.
-
ship_to_location_idstring -
Destination location UUID.
-
ship_from_location_namestring -
Resolved source location name.
-
ship_to_location_namestring -
Resolved destination location name.
-
production_run_idstring -
Linked production run UUID.
-
transfer_idstring -
Linked inventory transfer UUID.
-
expected_delivery_datestring · date-time -
Expected delivery date.
-
payment_term_idstring -
Payment term UUID for net terms.
-
payment_term_namestring -
Resolved payment term name (e.g., 'Net 30').
-
payment_term_daysinteger -
Days until due from the payment term.
-
expected_paid_onstring · date-time -
Expected payment date.
-
bill_idstring -
UUID of the Bill linked to this PO, if any.
-
bill_statusstring -
Status of the linked bill: forecasted, received, partially_paid, paid, draft, or canceled.
-
bill_amountinteger -
Linked bill amount in cents.
-
bill_received_onstring · date-time -
Timestamp the linked bill was marked received from the vendor.
-
bill_paid_onstring · date-time -
Timestamp the linked bill was marked fully paid.