PurchaseOrderRequest
Creates a purchase order together with its line items and its vendor and buyer contact records.
- buyerType: object
Contact requiredThe buying contact at your organization. At least one of email or phone is required.
- emailType: string Format: emailnullable
- externalType: string nullable
Id - nameType: string nullable
- phoneType: string nullable
E.164 format, including the country code.
- phoneType: string nullable
Extension Digits only.
- lineType: array object[] · PurchaseOrderLineItemRequest[]
Items requiredThe ordered lines. May be empty.
One ordered line on a purchase order.
- lineType: string
Number requiredYour line identifier. Unique within the purchase order.
- currencyType: stringmin length:3max length:3
ISO 4217 currency code. Defaults to USD when omitted.
- customType: object nullable
Data Arbitrary JSON key-value data you want carried on the line.
- descriptionType: stringmax length:1000nullable
- expectedType: string nullable
Arrival Date Day this line is expected to arrive. A calendar day (
2026-09-02) or a full timestamp is accepted; only the UTC calendar day is stored. Sendnullto clear it. - openType: integer nullable
Quantity Integer numbers.
- orderedType: integer nullable
Quantity Integer numbers.
- skuType: string nullable
- statusType: string · PurchaseOrderStatusenum
Lifecycle state of a purchase order or one of its line items.
values- O
P E N - C
L O S E D - C
A N C E L E D
- unitType: string nullable
Of Measure - unitType: string nullable
Price Non-negative decimal string with up to 8 integer and 2 fractional digits.
- purchaseType: object
Order required- purchaseType: string
Order Date requiredDay the purchase order was issued. A calendar day (
2026-08-18) or a full timestamp is accepted; only the UTC calendar day is stored. - purchaseType: string
Order Number requiredYour purchase order number. Unique within your system.
- statusType: string · PurchaseOrderStatusenumrequired
Lifecycle state of a purchase order or one of its line items.
values- O
P E N - C
L O S E D - C
A N C E L E D
- customType: object nullable
Data - internalType: string nullable
Purchase Order Number
- vendorType: objectrequired
The vendor shipping the purchase order. Matched on vendorCode within your system: an existing vendor is reused rather than duplicated.
- nameType: stringrequired
- vendorType: string
Code requiredYour vendor identifier. Unique within your system.
- vendorType: object nullable
Contact A contact at the vendor. At least one of email or phone is required when supplied.
- emailType: string Format: emailnullable
- nameType: string nullable
- phoneType: string nullable
E.164 format, including the country code.