Requires
order
access scope. For more access scope
Topic | Trigger Timing | Minimum Supported Version |
---|---|---|
orders/refunded | Triggered when the full amount is refunded | 202007 |
Response Example
{
"order": {
"id": "124791144633646482197",
"note": null,
"number": "5555MJK026409999",
"financial_status": "waiting",
"status": "opened",
"cancel_reason": null,
"payment_method": "none",
"fulfillment_status": "initialled",
"discount_code": "",
"discount_applications": "[{\"type\":\"cycle_subscribe\",\"subtype\":\"\",\"title\":\"Subscription\",\"discount_amount\":3.33,\"discount_amount_value\":\"\",\"message\":\"\",\"discount_message\":\"\",\"discount_id\":\"388592557195531383\",\"value_type\":\"\",\"target_type\":\"line_item\",\"apply_method\":\"\",\"target_selection\":\"\",\"entitled_product_list\":null,\"properties\":null,\"discount_text\":\"\",\"is_free_gift\":false}]",
"customer_note": "",
"buyer_accepts_marketing": false,
"currency": "USD",
"tags": "",
"sub_total": "111.00",
"total_discount": "3.33",
"total_tax": "0.00",
"total_shipping": "5.99",
"total_price": "113.66",
"code_discount_total": "0.00",
"line_item_discount_total": "0.00",
"total_tip_received": "0.00",
"created_at": "2024-07-20T00:00:46Z",
"updated_at": "2024-07-20T00:00:46Z",
"canceled_at": null,
"customer_deleted_at": null,
"deleted_at": null,
"placed_at": null,
"shipping_line": {
"name": "Standard Shipping",
"desc": "",
"delivery_method": 1,
"extra_info": "{\"id\":\"bb2ca1a1-d836-468f-a67f-5b563de32c14\",\"name\":\"Standard Shipping\",\"desc\":\"\",\"support_cod\":1,\"shipping_price\":\"5.99\",\"delivery_method\":1,\"location_id\":\"0\"}"
},
"customer": {
"id": "c8d19714-4aa1-4cce-a8b0-bc4e9de6c91d",
"first_name": "夜露死苦",
"last_name": "林",
"email": "[[email protected]](mailto:[email protected]) ",
"phone": "+8613111111111",
"created_at": "2024-06-05T06:11:22Z",
"updated_at": "2024-06-06T07:11:28Z",
"order_count": 24,
"total_spent": "3798.76"
},
"shipping_address": {
"first_name": "123",
"last_name": "321",
"address1": "www",
"address2": "eee",
"phone": "+8613111111111",
"city": "南宁",
"zip": "123456",
"province": "Guangxi",
"country": "China",
"company": "",
"latitude": null,
"longitude": null,
"name": "123 321",
"country_code": "CN",
"province_code": "CN-GX",
"email": "[[email protected]](mailto:[email protected]) ",
"phone_area_code": "CN_86",
"area": "",
"extra_info": {
"addition": {
"124791_key_2": {
"name": "golden",
"val": "123"
},
"124791_key_3": {
"name": "ku",
"val": "2"
}
},
"cpf": "22",
"tax_text": "Tax ID"
}
},
"billing_address": {
"first_name": "123",
"last_name": "321",
"address1": "www",
"address2": "eee",
"phone": "+8613111111111",
"city": "南宁",
"zip": "123456",
"province": "Guangxi",
"country": "China",
"company": "",
"latitude": null,
"longitude": null,
"name": "123 321",
"country_code": "CN",
"province_code": "CN-GX",
"email": "[[email protected]](mailto:[email protected]) ",
"area": ""
},
"payment_line": null,
"payment_lines": \[],
"browser_ip": "10.8.74.137",
"landing_site": "",
"line_items": \[
{
"id": "92d87800-1db4-4f69-9629-3e2eb99f0388",
"product_id": "9cba2a5a-5a32-4dfa-9135-06d7cbe300e9",
"variant_id": "a76de694-1b62-47b4-8774-2455ad89104f",
"variant_title": "",
"product_title": "周期购踢商品猫",
"product_handle": "周期购踢商品猫",
"quantity": 1,
"note": "",
"fulfillment_status": "waiting",
"sku": "",
"weight_unit": "kg",
"vendor": "",
"product_url": "/products/周期购踢商品猫",
"price": "111.00",
"compare_at_price": "111.00",
"total": "111.00",
"weight": "0.00",
"image": "//img.staticdj.com/free/ca2c63875af0cb7cca65ce338c8cbe13.jpg",
"properties": \[],
"custom_properties": {
"\_shoplazza_product_extends": "{\"custom_discounts\":[{\"name\":\"Subscription\",\"fixed_type\":\"fixed_percentage\",\"fixed_value\":\"3\",\"type\":\"cycle_subscribe_discount\",\"count\":11,\"discount_id\":\"388592557195531383\",\"business_custom_data\":\"\"}]}"
},
"main_currency_prices": {
"compare_at_price": "111",
"price": "111",
"total": "111",
"actual_rate": "1"
},
"discount_applications": "[{\"type\":\"cycle_subscribe\",\"subtype\":\"\",\"discount_id\":\"388592557195531383\",\"title\":\"Subscription\",\"value\":\"\",\"discount_type\":\"\",\"value_type\":\"\",\"allocation_method\":\"\",\"target_selection\":\"\",\"target_type\":\"line_item\",\"total_discount_amount\":\"3.33\",\"discount_amount\":\"3.33\",\"is_free_gift\":false,\"discount_quantity\":1,\"is_need_split\":false,\"discount_text\":\"\"}]"
}
],
"fulfillments": \[],
"test": false,
"closed_at": null,
"total_paid": null,
"real_total_paid": null,
"last_landing_url": "",
"applied_gift_cards": "\[]",
"main_currency_prices": {
"sub_total": "111",
"total_discount": "3.33",
"total_tax": "0",
"total_shipping": "5.99",
"total_price": "113.66",
"actual_rate": "1",
"primary_market_currency": "USD"
},
"sales_platform": "shoplazza",
"order_type": 0,
"shipping_tax_total": "0.00",
"shipping_tax_type": 0,
"location_line": {
"location_id": "362080656559179781",
"location_name": "亚洲仓库",
"first_name": "T_T",
"last_name": "huang",
"phone": "13566668888",
"email": "[[email protected]](mailto:[email protected]) ",
"country": "中国大陆",
"country_code": "CN",
"province": "广东省",
"province_code": "CN-GD",
"area": "深圳市",
"city": "深圳市",
"address": "彩讯科技大厦",
"address1": "27",
"company": "shoplazza",
"latitude": "22.53",
"longitude": "113.95",
"zip": "518063"
},
"product_tax_included": false,
"additional_total": "0.00",
"checkout_url": "/checkout/124791144633646482197?key=3f3655b07ecbb67db51bd124e1d52f",
"refer_info": "{\"address_check\":false,\"country\":\"\",\"customer_session\":\"\",\"domain\":\"\",\"fbc\":\"\",\"fbp\":\"\",\"inventory_deduction\":\"order_created\",\"ip\":\"10.8.74.137\",\"source\":\"buy_now\",\"user_agent\":\"grpc-go/1.57.2\"}",
"config": "{\"page_type\":\"three_step\",\"requires_shipping\":true,\"checkout_business_type\":0,\"product_tax_included\":false,\"checkout_template_type\":0,\"market_setting\":{\"primary_market_lang\":\"en-US\",\"market_lang\":\"en-US\",\"market_id\":\"326199623930618487\",\"market_currency\":\"USD\",\"market_currency_symbol\":{\"code\":\"USD\",\"val\":\"$\",\"left\":\"$\",\"right\":\"\"},\"market_base_currency\":\"USD\",\"market_base_currency_symbol\":{\"code\":\"USD\",\"val\":\"$\",\"left\":\"$\",\"right\":\"\"},\"primary_market_id\":\"326199623930618487\",\"primary_market_currency\":\"USD\",\"primary_market_currency_symbol\":{\"code\":\"USD\",\"val\":\"$\",\"left\":\"$\",\"right\":\"\"},\"market_price_setting\":{\"local_currency_enabled\":false,\"custom_rate_enabled\":false,\"custom_rate\":0,\"rate\":1,\"back_rate\":1,\"actual_rate\":1,\"base_to_local\":0,\"local_to_base\":0,\"adjust\":0,\"price_round_enabled\":true}}}"
}
}