object WholesaleOrder

Fields

FieldTypeDescription
idString
legacy_idInt
versionWholesaleOrderVersion
fulfillment_flowWholesaleFulfillmentFlowOptions
shipping_optionWholesaleShippingOptions
staging_location_idInt
picking_flowWholesaleOrderPickingFlow
outbound_progressWholesaleOrderOutboundProgress
pickup_dateISODateTime
statusWholesaleOrderStatus
status_messageString
preparation_dateISODateTime
packing_layoutGenericScalar

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_typeString
gs1_labels_requiredBoolean
trading_partner_idString
trading_partner_nameString
store_location_numberString
store_address1String
store_cityString
store_countryString
store_stateString
store_zipString
distribution_centerString
distribution_center_numberString
purchase_order_typeString
vendorString
vendor_idString
requested_delivery_dateISODateTime
ship_not_before_dateISODateTime
ship_no_later_than_dateISODateTime
depositor_order_numberString
departmentString
department_numberString
divisionString
service_levelString
internal_supplier_numberString
terms_of_saleString
retailer_notesString
quote_numberString
sales_requirement_codeString
reference_fieldsJSONObjectScalar
order_idString

The id of the order associated with the wholesale order

orderOrder
wholesale_shipping_details[WholesaleShippingDetails]
wholesale_line_itemsWholesaleLineItemsQuerySpecConnection
ArgumentTypeRequiredDefaultDescription
sortStringNo
searchGenericScalarNo
beforeStringNo
afterStringNo
firstIntNo
lastIntNo

Referenced By

Example

{
  "id": "abc123",
  "legacy_id": 987,
  "version": "LEGACY",
  "fulfillment_flow": "B2B_FULFILLMENT",
  "shipping_option": "COURIER",
  "staging_location_id": 987,
  "picking_flow": "DESKTOP",
  "outbound_progress": "AWAITING_SCHEDULE",
  "pickup_date": "abc123",
  "status": "pending",
  "status_message": "abc123",
  "preparation_date": "abc123",
  "packing_layout": "abc123",
  "order_type": "abc123",
  "gs1_labels_required": true,
  "trading_partner_id": "abc123",
  "trading_partner_name": "abc123",
  "store_location_number": "abc123",
  "store_address1": "abc123",
  "store_city": "abc123",
  "store_country": "abc123",
  "store_state": "abc123",
  "store_zip": "abc123",
  "distribution_center": "abc123",
  "distribution_center_number": "abc123",
  "purchase_order_type": "abc123",
  "vendor": "abc123",
  "vendor_id": "abc123",
  "requested_delivery_date": "abc123",
  "ship_not_before_date": "abc123",
  "ship_no_later_than_date": "abc123",
  "depositor_order_number": "abc123",
  "department": "abc123",
  "department_number": "abc123",
  "division": "abc123",
  "service_level": "abc123",
  "internal_supplier_number": "abc123",
  "terms_of_sale": "abc123",
  "retailer_notes": "abc123",
  "quote_number": "abc123",
  "sales_requirement_code": "abc123",
  "reference_fields": "abc123",
  "order_id": "abc123",
  "order": Order,
  "wholesale_shipping_details": WholesaleShippingDetails,
  "wholesale_line_items": WholesaleLineItemsQuerySpecConnection
}