object PurchaseOrder

Fields

FieldTypeDescription
idString

Public API ID for this identifiable.

legacy_idBigInt

Numeric legacy ID for this identifiable; use only where legacy IDs are required.

po_numberString

Po number for this purchase order.

account_idString

Public API account ID that identifies the related record.

warehouse_idString

Public API warehouse ID. Use this when passing or filtering by a warehouse; warehouse fields are display values or nested objects.

vendor_idString

Public API vendor ID that identifies the related record.

created_atISODateTime

Created at as an ISO-8601 datetime, returned in UTC unless otherwise noted.

po_dateISODateTime

The expected date to arrive at the warehouse.

date_closedISODateTime

Date closed as an ISO-8601 datetime, returned in UTC unless otherwise noted.

arrived_atISODateTime

Arrived at as an ISO-8601 datetime, returned in UTC unless otherwise noted.

packing_noteString

Packing note for this purchase order.

fulfillment_statusString

Current fulfillment status; use the API status values returned by this field when filtering or updating.

po_noteString

Po note for this purchase order.

descriptionString

Human-readable description for this purchase order.

partner_order_numberString

Partner order number for this purchase order.

subtotalString

Customer-facing charge amount as a decimal monetary value in the order currency; distinct from value/customs_value used for declared value.

discountString

Monetary amount as a decimal value in the record currency; not cents.

total_priceString

Customer-facing charge amount as a decimal monetary value in the order currency; distinct from value/customs_value used for declared value.

taxString

Monetary amount as a decimal value in the record currency; not cents.

shipping_methodString

Carrier service or shipping method code.

shipping_carrierString

Carrier name or carrier code used for shipping.

shipping_nameString

Shipping name for this purchase order.

shipping_priceString

Customer-facing charge amount as a decimal monetary value in the order currency; distinct from value/customs_value used for declared value.

tracking_numberString

Carrier tracking number for the shipment or label.

pdfString

Pdf for this purchase order.

imagesString

List of images associated with this purchase order.

payment_methodString

Payment method for this purchase order.

payment_due_byString

Payment due by for this purchase order.

payment_noteString

Payment note for this purchase order.

lockingString

Locking for this purchase order.

locked_by_user_idString

Public API locked by user ID that identifies the related record.

line_itemsPurchaseOrderLineItemConnection

List of line items associated with this purchase order.

ArgumentTypeRequiredDefaultDescription
sortStringNo
beforeStringNo
afterStringNo
firstIntNo
lastIntNo
attachmentsPurchaseOrderAttachmentConnection

List of attachments associated with this purchase order.

ArgumentTypeRequiredDefaultDescription
sortStringNo
beforeStringNo
afterStringNo
firstIntNo
lastIntNo
vendorVendor

Vendor associated with this purchase order.

warehouseWarehouse

Warehouse display value or nested warehouse object for this record. Use warehouse_id when passing a warehouse reference.

origin_of_shipmentString

ISO country code for origin of shipment.

tracking_numbersPurchaseOrderTrackingNumberConnection

Tracking numbers for this purchase order.

ArgumentTypeRequiredDefaultDescription
sortStringNo
beforeStringNo
afterStringNo
firstIntNo
lastIntNo
ship_dateDateTime

Ship date in ISO-8601 date or datetime format, returned in UTC when time is included.

Referenced By

Example

{
  "id": "UmVjb3JkOjEyMzQ=",
  "legacy_id": 1234,
  "po_number": "PO-100045",
  "account_id": "UHVyY2hhc2VPcmRlcjoxMjM0",
  "warehouse_id": "UHVyY2hhc2VPcmRlcjoxMjM0",
  "vendor_id": "UHVyY2hhc2VPcmRlcjoxMjM0",
  "created_at": "2026-07-09T15:30:00Z",
  "po_date": "2026-07-09T15:30:00Z",
  "date_closed": "2026-07-09T15:30:00Z",
  "arrived_at": "2026-07-09T15:30:00Z",
  "packing_note": "Customer requested expedited handling.",
  "fulfillment_status": "pending",
  "po_note": "Customer requested expedited handling.",
  "description": "Customer requested expedited handling.",
  "partner_order_number": "SO-100045",
  "subtotal": "19.99",
  "discount": "19.99",
  "total_price": "19.99",
  "tax": "19.99",
  "shipping_method": "ups_ground",
  "shipping_carrier": "ups",
  "shipping_name": "PO-100045",
  "shipping_price": "19.99",
  "tracking_number": "1Z999AA10123456784",
  "pdf": "https://example.com/labels/SHIP-1001.pdf",
  "images": "https://example.com/images/blue-tee.jpg",
  "payment_method": "credit_card",
  "payment_due_by": "2026-07-15",
  "payment_note": "Customer requested expedited handling.",
  "locking": "locked",
  "locked_by_user_id": "UHVyY2hhc2VPcmRlcjoxMjM0",
  "line_items": [{sku: "BLUE-TEE-M", quantity: 2}],
  "attachments": [{id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}],
  "vendor": {id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"},
  "warehouse": {id: "V2FyZWhvdXNlOjEyMzQ=", identifier: "Primary Warehouse"},
  "origin_of_shipment": "US",
  "tracking_numbers": [{id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}],
  "ship_date": "2026-07-09T15:30:00Z"
}