Get Order

Returns *Order* data. This will return order data immediately after an order is placed on the storefront. > #### Note > * Substitute your storefront domain for `yourstore.example.com`. > * The Send a Test Request feature is not currently supported for this endpoint.

Path parameters

orderIdintegerRequired
ID of an Order.

Query parameters

includelist of enumsOptional

Sub-resources to include in an Order, in a comma-separated list. The ID and the specified fields will be returned.

Response

orderIddoubleOptional>=1
cartIdstringOptionalformat: "uuid"
The ID of cart that was converted to order.
currencyobjectOptional
This will always be the same between cart and checkout.
isTaxIncludedbooleanOptional
Whether this item is taxable.
baseAmountdoubleOptional

Cost of cartʼs contents before applying discounts.

discountAmountfloatOptional
Discounted amount.
giftWrappingCostTotaldoubleOptional
Gift wrapping for all items, including or excluding tax.
orderAmountdoubleOptional

Sum of line-items amounts, minus cart-level discounts and coupons. This amount includes taxes where applicable.

orderAmountAsIntegerdoubleOptional

Order amount represented in integer. Eg. 1234 for $12.34

couponslist of objectsOptional

Array of AppliedCoupon objects applied to this cart.

lineItemslist of objectsOptional

Array of LineItem objects.

customerIdstringOptional
billingAddressobjectOptional
statusenumOptional
Order status.
hasDigitalItemsbooleanOptional
Specifies whether this order has at least one digital item.
isDownloadablebooleanOptional
Specifies whether this order is fully paid, so that digital items can be downloaded.
isCompletebooleanOptional
Specifies whether this order is complete and ready to be taken to the order confirmation page.
customerMessagestringOptional

Shopperʼs provided message for the order.

shippingCostTotaldoubleOptional
shippingCostBeforeDiscountdoubleOptional
Estimated total shipping cost before any shipping discounts have been applied.
comparisonShippingCostdoubleOptional

The total shipping cost to be shown to shopper in the summary as struck-through.

  • If the entered-price and display-price have the same tax setting (e.g.: both are tax-inclusive), this field will be the estimated total shipping cost before any coupons applied (but after automatic promotions applied).
  • If the entered-price and display-price have different tax setting (e.g.: one is tax-inclusive, and one is tax-exclusive), this field will be the estimated total shipping cost before any discounts applied, similar to the shippingCostBeforeDiscount.
handlingCostTotaldoubleOptional
customerCanBeCreatedbooleanOptional
taxeslist of objectsOptional
taxTotalintegerOptional
channelIddoubleOptional
ID of the channel which the order belongs to.
consignmentsobjectOptional
All the consignments of the order.