object WholesaleOrder
Fields
| Field | Type | Description | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | String | Public API ID for this identifiable. | |||||||||||||||||||||||||||||||||||
legacy_id | BigInt | Numeric legacy ID for this identifiable; use only where legacy IDs are required. | |||||||||||||||||||||||||||||||||||
version | WholesaleOrderVersion | Version for this wholesale order. | |||||||||||||||||||||||||||||||||||
fulfillment_flow | WholesaleFulfillmentFlowOptions | Fulfillment flow for this wholesale order. | |||||||||||||||||||||||||||||||||||
shipping_option | WholesaleShippingOptions | Shipping option for this wholesale order. | |||||||||||||||||||||||||||||||||||
staging_location_id | Int | Public API staging location ID that identifies the related record. | |||||||||||||||||||||||||||||||||||
picking_flow | WholesaleOrderPickingFlow | Picking flow for this wholesale order. | |||||||||||||||||||||||||||||||||||
outbound_progress | WholesaleOrderOutboundProgress | Outbound progress for this wholesale order. | |||||||||||||||||||||||||||||||||||
pickup_date | ISODateTime | Pickup date in ISO-8601 date or datetime format, returned in UTC when time is included. | |||||||||||||||||||||||||||||||||||
status | WholesaleOrderStatus | Current status; use the API status values returned by this field when filtering or updating. | |||||||||||||||||||||||||||||||||||
status_message | String | Status message for this wholesale order. | |||||||||||||||||||||||||||||||||||
preparation_date | ISODateTime | Preparation date in ISO-8601 date or datetime format, returned in UTC when time is included. | |||||||||||||||||||||||||||||||||||
is_packed_externally | Boolean | Indicates whether the wholesale order was fulfilled as externally packed. | |||||||||||||||||||||||||||||||||||
packing_layout | GenericScalar | We will return this field only after the packing layout is completely defined, which happens once the order is in 'packed' status or has moved further along in the processing line. | |||||||||||||||||||||||||||||||||||
order_type | String | Order type for this wholesale order. | |||||||||||||||||||||||||||||||||||
gs1_labels_required | Boolean | Whether GS1 carton labels are required for this wholesale order. | |||||||||||||||||||||||||||||||||||
trading_partner_id | String | Public API trading partner ID that identifies the related record. | |||||||||||||||||||||||||||||||||||
trading_partner_name | String | Trading partner name for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_location_number | String | Store location number for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_address1 | String | Store address1 for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_city | String | Store city for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_country | String | Store country for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_state | String | Store state for this wholesale order. | |||||||||||||||||||||||||||||||||||
store_zip | String | Store zip for this wholesale order. | |||||||||||||||||||||||||||||||||||
distribution_center | String | Distribution center for this wholesale order. | |||||||||||||||||||||||||||||||||||
distribution_center_number | String | Distribution center number for this wholesale order. | |||||||||||||||||||||||||||||||||||
purchase_order_type | String | Purchase order type for this wholesale order. | |||||||||||||||||||||||||||||||||||
vendor | String | Vendor associated with this wholesale order. | |||||||||||||||||||||||||||||||||||
vendor_id | String | Public API vendor ID that identifies the related record. | |||||||||||||||||||||||||||||||||||
requested_delivery_date | ISODateTime | Requested delivery date in ISO-8601 date or datetime format, returned in UTC when time is included. | |||||||||||||||||||||||||||||||||||
ship_not_before_date | ISODateTime | Ship not before date in ISO-8601 date or datetime format, returned in UTC when time is included. | |||||||||||||||||||||||||||||||||||
ship_no_later_than_date | ISODateTime | Ship no later than date in ISO-8601 date or datetime format, returned in UTC when time is included. | |||||||||||||||||||||||||||||||||||
depositor_order_number | String | Depositor order number for this wholesale order. | |||||||||||||||||||||||||||||||||||
department | String | Department for this wholesale order. | |||||||||||||||||||||||||||||||||||
department_number | String | Department number for this wholesale order. | |||||||||||||||||||||||||||||||||||
division | String | Division for this wholesale order. | |||||||||||||||||||||||||||||||||||
service_level | String | Service level for this wholesale order. | |||||||||||||||||||||||||||||||||||
internal_supplier_number | String | Internal supplier number for this wholesale order. | |||||||||||||||||||||||||||||||||||
terms_of_sale | String | Terms of sale for this wholesale order. | |||||||||||||||||||||||||||||||||||
retailer_notes | String | Retailer notes for this wholesale order. | |||||||||||||||||||||||||||||||||||
quote_number | String | Quote number for this wholesale order. | |||||||||||||||||||||||||||||||||||
sales_requirement_code | String | Sales requirement code for this wholesale order. | |||||||||||||||||||||||||||||||||||
reference_fields | JSONObjectScalar | JSON object containing reference fields for this wholesale order. | |||||||||||||||||||||||||||||||||||
order_id | String | Public API order ID associated with this wholesale order. | |||||||||||||||||||||||||||||||||||
order | Order | Order associated with this wholesale order. | |||||||||||||||||||||||||||||||||||
wholesale_shipping_details | [WholesaleShippingDetails] | List of wholesale shipping details for this wholesale order. | |||||||||||||||||||||||||||||||||||
wholesale_line_items | WholesaleLineItemsQuerySpecConnection | Wholesale line items for this wholesale order. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Referenced By
- MergeableOrder Type
- Order Type
- WholesaleOrderEdge Type
- WholesaleOrderGenerateLabelsOutput Type
- WholesaleOrderImportPackingLayoutOutput Type
- WholesaleOrderMutationOutput Type
- WholesaleOrderQueryResult Type
Example
{
"id": "UmVjb3JkOjEyMzQ=",
"legacy_id": 1234,
"version": "V2",
"fulfillment_flow": "OUTBOUND",
"shipping_option": "LTL",
"staging_location_id": 1234,
"picking_flow": "PICK_TO_TOTE",
"outbound_progress": "NOT_STARTED",
"pickup_date": "2026-07-09T15:30:00Z",
"status": "pending",
"status_message": "pending",
"preparation_date": "2026-07-09T15:30:00Z",
"is_packed_externally": true,
"packing_layout": {"reference_id": "REF-100045", "notes": "Fragile"},
"order_type": "retail",
"gs1_labels_required": true,
"trading_partner_id": "UmVjb3JkOjEyMzQ=",
"trading_partner_name": "SO-100045",
"store_location_number": "STORE-100",
"store_address1": "123 Fulfillment Ave",
"store_city": "New York",
"store_country": "US",
"store_state": "NY",
"store_zip": "10001",
"distribution_center": "DC-East",
"distribution_center_number": "DC-01",
"purchase_order_type": "standard",
"vendor": "Acme Supplies",
"vendor_id": "VmVuZG9yOjEyMzQ=",
"requested_delivery_date": "2026-07-09T15:30:00Z",
"ship_not_before_date": "2026-07-09T15:30:00Z",
"ship_no_later_than_date": "2026-07-09T15:30:00Z",
"depositor_order_number": "SO-100045",
"department": "Apparel",
"department_number": "42",
"division": "North",
"service_level": "standard",
"internal_supplier_number": "SUP-1001",
"terms_of_sale": "NET30",
"retailer_notes": "Customer requested expedited handling.",
"quote_number": "Q-100045",
"sales_requirement_code": "STANDARD",
"reference_fields": {"reference_id": "REF-100045", "notes": "Fragile"},
"order_id": "T3JkZXI6MTIzNA==",
"order": {id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"},
"wholesale_shipping_details": [[{id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}]],
"wholesale_line_items": [{sku: "BLUE-TEE-M", quantity: 2}]
}