Create an order
POST https://{handle}.myshopline.com/admin/openapi/v20261201/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 eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA
Request Body
orderobject required
Order information.currency 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:13903004000exchange_rate stringThe exchange rate between the order currency and the store currency.Example:7.1245name stringOrder number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin.Example:D101order_note stringMerchant order notes.Maximum length: 50Example:Notesshipping_addressobject
The address used for receiving packages.city_code stringThe code for the city in the address.Example:510000country_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:CNlast_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:34address1 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 Streetarea stringThe district or county in the address.Maximum length: 64Example:Panyu Districtarea_code stringThe code for the district or county in the address.Example:510006company stringThe company name of the recipient.Example:Company Namefirst_name stringThe first name of the recipient.Maximum length: 64Example:Tomprovince_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:4220006address2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Maximum length: 255Example:Apartment 5city stringThe city in the address.Maximum length: 64Example:Guangzhou Cityemail stringThe email of the recipient.Example:test001@Gmail.comprovince stringThe province in the address.Example:Guangdong Provincezip stringThe postal code information of the address.Example:510036country stringThe country or region in the address.Maximum length: 64Example:Chinaphone stringThe phone number of the recipient.Example:13903004000transaction_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:stringfinancial_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.note stringOrder remarks.Maximum length: 50DEPRECATED:This parameter is deprecated from API version v20210901.Example:Notesprice_infoobject required
Price information.taxes_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.00current_extra_total_discounts stringOrder discount amount, excluding discounts from discount codes. The value is rounded to two decimal places.Example:8.00shipping_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 namebilling_addressobject
The address for sending billing invoices.first_name stringThe first name of the billing recipient.Example:Tomprovince stringThe province in the address.Example:Guangdong Provinceaddress1 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 Streetarea stringThe district or county in the address.Maximum length: 64Example:Panyu Districtcity stringThe city in the address.Maximum length: 64Example:Guangzhou Citycity_code stringThe code for the city in the address.Example:510000country_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:UScompany stringThe company name of the billing recipient.Example:Company Namecountry stringThe country or region in the billing address.Maximum length: 64Example:Chinalast_name stringThe last name of the billing recipient.Example:Washingtonprovince_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:4220006phone stringThe phone number of the billing recipient.Example:13903004000address2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Maximum length: 256Example:Apartment 5area_code stringThe code for the district or county in the address.Example:510007email stringThe email of the billing recipient.Example:test001@Gmail.comsame_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:messagecustomer_locale stringBuyer's language code. The language code follows the ISO 639 standard.Example:eninventory_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
market_region_country_code stringThe country or region code of the market where the order was placed. Follows the ISO 4217 standard.Example:USsend_receipt booleanWhether to send order confirmation email.true: sendfalse: do not send
company_location_id stringCompany location ID, used to create a B2B order.Example:3232423438438fulfillment_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.line_itemsobject[] required
List of order product snapshot information.Maximum size: 100product_id stringSPU serial number.Example:16056761559984840457934011propertiesobject[]
A list of product customization information.show 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 valuename stringCustom attribute name.Example:attribute namerequires_shipping booleanWhether the product requires shipping.true: shipping requiredfalse: shipping not required
taxable booleanWhether the product is subject to tax.true: Tax is required.false: No tax is required.
Default value:truequantity longThe quantity of the product.Example:1shipping_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 nametitle stringProduct title.Example:beautiful skirtvariant_id stringA unique code assigned to a distinct product in inventory.Example:18056761559987524812644011discount_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.25note_attributesobject[]
A list of merchant note logs.name stringMerchant ID, indicating the note source.Example:Note sourcevalue stringNote content.Example:Notessend_fulfillment_receipt booleanWhether to send order shipping email.true: sendfalse: do not send
shipping_lineobject
Shipping fee information.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: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 namecode stringLogistics number.Example:SFprice stringShipping fee amount. The value is rounded to two decimal places.Example:3.25transactionsobject
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.created_at stringThe date and time when the order was created. Format: ISO 8601.Example:2021-08-16T08:27:57+00:00current_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.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.phone stringBuyer's mobile phone number.Example:13900000000subtotal_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.12tax_type stringThe type of tax applicable to the order. Valid values are:product_tax: product taxshipping_tax: shipping tax
total_line_items_price stringThe total original price of the products, rounded to two decimal places, displayed in the store currency.Example:3.25total_tax stringThe total tax amount in the store currency. The value is rounded to two decimal places.Example:3.25current_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_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.88financial_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
note stringMerchant notes.Example:Notesstatus stringOrder status. Valid values are:open: The order is processing.canceled: The order is cancelled.
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.25adjust_price stringThe amount discrepancy due to rounding adjustments in POS transactions, expressed in the store currency.Example:7.23current_total_price stringThe total order amount, displayed in the store currency.Example:1000.25id stringOrder ID, system-defined number.Example:21050224312121887324667162, 21050224312121887324667164locationsobject[]
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.
payment_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
total_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.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.25customerobject
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_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.25note_attributesobject[]
A list of merchant note logs.name stringMerchant ID, indicating the note source.Example:Note sourcevalue stringNote content.Example:Notespos_location_id stringPOS trading location ID.Example:5327026538935748524shipping_addressobject
The address used for receiving packages.province stringThe province in the address.Example:New York stateaddress1 stringThe first line of the address. This typically includes information such as the street address or a post office box number.Example:Address 1last_name stringThe last name of the recipient.Example:Washingtonlongitude stringThe longitude where the address is located.Example:73.9712°Wprovince_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.city 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:USAdistrict_code stringThe district code in the address.Example:NY100xxlatitude stringThe latitude where the address is located.Example:40.7831°Nphone stringThe phone number of the recipient.Example:19821119121address2 stringThe second line of the address. This typically includes information such as apartment, suite, or unit number.Example:Address 2country_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:USfirst_name stringThe first name of the recipient.Example:Tomzip stringThe postal code information of the address.Example:10007district stringThe district in the address.Example:Manhattantotal_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.25deduct_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.25email stringBuyer's email.Example:test001@Gmail.comline_itemsobject[]
A list of order product snapshot.variant_id stringA unique code assigned to a distinct product in inventory.Example:18056761559987524812644011vendor stringSupplier.Example:Suppliername stringSKU title, same astitle.Example:skirtvariant_title stringProduct variant value. Multiple values are separated by/.Example:155 / red / largeid 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/63928f08a7174ab2958c6a969propertiesobject[]
A list of product customization information.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 valuename 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
taxable booleanWhether the product is subject to tax.true: Tax is required.false: No tax is required.
title stringProduct title.Example:beautiful skirtattribute 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 codeprice stringThe product price in store currency. The value is rounded to two decimal places.Example:100requires_shipping booleanIndicates whether the product is subject to shipping.true:Shipping is required.false:Shipping is not required.
sku stringProduct SKU serial number.Example:18056761559987524812644011tax_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:taxesprice_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:16056761559984840457934011quantity integerQuantity of items in the order.Example:1tags stringProduct tags. Multiple tags are separated by commas.Example:watchname stringStore custom order number, starting from 1001. You can set a prefix for this value, such astest1001.Example:test1001order_source stringThe order source channel handle. The handle is a semantic identifier.taxes_included booleanIndicates whether this order includes taxes.true: including taxesfalse: excluding taxes
billing_addressobject
The address for sending billing invoices.city stringThe city in the address.Example:Guangzhou Citycountry_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:Tomphone stringThe phone number of the billing recipient.Example:13100000000standard_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.company stringThe company name of the billing recipient.Example:new companycountry stringThe country or region in the address.Example:Chinalast_name stringThe last name of the billing recipient.Example:Washingtonprovince 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:4200006zip stringThe postal code information of the address.Example:510000address1 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 5currency stringTransaction currency. A three-letter currency code that follows the ISO 4217 standard.Example:USDcurrent_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_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.03order_status_url stringOrder status page URL.Example:https://shoptest.myshoplinestg.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509tax_linesobject[]
A list of tax information.price_setobject
The tax amount, displayed in both the buyer currency and the store currency.shop_moneyobject
The tax amount information recorded by the merchant.amount stringThe tax amount. The value is rounded to two decimal places.Example:3.25presentment_moneyobject
The tax amount information presented to the buyer.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:taxesname stringTax name.Example:taxesprice stringTax in store currency. The value is rounded to two decimal places.Example:3.25tax_number stringTax ID.Example:111111111111adjust_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.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_tax stringThe total tax amount, displayed in the store currency.Example:2.41total_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.25po_number stringPurchase order number for a B2B order.presentment_currency stringBuyer currency, the same as the store currency. A three-letter currency code that follows the ISO 4217 standard.Example:USDsubtotal_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.12total_outstanding stringThe total unpaid 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?