Order update
Event Group | Event Identification |
---|---|
orders | orders/updated |
Order update
Request Headers
- X-Shopline-Topic string requiredEvent operation identificationExample:
orders/edited
- X-Shopline-Hmac-Sha256 string requiredSignatureExample:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
- X-Shopline-Shop-Domain string requiredShop domainExample:
shophub.myshopline.com
- X-Shopline-Shop-Id string requiredShop IDExample:
1610418123456
- X-Shopline-Merchant-Id string requiredMerchant IDExample:
2000001234
- X-Shopline-API-Version string requiredVersionExample:
v20210901
- X-Shopline-Webhook-Id string requiredMessage IDExample:
b54557e48a5fbf7d70bcd043
Request Body
- adjust_price stringAdjust the amount, the balance amount caused by the rounding of the amount in the POS scenarioExample:
8.00
adjust_price_setobject
Adjustment amount calculated in store currency and transaction currencypresentment_moneyobject
Buyer side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Amount information on the seller’s sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
billing_addressobject
billing addressaddress1 stringDetailed address 1Example:Address 1
address2 stringDetailed address 2, optionalExample:Address 2
city stringCityExample:New York
company stringCompany NameExample:New company name
country stringcountry / regionExample:USA
country_code stringCountry codeExample:US
first_name stringFirst nameExample:Tom
last_name stringLast nameExample:Washington
name stringNameExample:Tom Washington
phone stringPhoneExample:18723465843
province stringProvincial/secondary addressExample:California
province_code stringProvincial/secondary address codingExample:4200006
zip stringPostal codeExample:54213
- browser_ip stringbrowser ipExample:
157.119.232.35
- buyer_note stringBuyer notesExample:
Notes
- cancel_reason stringReason for order cancellationExample:
I don't want to buy it.
- cancelled_at stringCancellation timeExample:
2012-05-01T14:22:25-04:00
- cart_token stringShopping cart tokenExample:
c2c4a58186b9d96395d7e6b5c2969577
- checkout_id stringThe abandoned order id associated with the current orderExample:
2404785166526352972864
- checkout_token stringCheckout page tokenExample:
c2c4a58186b9d96395d7e6b5c2969577
client_detailsobject
Client informationbrowser_ip stringBrowser IPExample: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
uuid stringuuidExample:432354345
companyobject
Company infoid stringCompany idExample:1005619945158043247856
location_id stringLocation idExample:3005619945158043247856
tax_registration_id stringTax registration idExample:213213
- created_at stringCreate order timeExample:
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 stringSettlement currencyExample:
USD
- current_subtotal_price stringCurrent Product sum , Product total quantityExample:
8.00
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
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
- current_total_discounts stringSum of discounts, precision 2, marketing offers + artificial discountsExample:
8.00
current_total_discounts_setobject
Discount sum multi-currency information, there is no multi-currency, so the currency and amount of the buyer and seller are the samepresentment_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
current_total_duties_setobject
Current total tariff on goodspresentment_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, value logic: total merchandise amount - total discount amount + shipping fee + taxExample:
8.00
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
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
- current_total_tax stringTotal tax , product tax + shipping taxExample:
8.00
current_total_tax_setobject
Multi-currency information of the sum of taxes, the currency and amount of buyers and sellers are the samepresentment_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
customerobject
Buyer informationaddressesobject
addressaddress1 stringDetailed address 1Example:Address 1
address2 stringDetailed address 2, optionalExample:Address 2
city stringCityExample:New York
country stringcountry / regionExample:USA
country_code stringCountry codeExample:US
first_name stringFirst nameExample:Tom
last_name stringLast nameExample:Washington
name stringFull nameExample:Tom Washington
phone stringPhoneExample:13100000000
province stringProvinceExample:California
province_code stringProvincial encodingExample:4200006
zip stringPostal codeExample:98734
area_code stringPhone area codeExample:+86
created_at stringBuyer creation timeExample:2022-11-04T10:18:46+00:00
currency stringCurrencyExample:USD
email stringUser mailboxExample:test1001@Gmail.com
first_name stringFirst nameExample:Tom
id stringUser IDExample:4201057495
last_name stringLast nameExample:Washington
phone stringUser mobile phone numberExample:13100000000
- customer_locale stringBuyer’s country language code + country name abbreviationExample:
enCN
- deduct_member_point_amount stringMember points deduction amount for current orderExample:
8.00
deduct_member_point_amount_setobject
Current order member points deduction amount, 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
discount_applicationsobject[]
All discount information applied to this orderallocation_method stringActive discount application range 1) across (the value is distributed across all authorization lines) 2) each (the value applies to each authorization line)Example:across
code stringDiscount codeExample:1Q3UMQM8RBP5
description stringDetailed description of the activityExample:Detailed description of the activity
target_selection stringThe specific objects for the active discount application are 1) explicit (discounts are allocated to explicitly selected product lines or freight lines) 2) all (discounts are allocated to all product lines or freight lines) 3) ENTITLED (discounts are only allocated to products that they are entitled to use) line or freight line)Example:all
target_type stringActive discount application objects 1) line_item 2) shipping_lineExample:line_item
title stringTitle for automatic discountExample:Detailed description of the activity
type stringActivity discount type 1) manual (custom type) 2) automatic (automatic discount type) 3) discount_code (discount code type)Example:manual
value stringEvent discount valueExample:20
value_type stringThe discount value type of the activity, including percentage and fixed amount.Example:fixed_amount
discount_codesobject[]
Promo code informationamount stringDiscount amount , accuracy 2Example:8.00
amount_setobject
Amount , multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:currency_code
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
code stringPromo codeExample:KIN4GNAB2FRH
type stringTypes of discounts, 1-amount reduction; 2-discount; 3-free shipping; 8-fixed price; 9-lowest priced item free; 10-package price; 11-discount on the Nth item;Example:Reduction amount
- email stringBuyer's emailExample:
test001@Gmail.com
- financial_status stringPayment status : unpaid- not paid ; authorized- authorized ; pending- payment ; partially_paid- partial payment ; paid- paid ;Partially_refunded- part refund ; refunded- refunded ;Example:
unpaid
- 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 stringCreation time (see IOS8601 for the format)Example:2022-11-04T10:18:46+00:00
id stringPackage numberExample:22046737798141702810214336
line_itemsobject[]
Product listattribute stringProduct attributes: name - attribute value. Multiple separated by comma ", ". For example: color - red, size - XExample:big
fulfillable_quantity integerAvailable quantityExample:1
fulfillment_quantity integerThe number of shipmentsExample:1
fulfillment_service stringLogistics business name , if there are multiple different delivery providers in Product , then use separated by ','Example: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:100
id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:412
image_url stringproduct pictureExample:https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
location_id stringLocation IDExample:5445886274929439997
name stringSku titleExample:test-002
price stringProduct selling price , accuracy 2Example:8.00
price_setobject
Product selling price , multi-currency informationpresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmountExample:8.00
currency_code stringCurrencyExample:USD
product_id stringSPU serial numberExample:16056761559984840457934011
quantity integerQuantity of items in the orderExample:3
requires_shipping booleanShipping or notExample:true
sku stringProduct yardsExample:18056761559987524812644011
tax_linesobject[]
Tax informationprice stringPriceExample: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
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
name stringShipping shortExample:1032-F2
order_id stringOrder numberExample:21056577640603870897253153
shipment_status stringPackage trackingExample:fulfilled
status stringLogistics delivery status, success-shipped; cancelled-cancelled;Example:success
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 (see IOS8601 for the format)Example:2022-11-04T10:18:46+00:00
- hidden_order booleanWhether it is an archived order, true=archived order, false=unarchived orderExample:
true
- id stringSystem order numberExample:
21056577640603870897253153
line_itemsobject[]
Order product snapshot informationattribute stringProduct attributes: name - attribute value. Multiple separated by comma ", ". For example: color - red, size - XExample:red
discount_allocationsobject[]
Discount details in multiple currenciesamount stringDiscount detailed amountExample: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[]
Tariff informationcountry_code_of_origin stringCountry code of origin/shipping pointharmonized_system_code stringCustoms codeid stringTariff numberpriceobject
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 raterate_percentage doubleTax rate (percentage value, i.e. rate * 100)title stringTax titlefulfillable_quantity integerAvailable quantityExample:1
fulfillment_service stringLogistics business name , if there are multiple different delivery providers in Product , then use separated by ','Example:Sf international
fulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:yun0001
gift_card booleanWei or not for gift cardsgrams doubleWeight ( grams )Example:100
id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:413
image_url stringproduct pictureExample:https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
location_id stringLocation IDExample:5327026538935748524
name stringSku titleExample:Product title
price stringCommodity price, precision 2Example:8.00
price_setobject
Product selling price , multi-currency amount informationpresentment_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
product_id stringSPU serial numberExample:16056761559984840457934011
propertiesobject[]
Product customization informationadditional stringCustom Product add-on fieldExample:Attach
name stringCustom attribute nameExample:Custom properties
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:Custom attribute values
quantity integerQuantity of items in the orderExample:1
requires_shipping booleanShipping or notExample:true
sku stringProduct yardsExample:18056761559987524812644011
tags stringProduct tags (multiple commas separated)Example:watch
tax_linesobject[]
Tax informationprice stringPriceExample: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
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:Nice looking 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[]
Location informationlocation_id stringLocation IDExample:5327026538935748524
name stringLocation nameExample:us.street
type string1.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
- name stringCustom order number (will change)Example:
test001
- note stringMerchant remark content, multiple separated by commasExample:
Notes
note_attributesobject[]
Merchant note log, date contentcreate_time stringRemark creation time (see IOS8601 for the format)Example:2022-11-04T10:18:46+00:00
name stringRemark source (seller ID)Example:Note source
value stringNotesExample:Content
- order_at stringOrder completion timeExample:
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.myshopline.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
pay_amount doublePayment amountExample:8
pay_channel_deal_id stringPayment serial number: the payment number generated by the payment channelExample:pi_3MI897Hezv8FxjBO1uGxMPhX
pay_seq stringPayment network payment order number, the unique number request number of the payment order defined internally in SLExample:23057287797738260472676128
pay_status stringPayment statusExample:unpaid
processed_at stringPayment creation time , format : 2023-04-12T22 : 59 : 52+08 : 00Example:2023-04-12T22:59:52+08:00
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 orderExample:
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 informationExample:
13100000000
- po_number stringPurchase order number recorded on the order in B2B scenarios
- pos_location_id stringpos trading locationExample:
5227248679317408779
- presentment_currency stringBuy side currencyExample:
USD
- processed_at stringOrder time , format : 2023-04-12T22 : 59 : 52+08 : 00 2023-04-12T22 : 59 : 52+08 : 00Example:
2023-04-12T22:59:52+08:00
- processed_user_id stringOrder creatorExample:
4201057495
refundsobject[]
Refund listcreated_at stringRefund form creation time (see IOS8601 for the format)Example:2021-08-16T08:27:57+00:00
id stringRefund IDExample:2605659027312156877634
note stringRefund NotesExample:Notes
order_id stringOrder numberExample:21056577640603870897253153
processed_at stringUpdate timeExample:2021-08-16T08:27:57+00:00
refund_line_itemsobject[]
Refund Productid stringRefund order numberExample:2605659027312156877634
line_item_id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:101
quantity stringQuantity, quantity of goodsExample:1
restock_type stringInventory return type , no_restock- is not returned , cancel- is cancelled , return- is returnedExample:no_restock
subtotal stringTotal refund amount, precision 2Example:1.00
subtotal_setobject
Total refund amount, multi-currency information, same on seller and buyer sidepresentment_moneyobject
Buy side currencyamount stringAmount, Precision 2Example:1.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:1.00
currency_code stringCurrencyExample:USD
total_tax_setobject
Total tax amount, multi-currency informationpresentment_moneyobject
Buy side currencyamount stringAmount, Precision 2Example:1.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:1.00
currency_code stringCurrencyExample:USD
user_id stringUser IDExample:4201057495
shipping_addressobject
Shipping addressaddress1 stringDetailed address 1Example:Address 1
address2 stringDetailed address 2, optionalExample:Address 2
city stringCityExample:New York
company stringCompany NameExample:new company
country stringCountryExample:USA
country_code stringCountry codeExample:US
delivery_store_code stringStore IDExample:1001
delivery_store_name stringStore nameExample:Store
district stringDistrictExample:Panyu district
district_code stringDistrict codeExample:5213300
first_name stringFirst nameExample:Tom
last_name stringLast nameExample:Washington
latitude stringAddress latitudeExample:23.35773
longitude stringaddress longitudeExample:116.4151
name stringFull nameExample:Tom Washington
phone stringPhoneExample:13100000000
province stringProvinceExample:California
province_code stringProvince codeExample:4200006
zip stringPostal codeExample:521000
shipping_linesobject[]
Logistics informationcode stringLogistics numberExample:SF1232344456776
discount_allocationsobject[]
Discount details multi-currency displayamount stringDiscount amount, precision 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, precision 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 , double type stringExample:8.00
price_setobject
Logistics freight multi-resource informationpresentment_moneyobject
Currency amount on buyer’s sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Currency amount on seller sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shipping_price stringOriginal freight amount (non-discount amount)Example:8.00
source stringLogistics typeExample:SHOPLINE
tax_linesobject[]
Logistics tax informationprice stringPriceExample:8.00
price_setobject
Multi-currency information of taxpresentment_moneyobject
Currency amount on buyer’s sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Currency amount on seller sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:1
title stringTax nameExample:Tax
title stringLogistics nameExample:Sf international
- status stringOrder status, open-processing, canceled-cancelledExample:
open
- store_id stringStore idExample:
1644828244663
- subtotal_price stringTotal product price after discount, total product 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:8.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Sell side amount informationamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
- tags stringorder labelExample:
watch
tax_linesobject[]
Tax informationprice stringPriceExample:8.00
price_setobject
Multi-currency amount 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
rate doubleTax rateExample:1
title stringTax nameExample:Tax
- tax_number stringTINExample:
11111
- tax_type stringTypes of tax IDExample:
Type
- taxes_included booleanDoes the total include tax?Example:
true
- total_discounts stringTotal discount, marketing discount + artificial 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 stringSum of original prices of goods, precision 2Example:
8.00
total_line_items_price_setobject
Total 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 stringSum of unpaid amount, precision 2Example:
8.00
total_outstanding_setobject
Total unpaid amount, 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
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 stringSum of taxes, precision 2, commodity 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
Amount information on the seller’s sideamount stringAmount, Precision 2Example:8.00
currency_code stringCurrencyExample:USD
- total_tip_received stringTip, precision 2Example:
8.00
total_tip_received_setobject
Tips, 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
- total_weight doubleTotal product weight ( g )
- updated_at stringOrder update time, (see IOS8601 for the format)Example:
2021-08-16T08:27:57+00:00
- user_id stringBuyer IDExample:
4201057495
Response
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?
Error loading component.