Skip to content

Sales Order Object

The Sales Order object contains the following properties:

Sales Order

PropertyTypeDescription
sales_order_idstringUnique identifier
external_order_idstringOrder ID from the order source
external_order_numberstringOrder number from order source
order_sourceOrder Source objectDetails about the order source
sales_order_statusSales Order Status objectPayment and fulfillment status
order_datedate string (ISO 8601)When order was created at source
created_atdate string (ISO 8601)When created in ShipEngine system
modified_atdate string (ISO 8601)Last modification time
payment_detailsPayment Details objectFinancial information
customerCustomer objectCustomer contact information
bill_toBill To objectBilling address
ship_toAddress objectShipping address
sales_order_itemsarray of Sales Order Item objectsLine items

Order Source

PropertyTypeDescription
order_source_idstringUnique identifier
order_source_nicknamestringCustom name
order_source_codestringAPI identifier
order_source_friendly_namestringDisplay name
refresh_infoRefreshInfo objectSync status information
activebooleanActivation status

Refresh Info

PropertyTypeDescription
statusenumidle, preparing_update, updating, error, unknown
last_refresh_attemptdate stringLast sync attempt timestamp
refresh_datedate stringNext scheduled refresh

Sales Order Item

PropertyTypeDescription
sales_order_item_idstringUnique identifier
line_item_detailsLineItemDetails objectProduct information
ship_toAddress objectShipping address
requested_shipping_optionsRequestedShippingOptions objectShipping preferences
price_summaryPriceSummary objectPricing information
quantityintegerQuantity ordered
is_giftbooleanGift indicator

Sales Order Status

PropertyTypeDescription
payment_statusenumunknown, paid, unpaid, partially_paid
fulfillment_statusenumunknown, fulfilled, unfulfilled, partially_fulfilled, on_hold
is_cancelledbooleanCancellation status

Supporting Objects

Line Item Details

PropertyTypeDescription
namestringProduct name
skustringSKU
weightWeight objectItem weight

Requested Shipping Options

PropertyTypeDescription
shipping_servicestringRequested service
ship_datedate stringRequested ship date

Price Summary

PropertyTypeDescription
unit_priceCurrency objectPrice per unit
estimated_taxCurrency objectTax estimate
estimated_shippingCurrency objectShipping estimate
totalCurrency objectTotal price

Payment Details

PropertyTypeDescription
subtotalCurrency objectSubtotal amount
estimated_shippingCurrency objectShipping estimate
estimated_taxCurrency objectTax estimate
grand_totalCurrency objectTotal amount

Customer

PropertyTypeDescription
namestringCustomer name
phonestringPhone number
emailstringEmail address

Bill To

PropertyTypeDescription
emailstringBilling email
addressAddress objectBilling address

Address

PropertyTypeDescription
namestringRecipient name
company_namestringCompany name
phonestringPhone number
address_line1stringAddress line 1
address_line2stringAddress line 2
address_line3stringAddress line 3
city_localitystringCity
state_provincestringState/Province
postal_codestringPostal code
country_codestringCountry code

Weight

PropertyTypeDescription
unitenumounce, pound, gram
valuedecimalWeight value

Currency

PropertyTypeDescription
amountdecimalAmount value
currencyenumusd, cad, aud, gbp, eur

Date Format

All date strings use ISO 8601 Standard format (e.g., 2019-07-25T15:24:46.657Z).