Create an order
POST https://{handle}.myshopline.com/admin/openapi/v20260301/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 .Create an order.
Request Headers
- Content-Type string requiredThe field must be set to the fixed value
application/json; charset=utf-8. - Authorization string requiredThe access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Request Body
orderobject required
Order information.billing_addressobject
The address for sending billing invoices.address1 stringThe first line of the address. This typically includes information such as the street address or a post office box number.Maximum length: 256Example:Xiaoguwei Streetaddress2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Maximum length: 256Example:Apartment 5area stringThe district or county in the address.Maximum length: 64Example:Panyu Districtarea_code stringThe code for the district or county in the address.Example:510007city stringThe city in the address.Maximum length: 64Example:Guangzhou Citycity_code stringThe code for the city in the address.Example:510000company stringThe company name of the billing recipient.Example:Company Namecountry stringThe country or region in the billing address.Maximum length: 64Example:Chinacountry_code stringA two-letter country or region code that follows the ISO 3166-1 standard, used to identify a specific country or region in the billing address.Example:USemail stringThe email of the billing recipient.Example:test001@Gmail.comfirst_name stringThe first name of the billing recipient.Example:Tomlast_name stringThe last name of the billing recipient.Example:Washingtonphone stringThe phone number of the billing recipient.Example:13903004000province stringThe province in the address.Example:Guangdong Provinceprovince_code stringThe code for the province in the billing address, which can be a custom code or a two-digit ISO 3166-1 international code.Example:4220006same_as_receiver booleanIndicates whether thebilling_addressis the same as theshipping_address.true: Indicates that both addresses are the same.false: Indicates that the addresses are different.
If this parameter is set totrue, other parameters underbilling_address, except for this parameter, do not need to be provided.zip stringThe postal code information of the address.Example:510036buyer_note stringBuyer's message.Example:messagecompany_location_id stringCompany location ID, used to create a B2B order.Example:3232423438438currency stringThe currency used by the buyer to place an order. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard.Example:USDcustomerobject
Buyer information.area_code stringThe area or country code for the phone number.Example:+86email stringThe email of the buyer.Example:test001@Gmail.comfirst_name stringThe first name of the buyer.Example:Tomid stringBuyer's ID.Maximum length: 64Example:4201057495last_name stringThe last name of the buyer.Example:Washingtonphone stringThe phone number of the buyer.Example:13903004000customer_locale stringBuyer's language code + country or region code. The language code follows the ISO 639 standard. Country or region code follows the ISO 3166-1 standard.Example:enCAexchange_rate stringThe exchange rate between the order currency and the store currency.Example:7.1245financial_status stringThe payment status of the order. Valid values are:unpaid: order not paidpartially_paid: order partially paidpaid: order paid
Default value:unpaidCaution: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order creation will fail and an errorfinancial_status is invalidwill be triggered.fulfillment_status stringThe shipment status of the order. Valid values are:unshipped: order not shippedshipped: order shipped
Default value:unshippedCaution: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order creation will fail and an errorfulfillment_status is invalidwill be triggered.inventory_behaviour stringThe inventory processing method. Valid values are:bypass: skip inventory processingdecrement_ignoring_policy: deduct inventory regardless of the inventory policy configured by the merchantdecrement_obeying_policy: deduct inventory according to the inventory policy configured by the merchant
line_itemsobject[] required
List of order product snapshot information.Maximum size: 100discount_priceobject
Product custom discount details.amount stringDiscount amount. The value is rounded to two decimal places.Example:1.00title stringDiscount name.Example:Discount namelocation_id stringProduct storage location ID.Example:5445886274929439997price stringThe product price amount. The value is rounded to two decimal places.Example:3.25product_id stringSPU serial number.Example:16056761559984840457934011propertiesobject[]
A list of product customization information.name stringCustom attribute name.Example:attribute nameshow booleanWhether the customized information is visible:true: visiblefalse: invisible Default value:false
type stringCustom information type. Valid values are:text: text typepicture: picture typelink: hyperlink type
urls arrayURL resource list.- If
typeispicture, thumbnails are rendered via theurlsvalues. - If
typeislink, the hyperlink is the first URL in theurlsvalues.
Example:["[\"https://www.url.com\"]"]value stringCustom attribute value.Example:attribute valuequantity longThe quantity of the product.Example:1requires_shipping booleanWhether the product requires shipping.true: shipping requiredfalse: shipping not required
shipping_line_title stringThe title of the shipping plan that the product line matches. This field is required when shipping_lines is passed.tax_lineobject
The custom product tax information.If you specify this parameter, you must specify its child parametersprice,rate, andtitle. The actual tax charge is based on the price parameter.Iftax_lineis not provided, the shipping is tax-exempt by default.price stringThe tax amount. The actual tax collected on the product is based on this parameter value. Theratevalue is for display only.Example:3.25rate stringThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.title stringThe title for the tax description, for display only.Example:Tax nametaxable booleanWhether the product is subject to tax.true: Tax is required.false: No tax is required.
Default value:truetitle stringProduct title.Example:beautiful skirtvariant_id stringA unique code assigned to a distinct product in inventory.Example:18056761559987524812644011market_region_country_code stringThe country or region code of the market where the order was placed. Follows the ISO 4217 standard.Example:USname stringOrder number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin.Example:D101note stringOrder remarks.Maximum length: 50DEPRECATED:This parameter is deprecated from API version v20210901.Example:Notesnote_attributesobject[]
A list of merchant note logs.name stringMerchant ID, indicating the note source.Example:Note sourcevalue stringNote content.Example:Notesorder_note stringMerchant order notes.Maximum length: 50Example:Notesprice_infoobject required
Price information.current_extra_total_discounts stringOrder discount amount, excluding discounts from discount codes. The value is rounded to two decimal places.Example:8.00taxes_included booleanIndicates whether this order includes taxes.true: including taxfalse: excluding tax
total_shipping_price stringThe total shipping fee for the order, displayed in the store currency. The value is rounded to two decimal places.Example:8.00send_fulfillment_receipt booleanWhether to send order shipping email.true: sendfalse: do not send
send_receipt booleanWhether to send order confirmation email.true: sendfalse: do not send
shipping_addressobject
The address used for receiving packages.address1 stringThe first line of the address. This typically includes information such as the street address or a post office box number.Maximum length: 255Example:Xiaoguwei Streetaddress2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Maximum length: 255Example:Apartment 5area stringThe district or county in the address.Maximum length: 64Example:Panyu Districtarea_code stringThe code for the district or county in the address.Example:510006city stringThe city in the address.Maximum length: 64Example:Guangzhou Citycity_code stringThe code for the city in the address.Example:510000company stringThe company name of the recipient.Example:Company Namecountry stringThe country or region in the address.Maximum length: 64Example:Chinacountry_code stringA two-letter country or region code that follows the ISO 3166-1 standard, used to identify a specific country or region in the address.Example:CNemail stringThe email of the recipient.Example:test001@Gmail.comfirst_name stringThe first name of the recipient.Maximum length: 64Example:Tomlast_name stringThe last name of the recipient.Maximum length: 64Example:Washingtonlatitude stringThe latitude where the address is located.Example:43longitude stringThe longitude where the address is located.Example:34phone stringThe phone number of the recipient.Example:13903004000province stringThe province in the address.Example:Guangdong Provinceprovince_code stringThe code for the province in the address, which can be a custom code or a two-digit ISO 3166-2 international code.Example:4220006zip stringThe postal code information of the address.Example:510036shipping_lineobject
Shipping fee information.code stringLogistics number.Example:SFprice stringShipping fee amount. The value is rounded to two decimal places.Example:3.25tax_lineobject
The custom product tax information.If you specify this parameter, you must specify its child parametersprice,rate, andtitle. The actual tax charge is based on the price parameter.Iftax_lineis not provided, the shipping is tax-exempt by default.price stringThe tax amount. The actual tax collected on the product is based on this parameter value. Theratevalue is for display only.Example:100rate stringThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.title stringThe title for the tax description, for display only.Example:Tax nametitle stringShipping fee name.Example:Shipping nameshipping_linesobject[]
Shipping linesprice stringShipping amounttax_lineobject
Shipping tax detailsprice stringShipping amountrate stringThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.title stringTax nametitle stringShipping nametransaction_listobject[]
A list of payments.amount stringPayment amount. The value is rounded to two decimal places.Example:3.25gateways stringPayment channel used for the payment.Example:PayPalstatus string requiredPayment status. Valid values are:unpaid: unpaidfailure: payment failedsuccess: payment successfulerror: payment error
Example:stringtransactionsobject
Payment information.id stringPayment method ID.Example:424243
Status Codes
- 200
- 401
- 429
For the complete list of codes and messages, see Http status code.
Response Headers
traceId
A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
Response Body
orderobject
Order details.adjust_price stringThe amount discrepancy due to rounding adjustments in POS transactions, expressed in the store currency.Example:7.23adjust_price_setobject
The amount discrepancy due to rounding adjustments in POS transactions, displayed in both the buyer currency and the store currency.presentment_moneyobject
The amount discrepancy information presented to the buyer.amount stringThe adjusted price amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The amount discrepancy information recorded by the merchant.amount stringThe adjusted price amount. The value is rounded to two decimal places.Example:3.25billing_addressobject
The address for sending billing invoices.address1 stringThe first line of the address. This typically includes information such as the street address or a post office box number.Example:Xiaoguwei Street,address2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Example:Apartment 5city stringThe city in the address.Example:Guangzhou Citycompany stringThe company name of the billing recipient.Example:new companycountry stringThe country or region in the address.Example:Chinacountry_code stringA two-letter country or region code that follows the ISO 3166-1 standard, used to identify a specific country or region in the address.Example:CNfirst_name stringThe first name of the billing recipient.Example:Tomlast_name stringThe last name of the billing recipient.Example:Washingtonphone stringThe phone number of the billing recipient.Example:13100000000province stringThe province in the address.Example:Guangdong Provinceprovince_code stringThe code for the province in the billing address, which can be a custom code or a two-digit ISO 3166-2 international code.Example:4200006standard_province_code stringThe code for the province in the billing address, which is a two-digit ISO 3166-2 international code.This differs fromprovince_code- theprovince_coderesponse field uses a custom code.zip stringThe postal code information of the address.Example:510000created_at stringThe date and time when the order was created. Format: ISO 8601.Example:2021-08-16T08:27:57+00:00currency stringTransaction currency. A three-letter currency code that follows the ISO 4217 standard.Example:USDcurrent_subtotal_price stringThe total amount of products, calculated by multiplying the unit price by the quantity and displayed in the store currency.Example:7.12current_subtotal_price_setobject
The total amount of products, calculated by multiplying the unit price by the quantity and displayed in both the buyer currency and the store currency.presentment_moneyobject
The order price information presented to the buyer.amount stringThe order amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The order price information recorded by the merchant.amount stringThe order amount. The value is rounded to two decimal places.Example:3.25current_total_discounts stringThe total discount amount in the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.Example:0.25current_total_discounts_setobject
The total discount amount displayed in both the buyer currency and the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.presentment_moneyobject
The total discount amount information presented to the buyer.amount stringThe total discount amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The total discount amount information recorded by the merchant.amount stringThe total discount amount. The value is rounded to two decimal places.Example:3.25current_total_duties_setobject
The total customs duties for the products, displayed in both the buyer currency and the store currency.presentment_moneyobject
The total customs duties information for the products presented to the buyer.amount stringThe duty amount. The value is rounded to two decimal places.Example:8.88shop_moneyobject
The total customs duties information for the products recorded by the merchant.amount stringThe duty amount. The value is rounded to two decimal places.Example:8.88current_total_price stringThe total order amount, displayed in the store currency.Example:1000.25current_total_price_setobject
The total order amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The order price information presented to the buyer.amount stringThe total order amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The order price information recorded by the merchant.amount stringThe total order amount. The value is rounded to two decimal places.Example:3.25current_total_tax stringThe total tax amount, displayed in the store currency.Example:2.41current_total_tax_setobject
The total tax amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The tax information presented to the buyer.amount stringThe tax amount. The value is rounded to two decimal places.Example:1.03shop_moneyobject
The tax information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:1.03customerobject
Buyer information.area_code stringThe area or country code for the phone number.Example:+86email stringThe email of the buyer.Example:test001@Gmail.comfirst_name stringThe first name of the buyer.Example:Tomid stringBuyer's ID.Example:4201057495last_name stringThe last name of the buyer.Example:Washingtonphone stringThe phone number of the buyer.Example:13100000000deduct_member_point_amount stringThe amount deducted from the order using member points, expressed in the store currency and rounded to two decimal places.Example:3.25deduct_member_point_amount_setobject
The amount deducted from the order using member points, displayed in both the buyer currency and the store currency.presentment_moneyobject
The deduction amount information presented to the buyer.amount stringThe deduction amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The deduction amount information recorded by the merchant.amount stringThe deduction amount. The value is rounded to two decimal places.Example:3.25discount_codesobject
Promo code information.amount stringDiscount amount in the store currency. The value is rounded to two decimal places.Example:3.25code stringPromo code.Example:82UD6BTPX9L2type stringType of discount. Valid values are:减金额: amount reduction打折: offer a discount免运费: free shipping加价品: add-on purchase deal任意N件优惠价: discount for purchasing any N itemsA+B组合优惠价: discount for purchasing the product A and B combo赠品: free gift固定售价: fixed price最低价商品免费: lowest-priced product free打包价: package price第N件打折: discount on the Nth item买x送y: buy x and get y free自定义: custom discount
Tip: The returned enum values are in Chinese.email stringBuyer's email.Example:test001@Gmail.comfinancial_status stringOrder payment status. Valid values are:unpaid: order not paidauthorized: order payment has been authorizedpending: order payment in progresspartially_paid: order partially paidpaid: order paidpartially_refunded: order partially refundrefunded: order refund
id stringOrder ID, system-defined number.Example:21050224312121887324667162, 21050224312121887324667164line_itemsobject[]
A list of order product snapshot.attribute stringThe option information of the product variant, composed of the variant name and the option value.Example:redcountry_code_of_origin stringCountry or region code indicating the place of origin or shipping origin. Format: ISO 3166-1.Example:USdutiesobject[]
A list of duty information.country_code_of_origin stringCountry or region code indicating the place of origin or shipping origin. Format: ISO 3166-1.Example:USharmonized_system_code stringHarmonized system code, used to categorize a product in international trade.Example:D2314244id stringTariff number.Example:3155232priceobject
The duty amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The duty amount information presented to the buyer.amount stringThe duty amount. The value is rounded to two decimal places.Example:8.88shop_moneyobject
The duty amount information recorded by the merchant.amount stringThe duty amount. The value is rounded to two decimal places.Example:8.88tax_linesobject[]
A list of tax information.price_setobject
The tax amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The tax amount information presented to the buyer.amount stringThe tax amount. The value is rounded to two decimal places.Example:8.88shop_moneyobject
The tax amount information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:8.88rate doubleThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.rate_percentage doubleThe tax rate as a percentage numerical value, rounded to two decimal places. For example, a 2% tax rate is represented as2.00. This field value is for display only.title stringThe title for the tax description, for display only.Example:tariffharmonized_system_code stringHarmonized system code, used to categorize a product in international trade.Example:harmonized system codeid stringThe ID of the product snapshots table, generated by the system. Combined with theorder.id, it uniquely identifies a product.Example:3452image_url stringThe URL address that stores the product image.Example:https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969name stringSKU title, same astitle.Example:skirtprice stringThe product price in store currency. The value is rounded to two decimal places.Example:100price_setobject
The product price, displayed in both the store currency and the buyer currency.presentment_moneyobject
The product price information presented to the buyer.amount stringThe product price. The value is rounded to two decimal places.Example:1.03shop_moneyobject
The product price information recorded by the merchant.amount stringThe product price. The value is rounded to two decimal places.Example:1.03product_id stringSPU serial number.Example:16056761559984840457934011propertiesobject[]
A list of product customization information.name stringCustom attribute name.Example:attribute nameshow booleanWhether the customized information is visible:true: visiblefalse: invisible Default value:false
type stringCustom information type. Valid values are:text: text typepicture: picture typelink: hyperlink type
urls arrayURL resource list.- If
typeispicture, thumbnails are rendered via theurlsvalues. - If
typeislink, the hyperlink is the first URL in theurlsvalues.
Example:["[\"https://www.url.com\"]"]value stringCustom attribute value.Example:attribute valuequantity integerQuantity of items in the order.Example:1requires_shipping booleanIndicates whether the product is subject to shipping.true:Shipping is required.false:Shipping is not required.
sku stringProduct SKU serial number.Example:18056761559987524812644011tags stringProduct tags. Multiple tags are separated by commas.Example:watchtax_linesobject[]
A list of tax information.name stringTax in store currency. The value is rounded to two decimal places.Example:taxesprice stringTax in store currency. The value is rounded to two decimal places.Example:3.25price_setobject
The tax amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The tax amount information presented to the buyer.amount stringThe tax amount. The value is rounded to two decimal places.Example:1.03shop_moneyobject
The tax amount information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:1.03rate doubleThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.title stringThe title for the tax description, for display only.Example:taxestaxable booleanWhether the product is subject to tax.true: Tax is required.false: No tax is required.
title stringProduct title.Example:beautiful skirtvariant_id stringA unique code assigned to a distinct product in inventory.Example:18056761559987524812644011variant_title stringProduct variant value. Multiple values are separated by/.Example:155 / red / largevendor stringSupplier.Example:Supplierlocationsobject[]
A list of product pickup location addresses.location_id stringUnique code of the pickup location.Example:5327026538935748524name stringPickup location name.Example:us.streettype stringLocation types. Valid values are:posLocation: The store location where the order was placed using the POS channel. It is recommended to useposLocationId, becauseposLocationwill be deprecated soon.pickupLocation: The store location for customer pickup when the order's delivery method is self-pickup.productLocation: The inventory location of the products in the order. It is recommended to use thelocationinformation in the product line, becauseproductLocationwill be deprecated soon.
name stringStore custom order number, starting from 1001. You can set a prefix for this value, such astest1001.Example:test1001note stringMerchant notes.Example:Notesnote_attributesobject[]
A list of merchant note logs.name stringMerchant ID, indicating the note source.Example:Note sourcevalue stringNote content.Example:Notesorder_source stringThe order source channel handle. The handle is a semantic identifier.order_status_url stringOrder status page URL.Example:https://shoptest.myshoplinestg.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509payment_detailsobject[]
A list of order payment information.pay_amount stringPayment amount in the store currency. The value is rounded to two decimal places.Example:3.25pay_channel stringPayment channel.Example:Paypalpay_channel_deal_id stringPayment serial number from the external channel.Example:pi_3MI897Hezv8FxjBO1uGxMPhXpay_seq stringPayment order number.Example:23057287797738260472676128pay_status stringPayment status. Valid values are:unpaid: unpaidpending: payment in processrisking: under risk controlpaid:paidpaid_overtime: payment timeoutpaid_failed: payment failed
phone stringBuyer's mobile phone number.Example:13900000000po_number stringPurchase order number for a B2B order.pos_location_id stringPOS trading location ID.Example:5327026538935748524presentment_currency stringBuyer currency, the same as the store currency. A three-letter currency code that follows the ISO 4217 standard.Example:USDshipping_addressobject
The address used for receiving packages.address1 stringThe first line of the address. This typically includes information such as the street address or a post office box number.Example:Address 1address2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Example:Address 2city stringThe city in the address.Example:New Yorkcompany stringThe company name of the recipient.Example:New company namecountry stringThe country or region in the address.Example:USAcountry_code stringA two-letter country or region code that follows the ISO 3166-1 standard, used to identify a specific country or region in the address.Example:USdistrict stringThe district in the address.Example:Manhattandistrict_code stringThe district code in the address.Example:NY100xxfirst_name stringThe first name of the recipient.Example:Tomlast_name stringThe last name of the recipient.Example:Washingtonlatitude stringThe latitude where the address is located.Example:40.7831°Nlongitude stringThe longitude where the address is located.Example:73.9712°Wphone stringThe phone number of the recipient.Example:19821119121province stringThe province in the address.Example:New York stateprovince_code stringThe code for the province in the address, which can be a custom code or a two-digit ISO 3166-2 international code.Example:NYstandard_province_code stringThe code for the province in the billing address, which is a two-digit ISO 3166-2 international code.This differs fromprovince_code- theprovince_coderesponse field uses a custom code.zip stringThe postal code information of the address.Example:10007status stringOrder status. Valid values are:open: The order is processing.canceled: The order is cancelled.
subtotal_price stringThe final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. The amount is displayed in the store currency.Example:4.12subtotal_price_setobject
The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.presentment_moneyobject
The final price information presented to the buyer.amount stringThe final price. The value is rounded to two decimal places.Example:4.12shop_moneyobject
The final price information recorded by the merchant.amount stringThe final price. The value is rounded to two decimal places.Example:4.12tax_linesobject[]
A list of tax information.name stringTax name.Example:taxesprice stringTax in store currency. The value is rounded to two decimal places.Example:3.25price_setobject
The tax amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The tax amount information presented to the buyer.amount stringThe tax amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The tax amount information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:3.25rate doubleThe tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as0.0200. This field value is for display only.title stringThe title for the tax description, for display only.Example:taxestax_number stringTax ID.Example:111111111111tax_type stringThe type of tax applicable to the order. Valid values are:product_tax: product taxshipping_tax: shipping tax
taxes_included booleanIndicates whether this order includes taxes.true: including taxesfalse: excluding taxes
total_discounts stringThe total order discount, calculated as the sum of marketing discounts and custom discounts. The amount is rounded to two decimal places and displayed in the store currency.DEPRECATED:This parameter is deprecated from API version v20210901.Example:3.25total_discounts_setobject
The total order discount, calculated as the sum of marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.DEPRECATED:This parameter is deprecated from API version v20210901.presentment_moneyobject
The discount amount information presented to the buyer.amount stringThe discount amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The discount amount information recorded by the merchant.amount stringThe discount amount. The value is rounded to two decimal places.Example:3.25total_line_items_price stringThe total original price of the products, rounded to two decimal places, displayed in the store currency.Example:3.25total_line_items_price_setobject
The total original price of the products, displayed in both the buyer currency and the store currency.presentment_moneyobject
The original price information presented to the buyer.amount stringThe original price. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The original price information recorded by the merchant.amount stringThe original price. The value is rounded to two decimal places.Example:3.25total_outstanding stringThe total unpaid amount in the store currency. The value is rounded to two decimal places.Example:3.25total_shipping_price_setobject
The total shipping fee for the order, displayed in both the buyer currency and the store currency.presentment_moneyobject
The shipping fee information presented to the buyer.amount stringThe shipping fee. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The shipping fee information recorded by the merchant.amount stringThe shipping fee. The value is rounded to two decimal places.Example:3.25total_tax stringThe total tax amount in the store currency. The value is rounded to two decimal places.Example:3.25total_tax_setobject
The total tax amount, displayed in both the buyer currency and the store currency.presentment_moneyobject
The tax amount information presented to the buyer.amount stringThe tax amount. The value is rounded to two decimal places.Example:3.25shop_moneyobject
The tax amount information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:3.25total_tip_received stringThe tip amount in the store currency. The value is rounded to two decimal places.Example:3.25total_weight stringThe total weight of products in grams(g).Example:1000
API Explorer
Debugger
Was this article helpful to you?