Order
An order is a purchase made by a customer. It holds details about payment and fulfillment of the order. An order may also be created from a draft order, which is created by an admin user.
Properties
The details of the billing address associated with the order.
billing_address_id
stringRequiredThe ID of the billing address associated with the order
canceled_at
DateRequiredThe date the order was canceled on.
The details of the cart associated with the order.
cart_id
stringRequiredThe ID of the cart associated with the order
The details of the claims created for the order.
created_at
DateRequiredThe date with timezone at which the resource was created.
The details of the currency used in the order.
currency_code
stringRequiredThe 3 character currency code that is used in the order
The details of the customer associated with the order.
customer_id
stringRequiredThe ID of the customer associated with the order
discount_total
numberRequiredThe total of discount rounded
The details of the discounts applied on the order.
display_id
numberRequiredThe order's display ID
The details of the draft order this order was created from.
draft_order_id
stringRequiredThe ID of the draft order this order was created from.
The details of the order edits done on the order.
email
stringRequiredThe email associated with the order
external_id
null | stringRequiredThe ID of an external order.
The order's fulfillment status
Default: not_fulfilled
The details of the fulfillments created for the order.
gift_card_tax_total
numberRequiredThe total of gift cards with taxes
gift_card_total
numberRequiredThe total of gift cards
The gift card transactions made in the order.
The details of the gift card used in the order.
id
stringRequiredThe order's ID
idempotency_key
stringRequiredRandomly generated key used to continue the processing of the order in case of failure.
item_tax_total
null | numberRequiredThe tax total applied on items
The details of the line items that belong to the order.
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
no_notification
booleanRequiredFlag for describing whether or not notifications related to this should be send.
object
"order"RequiredDefault: "order"
paid_total
numberRequiredThe total amount paid
The order's payment status
Default: not_paid
The details of the payments used in the order.
raw_discount_total
numberRequiredThe total of discount
refundable_amount
numberRequiredThe amount that can be refunded
refunded_total
numberRequiredThe total amount refunded if the order is returned.
The details of the refunds created for the order.
The details of the region this order was created in.
region_id
stringRequiredThe ID of the region this order was created in.
The details of the line items that are returnable as part of the order, swaps, or claims
The details of the returns created for the order.
The details of the sales channel this order belongs to.
sales_channel_id
null | stringRequiredThe ID of the sales channel this order belongs to.
The details of the shipping address associated with the order.
shipping_address_id
stringRequiredThe ID of the shipping address associated with the order
The details of the shipping methods used in the order.
shipping_tax_total
null | numberRequiredThe tax total applied on shipping
shipping_total
numberRequiredThe total of shipping
The order's status
Default: pending
subtotal
numberRequiredThe subtotal of the order
The details of the swaps created for the order.
tax_rate
null | numberRequiredThe order's tax rate
tax_total
null | numberRequiredThe total of tax
total
numberRequiredThe total amount of the order
updated_at
DateRequiredThe date with timezone at which the resource was updated.
Was this section helpful?