Skip to content
Last updated

Order Model

NameData TypeDescription
orderIdnumberThe system-generated identifier for the order. Read-Only field.
orderNumberstringA user-defined order number used to identify an order.
orderKeystringA user-provided key that should be unique to each order. Can only be initialized during order creation. If the orderkey isn't specified during creation, a unique value will be generated and assigned to the order.
orderDatestringThe date the order was placed.
createDatestringThe timestamp the order was created in ShipStation's database. Read-Only
modifyDatestringThe timestamp the order was modified in ShipStation. modifyDate will equal createDate until a modification is made. Read-Only.
paymentDatestringThe date the order was paid for.
shipByDatestringThe date the order is to be shipped before or on. This field is a suggested value generated by the order source/platform/cart and passed to ShipStation. Not all ShipStation integrations support this field and will show null if absent.
orderStatusstringThe order's status. Possible values: "awaiting_payment", "awaiting_shipment", "shipped", "on_hold", "cancelled"
customerIdnumberUnique identifier for the customer. Generated by ShipStation the first time the customer record is created. Read-Only
customerUsernamestringIdentifier for the customer in the originating system. This is typically a username or email address. This value is required to generate a customer profile.
customerEmailstringThe customer's email address.
billToObject: Array of strings and booleanAddress The recipient's billing address. The residential boolean specifies whether or not the given address is residential.
shipToObject: Array of strings and booleanAddress The recipient's shipping address. The residential boolean specifies whether or not the given address is residential.
itemsObject: Array of strings and booleanOrderItem Array of purchased items.
orderTotalnumberThe order total. NOTE: This is a Read-Only field.
amountPaidnumberThe total amount paid for the Order.
taxAmountnumberThe total tax amount for the Order.
shippingAmountnumberShipping amount paid by the customer, if any.
customerNotesstringNotes left by the customer when placing the order.
internalNotesstringPrivate notes that are only visible to the seller.
giftbooleanSpecifies whether or not this order is a gift.
giftMessagestringGift message left by the customer when placing the order.
paymentMethodstringMethod of payment used by the customer.
requestedShippingServicestringIdentifies the shipping service selected by the customer when placing this order. This value is given to ShipStation by the marketplace/cart. If the value is "null" then the marketplace or cart does not support this field in ShipStation.
carrierCodestringThe code for the carrier that is to be used (or was used) when this order is shipped (was shipped).
serviceCodestringThe code for the shipping service that is to be used (or was used) when this order is shipped (was shipped).
packageCodestringThe code for the package type that is to be used (or was used) when this order is shipped (was shipped).
confirmationstringThe type of delivery confirmation that is to be used (or was used) when this order is shipped (was shipped).
shipDatestringThe date the order was shipped.
holdUntilDatestringIf placed on hold, this date is the expiration date for this order's hold status. The order is moved back to awaiting_shipment status on this date.
weightObject: numbers and stringsWeight of the order.
dimensionsObject: numbers and stringsDimensions of the order.
insuranceOptionsObject: numbers, strings, and booleanThe shipping insurance information associated with this order. Learn more about InsuranceOptions
internationalOptionsObject: strings, and an Array of customs itemsCustoms information that can be used to generate customs documents for international orders. Learn more about InternationalOptions
advancedOptionsObject: numbers, strings, and booleanVarious AdvancedOptions may be available depending on the shipping carrier that is used to ship the order.
tagIdsArray of numbers or NullThe numbers in the array are the tagIds. (number[] / null) Each tagId identifies a tag that has been associated with this order. See also Add Tag to Order, List Orders by Tag, Remove Tag from Order, Product Tag, and List Products.
userIdstringUser assigned to Order/Shipment in the GUID. Read-Only.
externallyFulfilledbooleanStates whether or not the order is currently marked as being externally fulfilled by the marketplace. A common example is when an Amazon order is marked an Amazon Fulfilled Network (AFN). If the order is an AFN then this element will be true. Read-Only.
externallyFulfilledBystringIf externallFulfilled is true, then this string will return how the order is being fulfilled by the marketplace. Read-Only.