Order Properties

🔒

Requires order access scope.

Order

Order Properties

ObjectFieldsTypeDesc
Orderidstringorder id
numberstringOrder's number(more convenient for merchants)
notestringmerchant input for taking a note
statusstringOrder status
financial_statusstringFinancial status
fulfillment_statusstringFulfillment status
email_statusstringRecovery email status:
waiting means “pending to send”
send means “sent”
cancel_reasonstring
recovery_statusstringRecovery status:
waiting means “to be recalled”
sending means “sent”
recalling means “recall in progress”
failed means “recall failed”
success means “recall successful”
payment_methodstringPayment method,such as apple_pay,cod,credit_card,online etc.
discount_codestring@Deprecated.
discount_applicationsstringDetails of discounts
customer_notestringCustomer's order note.
landing_sitestringFirst visited page
buyer_accepts_marketingboolWhether the customer accepts the marketing promotion
currencystringCurrency code
total_pricestringTotal price of the order (final price paid by the customer), numeric string, for example: "9.99",
sub_totalstringTotal price of order's products , numeric string, for example: "9.99" .If order.config.product_tax_included is true, the amount includes total_tax (not includes shipping_tax_total), otherwise it does not。order.sub_total = sum(line_item.total_price) = sum(line_item.price*line_item.quantity)
total_discountstringTotal discount price of order, numeric string, for example: "9.99", include product discount,shipping discount and payment discount.
total_taxstringSales tax on the order or Tax on the order product items., numeric string, for example: "9.99"
total_shippingstringOrder logistics total fee, numeric string, for example: "9.99"
code_discount_totalstringOrder discount code discount price, numeric string, for example: "9.99"
line_item_discount_totalstring@Deprecated.total Product discount, numeric string, for example: "9.99",includes code_discount_total
gift_card_totalstringGift card discount amount, numeric string, for example: "9.99"
total_refund_pricestringTotal refund amount has been successfully processed, numeric string, for example: "9.99"
total_refund_discountstring@Deprecated.Total discount refunded, numeric string, for example: "9.99"
additional_totalstringTotal amount of additional charges, numeric string, for example: "9.99"
addtional_pricesarray of objectthe detail list of additional charges
addtional_prices.namestring
addtional_prices.pricestring
total_refund_taxstring@Deprecated.
shipping_tax_totalstringTotal shipping tax amount for the order.
customer_deleted_atstringTime of user deletion
created_atstring
updated_atstring
deleted_atstringDeletion time
canceled_atstring
placed_atstringPayment time
total_tip_receivedstring
tagsstringMerchant or system tags the order
browser_ipstringVisitor IP address
last_landing_urlstringCustomer last visited page
total_paidstringTotal payment amount
sourcestringProduct link
source_nameobjectReferrer
source_name.datastring
source_name.created_atstring
last_referrer_showobjectLast interaction source
last_referrer_show.datastring
last_referrer_show.created_atstring
shipping_lineobjectShipping plan
shipping_line.namestring
customerCustomerCustomer details
shipping_addressAddressDelivery address
billing_addressAddressBilling address
payment_linePaymentLinePayment details
line_itemsarray of LineItemList of purchased products
fulfillmentsarray of FulfillmentList of fulfillments
logistics_codestringLogistics code
refer_infostringVisit information
configOrderConfigOrder configuration information
sales_platformstringSales platform
checkout_urlstringThe checkout page url for the order with storeDomain
location_lineLocationLineMerchant's warehouse address.
invoice_urlstringThe checkout page url for the order without storeDomain

LineItem(means product)

FieldTypeDesc
idstring
product_idstringProduct's ID
variant_idstringVaraint's ID
product_titlestringProduct title
product_handlestringProduct SEO link
variant_titlestringVariant title
quantityintegerQuantity purchased
notestring
fulfillment_statusstringFulfillment status
skustringThe SKU of the variant
weightstringProduct weight
weight_unitstringWeight unit
vendorstringVendor
product_urlstringProduct URL for customers
compare_at_pricestringCompare at price
imagestringVariant image link
pricestringPrice
totalstringTotal amount
propertiesarray of objectsProperties, corresponding to options of the variant
properties.namestringProperty name, corresponds to option name
properties.valuestringProperty value, corresponds to option value
custom_propertiesmap[string]stringCustom properties
refund_quantityinteger@Deprecated.Refund quantity
refund_totalstring@Deprecated.Refund total amount
requires_shippingbooleanRequires shipping or not
discount_applicationsintegerShipping quantity

