Query order
GET https://{handle}.myshopline.com/admin/openapi/v20240301/orders.json
handle
: The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com
, the store handle is open001
.Query order details in batches based on request conditions
Query Parameters
- buyer_id stringOrder user idExample:
4201057495
- contract_ids stringSubscription contract ID, multiples separated by commas, up to 50 supportedExample:
3005619945158043247856
- created_at_max stringOrder creation time ( end ) ( format see ISO 8601 )Example:
2021-08-18T23:59:59+08:00
- created_at_min stringOrder creation time ( start ) ( format see ISO 8601 )Example:
2021-08-04T23:59:59+08:00
- email stringEmail of the user who placed the orderExample:
Washingtontest@gmail.com
- fields stringThe fields to be queried, separated by commas, do not pass all field information, currently all fields are returnedExample:
id
- financial_status stringPayment status: unpaid-unpaid; pending-pending; partially_paid-partially paid; paid-paid; partially_refunded-partially refunded; refunded-refunded;Example:
unpaid
- fulfillment_status stringShipping status, unshipped-unshipped; partial-partially shipped; shipped-shipped;Example:
unshipped
- hidden_order booleanWhether it is an archived order, true=archived order, false=unarchived order
- ids stringOrder numbers, separated by commas, up to 100Example:
"21050224312121887324667162, 21050224312121887324667164"
- limit integerQuery quantity limit, default 50, cannot exceed 100Example:
10
- location stringThe location (or POS trading point) where the goods in the order are fulfilled, supporting multiple locations , separated by ","Example:
5453386037065169090,5564834083287605454
- name stringCustom order numberExample:
D2034
- page_info stringThe encrypted request parameters are used for the previous page and the next page, and the field is directly parsed and accessed.Example:
7AFD7393C6E7CF18672C038477E2EF6A463464BDBAF766DD8F8CB8E0085F82419A94B80084BCDA0B838B3F13C302A2C9044E
- search_content stringSearch content, involving order number, payment serial number, express delivery number, product name, product SKU number, order amountExample:
D203
- since_id stringThe starting position of the order number ID of the data to be queriedExample:
21056199447626881527947685
- sort_condition stringSorting : format such as : order_at : desc , id : asc multi sorting and comma segmentation ;Sorting rules : such as order_at : desc , id : asc , first in order_at , and then in order to be order_at ; currently support order_at , id sortingcoExample:
order_at:desc
- status stringOrder status, open-processing, canceled-cancelled, any-including any status, including archived;Example:
open
- updated_at_max stringOrder update time ( end ) ( format see ISO 8601 )Example:
2021-08-18T23:59:59+08:00
- updated_at_min stringOrder update time ( start ) ( format see ISO 8601 )Example:
2021-08-04T23:59:59+08:00
Request Headers
- Content-Type requiredThe value of this field is fixed to
application/json; charset=utf-8
- Authorization string requiredThe access token for the API. Please refer to App authorization to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Response
- 200
- 401
- 429
For more information about status codes, see Http status code.
Response Headers
link
Contain the request parameters of the previous page and the next pagetraceId
traceId
Response Body
ordersobject[]
Datasheetsadjust_price stringAdjust the amount ( store currency amount ) , the balanced amount brought by the amount rounded up under the pos scenarioExample:8.00
adjust_price_setobject
Adjustment amount information based on store currency and transaction currencypresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
billing_addressobject
Billing address informationaddress1 stringDetailed address 1Example:Address 1
address2 stringDetailed address 2, optionalExample:Address 2
city stringCityExample:New York
company stringCompany NameExample:New company name
country stringCountryExample:USA
country_code stringCountry codeExample:US
first_name stringLast nameExample:Tom
last_name stringFirst nameExample:Washington
name stringFull nameExample:test1001
phone stringPhoneExample:13100000000
province stringProvinceExample:California
province_code stringProvince codeExample:4200006
zip stringPostal codeExample:92503
browser_ip stringClient IPExample:157.119.232.35
buyer_note stringBuyer's messageExample:message
cancel_reason stringSeller's reason for cancellationExample:I don't want to buy it.
cancelled_at stringOrder cancellation time ( end ) ( format see ISO 8601 ) , 2012-05-01T14 : 22 : 25-04 : 00Example:2012-05-01T14:22:25-04:00
cart_token stringshopping cart tokenExample:c2c4a58186b9d96395d7e6b5c2969577
checkout_id stringabandoned order idExample:2404785166526352972864
checkout_token stringCheckout page tokenExample:c2c4a58186b9d96395d7e6b5c2969577
client_detailsobject
Client Detailsbrowser_ip stringBrowser addressExample:157.119.232.35
session_hash stringMember session encryption informationExample:c2c4a58186b9d96395d7e6b5c2969577
user_agent stringClient ProxyExample:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Sa
companyobject
Company infoid stringCompany idExample:1005619945158043247856
location_id stringLocation idExample:3005619945158043247856
tax_registration_id stringTax registration idExample:213213
contract_seq stringSubscription contract numberExample:3005619945158043247856
created_at stringOrder creation time , system record ( format see ISO 8601 )Example:2021-08-16T08:27:57+00:00
credit_limitobject
credit paymentcredit_limit_currency stringCurrency of the credit limit, currently in store currencyExample:USD
is_credit_limit booleanWhether the order used credit payment true: Used false: Not usedExample:true
outstanding_credit_limit stringTotal credit limit occupied by the orderExample:1.00
total_credit_limit stringTotal credit limit used for the orderExample:1.00
currency stringTransaction currencyExample:"USD"
current_subtotal_price stringCurrent Product total ( store currency amount ) , Product totalExample:"78.0"
current_subtotal_price_setobject
Multi-currency information of the current commodity sum, the buyer's and seller's currency and the amount are the samepresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
current_total_discounts stringDiscount total ( store currency amount ) , accuracy 2 , marketing Discount + manual discountExample:"0.0"
current_total_discounts_setobject
presentment_moneyobject
Currency informationamount stringAmountExample:8.00
currency_code stringCurrency informationExample:USD
shop_moneyobject
Sell side amountamount stringAmount, Precision 2Example:8.00
currency_code stringCurrency codeExample:USD
current_total_duties_setobject
Current Product total dutypresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
current_total_price stringCurrent order total ( store currency amount ) , value logic : Product total-Discount total + shipping + taxExample:“60.0”
current_total_price_setobject
Multi-currency information of the current order total, the buyer's and seller‘s currency and the amount are the samepresentment_moneyobject
Currency informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amountamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
current_total_tax stringTotal tax ( store currency amount ) , product tax + shipping taxExample:"0.0"
current_total_tax_setobject
Multi-currency information of the sum of taxes, the currency and amount of buyers and sellers are the samepresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
customerobject
Buyer informationaddressesobject
Buyer address informationaddress1 stringDetailed address 1Example:Wanda
address2 stringDetailed address 2, optionalExample:65788
city stringCityExample:Yangquan City
country stringCountryExample:China
country_code stringCountry codeExample:CN
first_name stringLast nameExample:Tom
last_name stringFirst nameExample:Washington
name stringFull nameExample:D203
phone stringPhoneExample:13100000000
province stringProvinceExample:Shanxi Province
province_code stringProvince codeExample:asd
zip stringPostal codeExample:521000
area_code stringPhone area codeExample:+86
created_at stringBuyer creation time ( format see ISO 8601 )Example:2022-11-04T10:18:46+00:00
currency stringCurrencyExample:USD
email stringUser mailboxExample:Washingtontest@gmail.com
first_name stringFirst nameExample:Tom
id stringUser IDExample:4201057495
last_name stringLast nameExample:Washington
phone stringUser mobile phone numberExample:13100000000
updated_at stringBuyer update timeExample:2022-11-04T10:18:46+00:00
customer_locale stringBuyer country, language code + country name abbreviationExample:"enCN"
deduct_member_point_amount stringCurrent order membership credit amount ( store currency amount )Example:8.00
deduct_member_point_amount_setobject
Current order membership credit to the amount , multi-currency amount informationpresentment_moneyobject
Current order membership credit to the amount , market amount informationamount stringCurrent order membership credit to the marketplace amountExample:8.00
currency_code stringMarket currencyExample:CNY
shop_moneyobject
Current order membership credit amount , store amount informationamount stringCurrent order membership credit to the store amountExample:1.00
currency_code stringStore currencyExample:USD
discount_applicationsobject[]
discount informationallocation_method stringThe scope of distribution authorization 1) across (the value is distributed among all authorization rows) 2) each (the value applies to each authorization row) allocation_methodExample:across
code stringdiscount codeExample:82UD6BTPX9L2
description stringCustom discount descriptionExample:Custom discount description
target_selection string- explicit (discount is assigned to explicitly selected rows) 2) all (discount is assigned to all rows) 3) ENTITLED (discount is assigned only to rows for which it has permission)
Example:explicit
target_type string- line_item, shipping_line
Example:line_item
title stringAutomatic discount titleExample:Automatic discount title
type stringDiscount type, 1) manual 2) automatic 3) discount_codeExample:manual
value stringThe specific value of the discount (it can be N discount, or it can be a specific amount value, store currency amount)Example:2.01
value_type stringExplain the type of valueExample:fixed_amount
discount_codesobject[]
Promo code informationamount stringDiscount amount ( store currency amount ) , accuracy 2Example:8.00
amount_setobject
Discount marketplace amount informationpresentment_moneyobject
Marketplace amount informationamount stringDiscount amount , market amountExample:70.00
currency_code stringMarket currencyExample:CNY
shop_moneyobject
Store amount informationamount stringDiscount amountExample:10.00
currency_code stringStore currencyExample:USD
code stringPromo codeExample:KIN4GNAB2FRH
type stringType of discount, reduced amount; discount; free shipping; fixed price; the lowest price item is free; package price; the Nth item is discounted;Example:Reduction amount
email stringBuyer's mailbox, there must be one of the twoExample:hok@shoplineapp.com
financial_status stringPayment status, unpaid, authorized, pending, partially_paid, paid, partially_refunded, refundedExample:"paid"
fulfillment_status stringShipping status, fulfilled-shipped; partial-partially shipped; null-unshipped; Note: the returned enum value is different from the query enumeration value of the input parameterExample:"fulfilled"
fulfillmentsobject[]
Package informationcreated_at stringCreate time ( format see ISO 8601 )Example:2022-11-04T10:18:46+00:00
id stringPackage numberExample:22046737798141702810214336
line_itemsobject[]
Product listattribute stringProduct attributes : name-attribute value multiple comma " , " division like : color-red , size-xExample:red
fulfillable_quantity integerAvailable quantityExample:1
fulfillment_quantity integerThe number of shipmentsExample:1
fulfillment_service stringLogistics company nameExample:SF Express
fulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:Not shipped
grams doubleWeight ( grams )Example:100
id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:100
image_url stringproduct pictureExample:https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
location_id stringUnique code of pickup locationExample:5445886274929439997
name stringSKU title, same as titleExample:Product name
price stringCommodity price, precision 2Example:10.00
price_setobject
Product selling price , multi-currency amount informationpresentment_moneyobject
Marketplace amount informationamount stringProduct selling price , market currency priceExample:70.0
currency_code stringMarket currencyExample:CNY
shop_moneyobject
Store amount informationamount stringProduct selling price , store currency priceExample:10.00
currency_code stringCurrencyExample:USD
product_id stringSPU serial numberExample:16056761559984840457934011
quantity integerQuantity of items in the orderExample:1
requires_shipping booleanShipping or notExample:true
sku stringProduct code, barCodeExample:test-002
tax_linesobject[]
Tax informationprice stringTax, precision 2Example:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Currency informationamount stringDescription amountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringTax nameExample:taxes
taxable booleanTax or not?title stringProduct titleExample:Useful product
variant_id stringProduct SKU serial numberExample:18056761559987524812644011
variant_title stringCommodity attribute value, multiple divided by " / ", such as: "155 / red / large"Example:big
vendor stringSupplierExample:Supplier
name stringInvoice short numberExample:1032-F2
order_id stringOrder numberExample:21056577640603870897253153
shipment_status stringPackage trackingExample:fulfilled
status stringLogistics delivery status, success-shipped; cancelled-cancelled;Example:cancelled
tracking_company stringLogistics company nameExample:SF International
tracking_number stringThird party tracking numberExample:yun0001
tracking_url stringLogistics company URLExample:https://www.sf-international.com/
updated_at stringUpdate time ( format see ISO 8601 )Example:2022-11-04T10:18:46+00:00
hidden_order booleanWhether it is an archived order, true=archived order, false=unarchived orderid stringOrder number, system-defined numberExample:21050224312121887324667162
landing_site stringLink to record complete suffix informationExample:https://www.url.com
line_itemsobject[]
Order product snapshot informationattribute stringProduct attributes : name-attribute value multiple comma " , " division like : color-red , size-xExample:red
country_code_of_origin stringCountry of originExample:Country of origin
customized_attributesobject[]
Product custom attributeskey stringCustom attribute name keyExample:"businessType"
value stringProduct custom attributes value , such as : when key is businessType , value is 3 ( for gifts )Example:"3"
discount_allocationsobject[]
Marketing discount details in multiple currenciesamount stringDiscount detailed amount (store currency amount)Example:8.00
amount_setobject
Discount details in multiple currenciespresentment_moneyobject
Payment currencyamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Store currencyamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
discount_application_index integerIndicate the position in the discount detailsExample:1
dutiesobject[]
Duty informationcountry_code_of_origin stringCountry code of origin/shipping pointExample:USD
harmonized_system_code stringCustoms codeExample:A0023
id stringTariff numberExample:H2325
priceobject
Tariff multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
tax_linesobject[]
Tax details listprice_setobject
Multi-currency information of taxpresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.88
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
rate_percentage doubleTax rate (percentage value, i.e. rate * 100)Example:100
title stringTax titleExample:Tax title
fulfillable_quantity integerAvailable quantityExample:1
fulfillment_service stringLogistics company nameExample:SF International
fulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:fulfilled
gift_card booleanIs it a gift card product?Example:true
grams doubleWeight ( grams )Example:100
harmonized_system_code stringharmonized system codeExample:harmonized system code
id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:417
image_url stringproduct pictureExample:https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
location_id stringUnique code of pickup locationExample:5327026538935748524
name stringSKU title, same as titleExample:Product title
price stringProduct selling price ( store currency amount ) , accuracy 2Example:8.00
price_setobject
Commodity price, precision 2presentment_moneyobject
Product selling price , market currencyamount stringProduct selling price , market currency amountExample:80.00
currency_code stringMarket currencyExample:CNY
shop_moneyobject
Product selling price , store currencyamount stringProduct selling price , store currencyExample:10
currency_code stringMarket currencyExample:USD
product_id stringSPU serial numberExample:16056761559984840457934011
propertiesobject[]
Product customization informationadditional stringCustomized product additional fieldsExample:Additional fields
name stringCustom attribute nameExample:Attribute name
type stringAttribute type, text-character, the display format is name: value; picture-picture, the display type is name: get the rendered thumbnail through URLs; link-hyperlink, the display type is name: value, supports clicking on the link to jump to urls FirstExample:text
urls arrayURL resource listExample:https://www.url.com
value stringCustom attribute valuesExample:attribute value
quantity integerQuantity of items in the orderExample:1
requires_shipping booleanShipping or notExample:true
sku stringProduct code, barCodeExample:18056761559987524812644011
tags stringProduct tags (multiple commas separated)Example:watch
tax_linesobject[]
Tax informationprice stringTax ( store currency amount ) , accuracy 2Example:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringTax nameExample:taxes
type stringTax fee type, used to distinguish between commodity tax and freight tax. The enumeration value is as follows product_tax: commodity tax shipping_tax: freight taxExample:shipping_tax
taxable booleanTax or not?Example:true
title stringProduct titleExample:beautiful skirt
variant_id stringProduct SKU serial numberExample:18056761559987524812644011
variant_title stringCommodity attribute value, multiple divided by " / ", such as: "155 / red / large"Example:big
vendor stringSupplierExample:Supplier
locationsobject[]
Pick-up location addressaddress stringDetailed address 1Example:Address 1
address_add stringDetailed address 2Example:Address 22
city stringCityExample:Guangzhou
country stringCountryExample:China
country_code stringCountry codeExample:CN
district stringDistrict/CountyExample:Panyu District
location_id stringUnique code of pickup locationExample:5327026538935748524
name stringAddress nameExample:Wanda square
phone stringPhone number such as (555) 555-5555Example:13100000000
province stringProvinceExample:Guangdong Province
town stringTownship/TownExample:town
type stringLocation type. 1.posLocation: The store location where the order was created through the POS channel (it is recommended to use posLocationId, which will be abandoned later) 2.pickupLocation: When the delivery method of the order is self-pickup, the store location for self-pickup 3.productLocation: The inventory location of the goods in the order (It is recommended to use the location information in the product line, which will be abandoned later)Example:posLocation
zip stringPostal codeExample:521000
name stringStore custom order number, starting from 1001, you can set a prefixExample:test1001
note stringMerchant notesExample:Notes
note_attributesobject[]
Merchant note log, date contentcreate_time stringNote creation time ( format see ISO 8601 )Example:2022-11-04T10:18:46+00:00
name stringRemark source (seller ID)Example:Note source
value stringNotesExample:Notes
order_at stringOrder is single time ( format see ISO 8601 )Example:2021-08-16T08:27:57+00:00
order_source stringThe order source channel. Currently, this field only has a value for the POS channel, and the value is empty for other channels.Example:pos
order_status_url stringOrder status page URLExample:https://shoptest.myshoplinestg.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509
payment_detailsobject[]
Payment slip informationcreate_time stringPayment slip creation timeExample:2021-08-16T08:27:57+00:00
gateway stringPayment method nameExample:Mypay
pay_amount doublePayment amount ( store currency amount )Example:8
pay_channel stringPayment channelsExample:Paypal
pay_channel_deal_id stringExternal channel payment serial numberExample:pi_3MI897Hezv8FxjBO1uGxMPhX
pay_merchant_email stringPay Merchant Email AccountExample:Washingtontest@gmail.com
pay_merchant_id stringPayment merchants IDExample:4201057379
pay_merchant_order_id stringPayment merchant order numberExample:233445354566
pay_seq stringPayment slip numberExample:23057287797738260472676128
pay_status stringPayment order status, unpaid-unpaid; pending-paying; risking-risk control; paid-paid; paid_overtime-payment failed; paid_failed-payment failed;Example:unpaid
processed_at stringProcessed_at payment creation time , format : 2023-04-12T22 : 59 : 52+08 : 00Example:2023-04-12T22:59:52+08:00
settle_currency stringSettlement currencyExample:USD
settle_pay_amount doublePayment amount ( settlement currency amount )Example:8
status_code stringPayment status codeExample:RISK_PENDING
status_msg stringPayment order status code descriptionExample:PENDING_REVIEW
payment_gateway_names arrayPayment method list, payment method list used for this order, SLpaymentsExample:Paypal
payment_termsobject
Payment termscreated_at stringCreate timeExample:2024-06-05 08:00:00
due_in_days integerWhen the terms type is NET, the payment is due after how many days if the payment is not madeExample:2
id stringThe unique identifier (ID) that identifies this payment termExample:6497210673894431747
overdue booleanIs the payment term overdue: true/falseExample:true
payment_schedulesobject[]
A set of schedules associated with the payment termscompleted_at stringPayment completion dateExample:2024-06-05 08:00:00
due_at stringExpected payment dateExample:2024-06-05 08:00:00
issued_at stringThe time when the payment terms are triggered. When the type is FIXED, it is the saved time (if the draft order becomes an order, the order inherits the draft order time); when the type is FULFILLMENT/RECEIPT, it is the effective time of the condition; when the type is NET, it is the saved time (if the draft order becomes an order, the order inherits the draft order time).Example:2024-06-05 08:00:00
payment_terms_name stringThe name of the payment terms template used to create the payment terms.Example:Due on receipt
payment_terms_type stringThe type of payment terms template used to create the payment terms: FIXED: Merchant specified date FULFILLMENT: Fulfillment (Shipment) completion date NET: Fixed condition date RECEIPT: Billing sent date UNKNOWN: Unknown typeExample:RECEIPT
updated_at stringUpdate timeExample:2024-06-05 08:00:00
phone stringBuyer contact information, there must be one of the twoExample:18978789878
po_number stringPurchase order number recorded on the order in B2B scenariospos_location_id stringLocation IDExample:5327026538935748524
presentment_currency stringBuy side currency, same as sell side currencyExample:USD
processed_at stringOrder completion time, format: 2023-04-12T22:59:52+08:00Example:2023-04-12T22:59:52+08:00
processed_user_id stringOrder creatorExample:4201057495
referring_site stringExternal linkExample:https://www.referringSite.com
refundsobject[]
Refund listcreated_at stringRefund order creation time ( format see ISO 8601 )Example:2021-08-16T08:27:57+00:00
id stringRefund IDExample:2605659027312156877634
note stringRefund NotesExample:Refund Notes
order_adjustmentsobject[]
Adjustment order information is used to record two types of information: 1) Refund information related to shipping costs (type is shipping_refund) 2) The difference between the automatically calculated refund amount and the actual refund amount (type is refund_discrepancy)amount stringAdjust the single amount ( store currency amount )Example:8.00
amount_setobject
Adjust the single amountpresentment_moneyobject
Display amount of store adjustment orderamount doubleStore adjustment of displayExample:8
currency_code stringStore adjustment of display amount currencyExample:USD
shop_moneyobject
Store adjustment amountamount doubleStore adjustment amountExample:8
currency_code stringStore adjust the amount currencyExample:USD
id stringRefund adjustment single idExample:RAP5570565996182771228
kind stringAdjustment order type: refund_discrepancy, shipping_refundExample:refund_discrepancy
order_id stringOrder numberExample:21056577640603870897253153
reason stringReason for adjustment: Refund discrepancy, shipping_refundExample:Refund discrepancy
refund_id stringRefund single idExample:2605659027312156877634
tax_amount stringAdjust the single tax amount ( store currency amount )Example:8.00
tax_amount_setobject
Adjust single tax amount (multi-currency amount)presentment_moneyobject
Store adjustment single display tax amountamount doubleStore adjustment single display tax amountExample:8
currency_code stringStore adjustment single display tax currencyExample:USD
shop_moneyobject
Store adjusts the amount of single taxamount doubleStore adjusts the amount of single taxExample:8
currency_code stringStore adjustment of single tax currencyExample:USD
order_id stringOrder numberExample:21056577640603870897253153
processed_at stringUpdate time ( format see ISO 8601 )Example:2021-08-16T08:27:57+00:00
refund_line_itemsobject[]
Refund Detailsid stringRefund order numberExample:2605659027312156877634
line_itemobject
Descriptionattribute stringProduct attributes : name-attribute value multiple comma " , " division like : color-red , size-xExample:red
fulfillable_quantity integerAvailable quantityExample:1
fulfillment_service stringLogistics company nameExample:SF International
fulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:fulfilled
grams doubleWeight ( grams )Example:1
id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:403
name stringSKU title, same as titleExample:18056761559987524812644011
price stringProduct selling price ( store currency amount ) , the amount of precision 2 stringExample:8.00
price_setobject
Product selling price , market currency informationpresentment_moneyobject
Product selling price , market currency informationamount stringProduct selling price , market currency amountExample:10.00
currency_code stringMarket currencyExample:USD
shop_moneyobject
Current order membership points to deduct the amount , store currency informationamount stringProduct selling price , store currency amountExample:70.00
currency_code stringStore currencyExample:CNY
product_id stringSPU serial numberExample:16056761559984840457934011
quantity integerQuantity of items in the orderExample:1
requires_shipping booleanShipping or notExample:true
sku stringProduct code, barCodeExample:sku name
tax_linesobject[]
Tax informationprice stringTax ( store currency amount ) , accuracy 2Example:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Buy side currencyamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringHeadlineExample:Headline
taxable booleanTax or not?Example:true
title stringProduct titleExample:Product title
variant_id stringProduct SKU serial numberExample:18056761559987524812644011
variant_title stringCommodity attribute value, multiple divided by " / ", such as: "155 / red / large"Example:big
vendor stringSupplierExample:Supplier
line_item_id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:406
quantity integerQuantity, quantity of goodsExample:1
restock_type stringInventory return type, no_restock - not returned, cancel - canceled, return - returnedExample:cancel
subtotal doubleTotal refund amount ( store currency amount ) , accuracy 2Example:8
subtotal_setobject
Total refund amount, multi-currency information, same on seller and buyer sidepresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
total_tax doubleTax amount for refund Product ( store currency amount ) , accuracy 2Example:8
total_tax_setobject
Total tax amount, multi-currency informationpresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side currencyamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
transactionsobject[]
Refund transaction informationamount stringRefund amount , accuracy 2Example:8.00
created_at stringCreation timeExample:2021-08-16T08:27:57+00:00
currency stringCurrencyExample:USD
id stringRefund IDExample:2605659027312156877634
kind stringTransaction type (authorization, capture, sale, void, refund)Example:void
order_id stringOrder numberExample:21056577640603870897253153
processed_at stringRefund order update timeExample:2021-08-16T08:27:57+00:00
settle_amount stringRefund amount ( settlement currency ) , accuracy 2Example:8.00
settle_currency stringSettlement currencyExample:USD
status stringHandling status, pending, failure, success, and errorExample:success
user_id stringBuyer IDExample:4201057495
user_id stringUser IDExample:4201057495
service stringShipping method type, pickUp means pick up in store.Example:pickUp
shipping_addressobject
Shipping addressaddress1 stringaddress1Example:Address 1
address2 stringDetailed address 2, optionalExample:Address 2
city stringCityExample:City
company stringCompany NameExample:Company Name
country stringCountryExample:China
country_code stringCountry codeExample:CN
delivery_store_code stringStore IDExample:1001
delivery_store_name stringStore nameExample:Store name
district stringDistrictExample:Panyu District
district_code stringDistrict codeExample:521000
first_name stringLast nameExample:Tom
last_name stringFirst nameExample:Washington
latitude stringlatitudeExample:15
longitude stringlongitudeExample:41
name stringFull nameExample:Tom.Washington
phone stringPhoneExample:13100000000
province stringProvinceExample:Guangdong Province
province_code stringProvince codeExample:510000
zip stringPostal codeExample:521000
shipping_linesobject[]
Logistics informationcode stringLogistics numberExample:SF
discount_allocationsobject[]
Discount detailsamount stringDiscount amount ( store currency amount ) , accuracy 2Example:8.00
amount_setobject
Discount multi-currency amountspresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Store side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
discount_application_index integerposition in discount detailsExample:1
discounted_price stringDiscount amount ( store currency amount ) , accuracy 2Example:8.00
discounted_price_setobject
Discount multi-currency amountspresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Store side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
phone stringPhoneExample:13100000000
price stringLogistics shipping fee ( store currency amount ) , accuracy 2Example:8.00
price_setobject
Logistics freight multi-resource informationpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Store side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
requested_fulfillment_service_id stringTransportation service codeExample:-
shipping_price stringOriginal freight amount (non-discount amount, store currency amount)Example:8.00
shipping_price_setobject
Original shipping value ( non-discounted amount ) , multi-currency amount informationpresentment_moneyobject
Buyer side amount informationamount stringAmount , accuracy 2Example:8.00
currency_code stringMarket currencyExample:CNY
shop_moneyobject
Store side amount informationamount stringAmount , accuracy 2Example:1.00
currency_code stringStore currencyExample:USD
source stringFreight sourceExample:source
tax_linesobject[]
Logistics tax listprice stringTax ( store currency amount )Example:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringTax nameExample:Tax name
title stringLogistics nameExample:SF International
source_identifier stringID used to identify business processingExample:-
source_name stringType filtering to identify business processesExample:-
source_url stringThe HTML format information of the link to jump to the storeExample:-
status stringOrder status open=processing, canceled-cancelledExample:open
store_id stringstore IDExample:1644828244663
subtotal_price stringProduct discount price total ( store currency amount ) , Product total price-marketing Discount-artificial discountExample:8.00
subtotal_price_setobject
Multi-currency information of total product price after discountpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:1.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
tags stringorder labelExample:Label
tax_linesobject[]
Tax informationname stringTax nameExample:Tax name
price stringTax ( store currency amount ) , accuracy 2Example:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringTax nameExample:Tax name
tax_number stringTINExample:-
tax_type stringTypes of tax IDExample:-
taxes_included booleanDoes the total include tax?Example:true
total_discounts stringDiscount total ( store currency amount ) , marketing Discount + manual discountExample:8.00
total_discounts_setobject
Multi-currency information of discount totalpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
total_line_items_price stringProduct total price of original ( store currency amount ) , accuracy 2Example:8.00
total_line_items_price_setobject
Sum of original price of goods, multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
total_outstanding stringThe total amount of payment is total ( store currency amount ) , accuracy 2Example:8.00
total_shipping_price_setobject
Order shipping sum, multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
total_tax stringTotal tax ( store currency amount ) , accuracy 2 , product tax + shipping taxExample:8.00
total_tax_setobject
Total taxes and fees, multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
total_tip_received stringTip ( store currency amount ) , accuracy 2Example:8.00
total_tip_received_setobject
Current order membership credit to the amount , multi-currency amount informationpresentment_moneyobject
Current order membership points to deduct the amount , market currency informationamount stringCurrent order membership points to deduct the amount , market currencyExample:10.00
currency_code stringMarket currencyExample:USD
shop_moneyobject
Current order membership points to deduct the amount , store currency informationamount stringCurrent order membership credit amount , store currency amountExample:70.00
currency_code stringStore currencyExample:CNY
total_weight doubleTotal product weight ( g )Example:1
updated_at stringOrder update time , ( format see ISO 8601 )Example:2021-08-16T08:27:57+00:00
user_id stringBuyer IDExample:4201057495
utm_parameters stringAd business-specific parameters used for ad attribution calculationExample:-
API Explorer
Debugger
Was this article helpful to you?
Error loading component.