PaymentLine

FieldTypeDesc
payment_channelstringPayment channel
payment_methodstringPayment method
transaction_nostringTransaction number
merchant_idstringMerchant ID
merchant_emailstringMerchant email
paid_totalstringTotal amount paid via this channel
payment_namestringPayment channel name

OrderConfig

FieldTypeDesc
pay_typestringPayment type
product_tax_includedbooleanWhether the product includes tax
requires_shippingbooleanWhether shipping is required
checkout_business_typeintegerCheckout business type
checkout_template_typeintegerCheckout template type
market_settingMarketSettingMarket settings

MarketSetting

FieldTypeDesc
primary_market_langstringPrimary market language
market_langstringMarket language, for example: en-US
market_idstringMarket configuration ID
market_currencystringMarket currency code, for example: USD
market_countrystringMarket country, for example: US
market_currency_symbolMarketCurrencySymbolMarket currency symbol
market_base_idstringMarket base ID
market_base_currencystringMarket base currency, for example: USD
market_base_currency_symbolMarketCurrencySymbolMarket base currency symbol
primary_market_idstringPrimary market ID
primary_market_currencystringPrimary market currency code, for example: USD
primary_market_currency_symbolMarketCurrencySymbolPrimary market currency symbol
market_price_settingMarketPriceSettingMarket price settings

MarketCurrencySymbol

Field NameField TypeDescription
codestringCurrency code, for example: USD
valstringCurrency symbol, for example: $
leftstringContent displayed to the left of the number, for example: $
rightstringContent displayed to the right of the numbe

MarketPriceSetting

FieldFieldDesc
local_currency_enabledbooleanLocal currency enable status
custom_rate_enabledbooleanCustom rate enable status
custom_ratenumberCustom rate, primary market currency -> market base currency
ratenumberprimary market currency -> market base currency / local currency
back_ratenumbermarket base currency / local currency -> primary market currency
actual_ratenumberActual exchange rate, primary market currency -> market base currency / local currency
base_to_localintegermarket base currency -> local currency
adjustintegerPrice adjustment
price_round_enabledbooleanEnable price rounding

Order Status

Statusdesc
openedOrder successfully created
canceledCancellation of unpaid order
placedCompleted paid orders
finishedThe scenarios where the order is in the finished state:

1. All items in the order have been received
2. Order cancelled after payment
3. Full refund of order amount with all items deleted
4. Full refund of order amount with all items returned

Financial Status

StatusDesc
waitingPending payment
payingPayment Processing
authorizedAuthorized
partially_paidPartial Payment (Gift Card Used)
paidPayment Received
cancelledPayment Cancelled
failedPayment Failed
refundingRefund Processing
refund_failRefund Failed
refundedFully Refunded
partially_refundedPartial Refund

Fulfillment Status

StatusDesc
initialledInitial status, order unpaid
waitingAwaiting shipment
cancelledCancel shipment
partially_shippedPartial shipment
shippedFull shipment
partially_finishedPartial receipt
finishedFull receipt
returningReturn in progress
partially_returnedPartial return
returnedFull return

Refund


Refund properties

FieldTypeDesc
idstring
order_idstringOrder ID
notestring
refund_pricestringtotal refund amount by buyer input
currencystring
created_atstring
updated_atstring
refund_line_itemsarray of RefundLineItem
payment_detailsarray of PaymentDetail
refund_shippingstringShipping included in the refund amount
refund_shipping_taxstringShipping tax is included in the refund amount
refund_methodstringRefund method:
none - Unknown,
general -
customize -
refund_statusstringRefund status:
pending -
failed -
finished -

RefundLineItem

FieldTypeDesc
line_item_idstringrefund line item id
refund_quantityintegerQuantity to be refunded
line_itemarray of LineItemOrder line items
taxstringContributory tax on goods to be returned
discountstringActual refund of discount charges on goods
sub_totalstringTotal price of product of line_item
totalstringThe actual refund of the amount paid for the goods
delete_quantitystringQuantity for refund before shipping.

PaymentDetail

FieldTypeDesc
payment_channelstringRefund payment channel
payment_methodstringRefund payment method
refund_pricestringChannel refund amount
finished_atstringRefund Completion time RFC3339 Time does not exist is an empty string