Webhook Topic and Payload Examples
Event (Topic) List
- Category Related Event
- Customer Related Event
- Order Related Event
- invoice/create
- invoice/update
- order/cancel
- order/complete
- order/confirm
- order/create
- order/payment_slip_upload
- order/pending
- order/product_detail_notify_customer
- order/remove
- order/status_notify_customer
- order/update
- order_delivery/status_notify_customer
- order_delivery/status_update
- order_delivery/update
- order_payment/complete
- order_payment/refund
- order_payment/status_notify_customer
- order_payment/update
- pos_return_order/update
- return_order/cancel
- return_order/complete
- return_order/create
- Product Related Event
- Warehouse Related Event
- Other Related Event
Category Related Event
category/create
Topic Name:
- category/create
Description:
- 商品分類建立時
Trigger Point:
- 创建分類
Payload Example:
{
"event": "Category",
"merchant_id": "60f66462262ba6002b9c0462",
"resource": {
"banner_medias": [
{
"_id": "655f10bd75c667003d66fd00",
"alt_translations": {},
"blurhash": "U59aES_4t8sltnx^%Mng~pNMM}xWo#t7t6V@",
"images": {
"original": {
"height": 107,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/655f10bd75c667003d66fd00/original.png?1700729021",
"width": 1046
}
},
"link": null,
"new_tab": null
}
],
"created_by": "admin",
"id": "655f10d275c667003466fcff",
"key": null,
"name_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"parent_id": null,
"priority": 14,
"seo_description_translations": {
"en": "",
"ja": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": ""
},
"seo_keywords": null,
"seo_title_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"status": "active"
},
"topic": "category/create",
"trace_id": "3c5d12db-01a2-4291-9ee6-80747cb78eeb",
"ts": "1700729042301360000"
}category/remove
Topic Name:
- category/remove
Description:
- 商品分類刪除時
Trigger Point:
- 删除分類
Payload Example:
{
"event": "Category",
"merchant_id": "60f66462262ba6002b9c0462",
"resource": {
"banner_medias": [
{
"_id": "655f10bd75c667003d66fd00",
"alt_translations": {},
"blurhash": "U59aES_4t8sltnx^%Mng~pNMM}xWo#t7t6V@",
"images": {
"original": {
"height": 107,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/655f10bd75c667003d66fd00/original.png?1700729021",
"width": 1046
}
},
"link": null,
"new_tab": null
}
],
"created_by": "admin",
"id": "655f10d275c667003466fcff",
"key": null,
"name_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"parent_id": null,
"priority": 14,
"seo_description_translations": {
"en": "",
"ja": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": ""
},
"seo_keywords": null,
"seo_title_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"status": "active"
},
"topic": "category/remove",
"trace_id": "3c5d12db-01a2-4291-9ee6-80747cb78eeb",
"ts": "1700729042301360000"
}category/update
Topic Name:
- category/update
Description:
- 商品分類更新時
Trigger Point:
- 新增商品到分類中
- 編輯分類
Payload Example:
{
"event": "Category",
"merchant_id": "60f66462262ba6002b9c0462",
"resource": {
"banner_medias": [
{
"_id": "655f10bd75c667003d66fd00",
"alt_translations": {},
"blurhash": "U59aES_4t8sltnx^%Mng~pNMM}xWo#t7t6V@",
"images": {
"original": {
"height": 107,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/655f10bd75c667003d66fd00/original.png?1700729021",
"width": 1046
}
},
"link": null,
"new_tab": null
}
],
"created_by": "admin",
"id": "655f10d275c667003466fcff",
"key": null,
"name_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"parent_id": null,
"priority": 14,
"seo_description_translations": {
"en": "",
"ja": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": ""
},
"seo_keywords": null,
"seo_title_translations": {
"en": "OA-2338-en",
"ja": "OA-2338-jp",
"th": "OA-2338-ti",
"vi": "OA-2338-vi",
"zh-cn": "OA-2338-cn",
"zh-hant": "OA-2338-zh"
},
"status": "active"
},
"topic": "category/update",
"trace_id": "3c5d12db-01a2-4291-9ee6-80747cb78eeb",
"ts": "1700729042301360000"
}Customer Related Event
customer_group/remove
Topic Name:
- customer_group/remove
Description:
- 當顧客分群被刪除時觸發
Trigger Point:
- 任何一個子分群或母分群被刪除時
Payload Example:
{
"event": "CustomerGroup",
"merchant_handle": "magicjungle",
"merchant_id": "6601244f1d2f290f34b57aa0",
"resource": {
"count": 53,
"created_at": "2024-04-09T09:19:33.863Z",
"created_by": "manual",
"id": "661508255251fd00993c8e23",
"name": "register",
"next_update_at": null,
"status": "expired",
"update_cycle": null,
"update_type": "manual",
"updated_at": "2024-12-18T06:05:29.570Z"
},
"topic": "customer_group/remove",
"trace_id": "403df5a1-8a5b-4b70-a403-9df46591e5d4",
"ts": "1734501929586123500"
}customer_group/update
Topic Name:
- customer_group/update
Description:
- 當顧客分群發生改變時觸發
Trigger Point:
- 新的母分群產生,同時產生第一個子分群時
- 手動或自動 regenerate 子分群時
- 任何一個子分群被刪除時
- 店家對母分群更改右上角 「分群更新方式」設定時
Payload Example:
{
"event": "CustomerGroup",
"last_updated_at": "2023-04-19T10:15:16.294Z",
"merchant_handle": "timchen841",
"merchant_id": "5f923e62930bd0000832a310",
"resource": {
"count": 3,
"created_at": "2023-02-07T08:56:41.267Z",
"created_by": "manual",
"id": "63e212494cb17636cc946d61",
"name": "ttt123",
"next_update_at": null,
"status": "completed",
"update_cycle": null,
"update_type": "manual",
"updated_at": "2023-02-07T08:56:43.487Z"
},
"topic": "customer_group/update",
"trace_id": "aa2a8920-c8fd-46e4-b314-53090a2b67ea",
"ts": "1681899320164875365"
}member_point/create
Topic Name:
- member_point/create
Description:
- 當會員點數建立時
Trigger Point:
- type 會員點數種類:
- manual_credit: 手動增減點數
- auto_reward: 點數回饋
- expired: 點數過期
- order_redeemed: 使用點數兌換贈品於訂單
- redeemed_to_cash: 使用點數折現於訂單
- order_split_revert: 回補點數(來自拆單)
- product_review_reward: 商品評價獎賞
- member_info_reward: 會員資料獎賞
Payload Example:
{
"customer_id": "62e0afd4e3a2261aa15f23e2",
"point_balance": 20,
"remarks": null,
"value": 10,
"order_id": "62e3baafce36eb003bb8ff8a",
"type": "auto_reward",
"is_redeem": false,
"end_at": "2023-01-01T15:59:59.999-t-00:00",
"created_at": "2022-08-01T03:55:03.659Z"
}user/create
Topic Name:
- user/create
Description:
- 當有新的 user 建立時觸發
Trigger Point:
- storefront email signup
- storefront mobile signup
- storefront facebook signup
- storefront line signup
- SSO 註冊新增會員
- 商家若有啟用訪客結單功能,訪客結單會觸發
- 訪客留言詢問店家
- 在 Admin 大量匯入新會員
Payload Example:
{
"topic": "user/create",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "5ffd2270958c6c001672f3f8",
"created_at": "2021-01-12T04:18:54.177Z",
"status": "active",
"delivery_addresses": [],
"name": "小明",
"phones": [],
"mobile_phone": "0933077777",
"gender": null,
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": null,
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {},
"order_count": 0,
"orders_total_sum": null
}
}user/membership_tier_update
Topic Name:
- user/membership_tier_update
Description:
- 當顧客會員升級時
Trigger Point:
- 系統會員升級
- 系統會員降級
- 訂單取消降級
- 手動批次更新會員等級
- 顧客詳細頁手動更新會員等級
- OA 更新顧客會員等級
Payload Example:
{
"event": "User",
"merchant_handle": "oatest",
"merchant_id": "5d08b5bf2dd7f50001df4795",
"resource": {
"_id": "62a815c4c7b97c449655eec4",
"birth_day": 19,
"birth_month": 12,
"birth_year": 1999,
"birthday": "1999-12-19",
"confirmed_at": "2022-11-25T02:33:19.050Z",
"created_at": "2022-06-14T05:01:47.704Z",
"credit_balance": 820,
"custom_data": {
"64c62bfebda44c004913ac1f": "天秤做"
},
"delivery_addresses": [
{
"address_1": "中山路二段1號",
"address_2": "板橋區",
"city": "新北市",
"country": "TW",
"logistic_codes": [
"1200003",
"1200059"
],
"postcode": "238",
"recipient_name": "Tom Lee",
"recipient_phone": "0900000000",
"recipient_phone_country_code": "886"
}
],
"email": "[email protected]",
"gender": "male",
"id": "62a815c4c7b97c449655eec4",
"info_reward_claimed": false,
"membership_tier_id": "64c374c9bda44c004313ac1a",
"mobile_phone": "0900000000",
"mobile_phone_country_calling_code": "886",
"name": "Tom Lee",
"order_count": 80,
"orders_total_sum": {
"cents": 111593,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 111593,
"label": "NT$111,593"
},
"owner_id": "5d08b5bf2dd7f50001df4795",
"phone": "0900000000",
"phone_country_code": "886",
"phones": [
"0900000000"
],
"status": "active",
"subscriptions": [
{
"is_active": false,
"platform": "sms"
},
{
"is_active": true,
"platform": "email"
}
],
"tags": [
"小虎隊",
"科學小飛俠"
]
},
"topic": "user/membership_tier_update",
"trace_id": "dff3fafd-6788-4061-ab5c-e0d1332b8d99",
"ts": "1691485364498033700"
}user/mobile_sign_in
Topic Name:
- user/mobile_sign_in
Description:
- 當有顧客使用手機號碼登入時
Trigger Point:
- 當有顧客使用手機號碼登入時
Payload Example:
{
"topic": "user/mobile_sign_in",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "5ffd2270958c6c001672f3f8",
"created_at": "2021-01-12T04:18:54.177Z",
"status": "active",
"delivery_addresses": [],
"name": "綠景",
"phones": [
"0933777193"
],
"mobile_phone": "0933777193",
"gender": null,
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": "[email protected]",
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {},
"order_count": 0,
"orders_total_sum": null
}
}user/mobile_sign_up
Topic Name:
- user/mobile_sign_up
Description:
- 當顧客使用手機號碼註冊時
Trigger Point:
- 當顧客使用手機號碼註冊時
Payload Example:
{
"topic": "user/mobile_sign_up",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "5ffd2270958c6c001672f3f8",
"created_at": "2021-01-12T04:18:54.177Z",
"status": "active",
"delivery_addresses": [],
"name": "綠景",
"phones": [],
"mobile_phone": "0933777193",
"gender": null,
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": null,
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {},
"order_count": 0,
"orders_total_sum": null
}
}user/remove
Topic Name:
- user/remove
Description:
- 當顧客被刪除時
Trigger Point:
- 當顧客被刪除時
Payload Example:
{
"topic": "user/remove",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "600fce080211e2000c1cdacd",
"created_at": "2021-01-26T08:08:40.651Z",
"status": "removed",
"delivery_addresses": [],
"name": "JM",
"phones": [],
"mobile_phone": null,
"gender": "male",
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": "[email protected]",
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {
"5fc76b7d21f58e0026dfd596": ""
},
"order_count": 1,
"orders_total_sum": {
"cents": 260,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$260",
"dollars": 260
}
}
}user/sign_in
Topic Name:
- user/sign_in
Description:
- 當有顧客登入時
Trigger Point:
- 當有顧客登入時
Payload Example:
{
"topic": "user/sign_in",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "5ffd2270958c6c001672f3f8",
"created_at": "2021-01-12T04:18:54.177Z",
"status": "active",
"delivery_addresses": [],
"name": "綠景",
"phones": [],
"mobile_phone": "0933777193",
"gender": null,
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": null,
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {},
"order_count": 0,
"orders_total_sum": null
}
}user/update
Topic Name:
- user/update
Description:
- 當 user 資料更新時觸發
Trigger Point:
- 顧客在會員中心修改個人資料
- 店家在 Admin 修改會員資料
- 會員登入 (自 2024/11/20 後,支援所有登入方式)
- 會員下單
- 會員等級改變
- 任何可能異動會員資料的行為等等
Payload Example:
{
"topic": "user/update",
"event": "User",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "5ffc0024d9e64e00153da059",
"created_at": "2021-01-11T07:38:21.806Z",
"status": "active",
"delivery_addresses": [],
"name": "tester001",
"phones": [],
"mobile_phone": "0931083888",
"gender": "male",
"birthday": "1996-03-05",
"birth_year": 1996,
"birth_month": 3,
"birth_day": 5,
"email": "[email protected]",
"owner_id": "5fc5ea00c43d7f001003999d",
"membership_tier_id": null,
"credit_balance": 0,
"custom_data": {},
"order_count": 0,
"orders_total_sum": null
}
}user_coupon/create
Topic Name:
- user_coupon/create
Description:
- 發送「領取型優惠券」給顧客時觸發
Trigger Point:
- 打 Send Coupon API
- 批量 Send Coupon
- Admin 或 shop 上面操作領取優惠券
Payload Example:
{
"event": "UserCoupon",
"merchant_id": "624fa433df19112100268046",
"resource": {
"code": "b28f799f",
"created_at": "2023-02-09T11:46:49.713Z",
"customer_id": "6268e03b4055ee001e7ddeba",
"id": "63e4dd29b7a078003ce2a1bf",
"promotion_id": "63e4dcb7b7a0780036e2a1be",
"updated_at": "2023-02-09T11:46:49.713Z"
},
"topic": "user_coupon/create",
"trace_id": "334193c5-2da6-4256-905e-56decb02f430",
"ts": "1675943209730104300"
}user_credit/create
Topic Name:
- user_credit/create
Description:
- 購物金建立時
Trigger Point:
- type 購物金種類:
- manual_credit: 手動增減點數
- auto_reward: 點數回饋
- welcome_credit: 新加入會員購物金
- birthday_credit: 生日購物金
- applied_credit: 折抵購物金
- user_credit_expired: 購物金過期
- welcome_member_referral_credit: 透過推薦連結註冊成功
- member_referral_credit: 推薦新顧客進行消費
- member_info_quick_completion_credit: 會員資料獎賞購物金
- order_split_revert: 回補購物金(來自拆單)
- product_review_reward: 商品評價獎賞
- order_edit_revert: 回補購物金(來自編輯訂單)
Payload Example:
{
"created_at": "2023-11-07T04:21:37.393Z",
"credit_balance": 100,
"end_at": null,
"id": "6549bb51771c79004b043761",
"is_redeem": false,
"order_id": null,
"order_wapos_id": null,
"performer_id": "6327e262f571d3003668b6d9",
"performer_name": "SHOPLINE",
"remarks": "測試",
"status": "active",
"type": "manual_credit",
"user_credit_rule_id": null,
"user_id": "65430ae4b92f010023ba5557",
"value": 100,
"value_dollar": {
"cents": 100,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 100,
"label": "NT$100"
}
}Order Related Event
invoice/create
Topic Name:
- invoice/create
Description:
- 網店訂單發票 或 POS 訂單發票(使用關貿或鯨躍開立發票),都會觸發此 webhook
Payload Example:
{
"event": "Invoice",
"merchant_id": "6152cd3b6ed8bb003a727922",
"merchant_handle": "asaktwstg",
"resource": {
"id": "625e67d6fb675000393190cc",
"order_id": "625e670dfb675000333190b9",
"invoice_tax_type": "3",
"invoice_number": "XW10000078",
"invoice_status": "active",
"invoice_date": "2022-04-19"
},
"topic": "invoice/create"
}invoice/update
Topic Name:
- invoice/update
Description:
- 在 Admin 後台作廢發票
Payload Example:
{
"topic": "invoice/update",
"event": "Invoice",
"merchant_id": "6152cd3b6ed8bb003a727922",
"merchant_handle": "asaktwstg",
"resource": {
"id": "625e67d6fb675000393190cc",
"order_id": "625e670dfb675000333190b9",
"invoice_tax_type": "3",
"invoice_number": "XW10000078",
"invoice_status": "cancel",
"invoice_date": "2022-04-19"
}
}order/cancel
Topic Name:
- order/cancel
Description:
- 當訂單被取消時
Payload Example:
{
"topic": "order/cancel",
"event": "Order",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "600fce09aa1e7900174b9ba2",
"created_at": "2021-01-26T08:08:41.042Z",
"seller_id": "5fc5ea00c43d7f001003999d",
"status": "cancelled",
"delivery_option_id": "5fc602ca43e255002022fb85",
"subtotal": {
"cents": 50,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$50",
"dollars": 50
},
"total": {
"cents": 260,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$260",
"dollars": 260
},
"currency_iso": "TWD"
}
}order/complete
Topic Name:
- order/complete
Description:
- 當訂單狀態變成「已完成」時
Payload Example:
{
"event": "Order",
"merchant_handle": "irishsu400",
"merchant_id": "5fd719ea92248a0018024420",
"resource": {
"_id": "64521840619562000e0f5faa",
"affiliate_data": {},
"cart_attributes": {
"affiliate_data": {},
"shop_session_id": ""
},
"channel": {},
"checkout_object_data": {
"_id": "64521840619562000e0f5fa8",
"current_total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"number": "C20230503081600201",
"order_ids": [
"64521840619562000e0f5faa"
]
},
"child_order_ids": [],
"confirmed_at": "2023-05-03T08:20:29.371+00:00",
"created_at": "2023-05-03T08:16:00.054Z",
"created_by": "shop",
"created_from": "shop",
"currency_iso": "TWD",
"custom_data": [
{
"field_id": "635f7a7f13b53d001c477c69",
"field_translations": {
"en": "DHC Testing Money",
"zh-hant": "DHC 測試幣"
},
"value": ""
}
],
"custom_discount_items": null,
"customer_email": "[email protected]",
"customer_id": "5fd822b5ade99b001304a7d9",
"customer_info": {},
"customer_name": "Iris",
"customer_phone": "0989536693",
"customer_phone_country_code": "886",
"delivery_address": {
"address_1": null,
"address_2": null,
"city": null,
"country": "台灣",
"country_code": "TW",
"district": null,
"key": null,
"layer1": null,
"layer2": null,
"layer3": null,
"logistic_codes": null,
"postcode": null,
"recipient_name": "Iris",
"recipient_phone": "0989536693",
"recipient_phone_country_code": "886",
"remarks": null,
"state": null
},
"delivery_data": {
"hk_sfplus_home_region": null,
"location_code": null,
"location_name": null,
"location_short_name": null,
"name_translations": null,
"scheduled_delivery_date": null,
"store_address": null,
"time_slot_key": "",
"time_slot_translations": null,
"tracking_number": "",
"url": null
},
"delivery_option_id": "60d5527bfbb7a2001db51c58",
"ga_tracked": false,
"id": "64521840619562000e0f5faa",
"invoice": {
"buyer_name": "",
"carrier_number": "",
"carrier_type": "",
"invoice_cancelled_at": null,
"invoice_date": null,
"invoice_number": "",
"invoice_status": "",
"invoice_tax_type": "",
"invoice_type": "",
"mailing_address": "",
"n_p_o_b_a_n": "",
"tax_id": ""
},
"invoices": [],
"membership_tier_data": null,
"merchant_order_number": null,
"order_comments": [],
"order_delivery": {
"arrived_at": null,
"collected_at": null,
"delivery_option_id": "60d5527bfbb7a2001db51c58",
"delivery_status": "pending",
"delivery_type": "custom",
"name_translations": {
"en": "Other",
"zh-hant": "其他"
},
"platform": "custom",
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"returned_at": null,
"shipped_at": null,
"status": "pending",
"store_closed_at": null,
"storeclosed_upload_at": null,
"total": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
}
},
"order_discount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"order_notes": [],
"order_number": "20230503081600202",
"order_payment": {
"created_at": "2023-05-03T08:16:00.185Z",
"id": "64521840619562000e0f5fb1",
"last_four_digits": "",
"name_translations": {
"en": "Cash on Delivery",
"zh-hant": "貨到付款"
},
"paid_at": null,
"payment_data": {},
"payment_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"payment_method_id": "607a596907e0710023fab3ef",
"payment_slips_setting": null,
"payment_type": "cash_on_delivery",
"ref_payment_id": null,
"status": "pending",
"total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"updated_at": "2023-05-03T08:16:01.296Z"
},
"order_points_to_cash": {
"cents": 1,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1,
"label": "NT$1"
},
"order_remarks": "",
"order_source": {
"id": "6125ed4f693a9f2e6eedcb4f",
"name": null,
"source_id": null,
"type": "storefront"
},
"parent_order_id": null,
"payment_slips": [],
"promotion_items": [
{
"created_at": "2023-05-03T08:16:00.117Z",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"id": "64521840619562000e0f5fac",
"promotion": {
"_id": "630c695f5c21e00025a59801",
"addon_product_id": null,
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2022-08-29T07:23:11.795Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "gift",
"discountable_category_ids": [],
"discountable_product_ids": [
"61ea5064fe2f5e0029bcae83"
],
"discountable_quantity": 1,
"discounted_point": null,
"discounted_price": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"id": "630c695f5c21e00025a59801",
"is_accumulated": false,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "5fd719ea92248a0018024420",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": false,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2022-08-29T07:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "美白水",
"zh-hant": "美白水"
},
"updated_at": "2022-10-05T10:59:25.198Z",
"use_count": 29,
"user_max_use_count": 0,
"whitelisted_tag_contents": []
},
"subtotal_after": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"updated_at": "2023-05-03T08:16:00.117Z"
}
],
"ref_customer_id": "",
"ref_order_id": "",
"return_from_order_id": null,
"seller_id": "5fd719ea92248a0018024420",
"skip_fulfillment": false,
"split_at": null,
"status": "completed",
"subtotal": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"subtotal_items": [
{
"cost": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64521840619562000e0f5fae",
"is_preorder": false,
"item_data": {
"cart_item_id": "6452183f619562000e0f5fa5",
"parent_item_ids": [
"6452183f619562000e0f5fa4"
],
"promotion_id": "630c695f5c21e00025a59801",
"triggering_item_id": null
},
"item_id": "61ea5064fe2f5e0029bcae83",
"item_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"item_type": "Gift",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "61ea503dc82e5f001a54e910",
"alt_translations": {},
"images": {
"favicon": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"favicon_large": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"favicon_small": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"original": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"source": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"thumb": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_large": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_thumb": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_xlarge": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
}
}
},
"object_data": {
"barcode_type": "Code 128",
"weight": 1.1
},
"order_discounted_price": null,
"price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 1,
"ref_data": null,
"sku": "white11",
"title_translations": {
"zh-hant": "[保健食品] 美白水"
},
"total": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"total_points": null
},
{
"cost": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64521840619562000e0f5fad",
"is_preorder": false,
"item_data": {
"cart_item_id": "378253556",
"has_exclude_promotion_tag": false,
"member_point_ratio_amount": 1,
"member_point_redeem_to_cash_ratio_amount": {
"cents": 1,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1,
"label": "NT$1"
},
"order_promotion_items": {},
"parent_item_ids": [],
"promotion_id": null,
"triggering_item_id": ""
},
"item_id": "6391a20a674380002e198546",
"item_price": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"item_type": "Product",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "6391a1f0724e0c002e166c8a",
"alt_translations": {},
"images": {
"favicon": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"favicon_large": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"favicon_small": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"original": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"source": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"thumb": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_large": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_thumb": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_xlarge": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
}
}
},
"object_data": {
"adult": "no",
"age_group": "all_ages",
"barcode_type": "Code 128",
"condition": "new",
"gender": "unisex",
"max_order_quantity": -1,
"weight": 0
},
"order_discounted_price": null,
"price": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 1,
"ref_data": null,
"sku": "SKUtest1",
"title_translations": {
"en": "抱枕",
"zh-hant": "抱枕"
},
"total": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"total_points": null
}
],
"system_order_number": "20230503081600202",
"total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"total_tax_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"updated_at": "2023-05-03T08:20:29.392Z",
"user_credit": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"utm_data": {}
},
"topic": "order/complete",
"trace_id": "f2eaa9fc-f05b-4980-a13c-5cfd0dd5597e",
"ts": "1683102029413003500"
}order/confirm
Topic Name:
- order/confirm
Description:
- 當訂單狀態變成「已確認」時
Payload Example:
{
"event": "Order",
"merchant_handle": "irishsu40",
"merchant_id": "5fd719ea92248a0018024420",
"resource": {
"_id": "64521840619562000e0f5faa",
"affiliate_data": {},
"cart_attributes": {
"affiliate_data": {},
"shop_session_id": ""
},
"channel": {},
"checkout_object_data": {
"_id": "64521840619562000e0f5fa8",
"current_total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"number": "C20230503081600201",
"order_ids": [
"64521840619562000e0f5faa"
]
},
"child_order_ids": [],
"confirmed_at": "2023-05-03T08:20:29.371+00:00",
"created_at": "2023-05-03T08:16:00.054Z",
"created_by": "shop",
"created_from": "shop",
"currency_iso": "TWD",
"custom_data": [
{
"field_id": "635f7a7f13b53d001c477c69",
"field_translations": {
"en": "Testing Money",
"zh-hant": "測試幣"
},
"value": ""
}
],
"custom_discount_items": null,
"customer_email": "[email protected]",
"customer_id": "5fd822b5ade99b001304a7d9",
"customer_info": {},
"customer_name": "Iris",
"customer_phone": "0988777666",
"customer_phone_country_code": "886",
"delivery_address": {
"address_1": null,
"address_2": null,
"city": null,
"country": "台灣",
"country_code": "TW",
"district": null,
"key": null,
"layer1": null,
"layer2": null,
"layer3": null,
"logistic_codes": null,
"postcode": null,
"recipient_name": "Iris",
"recipient_phone": "0988777666",
"recipient_phone_country_code": "886",
"remarks": null,
"state": null
},
"delivery_data": {
"hk_sfplus_home_region": null,
"location_code": null,
"location_name": null,
"location_short_name": null,
"name_translations": null,
"scheduled_delivery_date": null,
"store_address": null,
"time_slot_key": "",
"time_slot_translations": null,
"tracking_number": "",
"url": null
},
"delivery_option_id": "60d5527bfbb7a2001db51c58",
"ga_tracked": false,
"id": "64521840619562000e0f5faa",
"invoice": {
"buyer_name": "",
"carrier_number": "",
"carrier_type": "",
"invoice_cancelled_at": null,
"invoice_date": null,
"invoice_number": "",
"invoice_status": "",
"invoice_tax_type": "",
"invoice_type": "",
"mailing_address": "",
"n_p_o_b_a_n": "",
"tax_id": ""
},
"invoices": [],
"membership_tier_data": null,
"merchant_order_number": null,
"order_comments": [],
"order_delivery": {
"arrived_at": null,
"collected_at": null,
"delivery_option_id": "60d5527bfbb7a2001db51c58",
"delivery_status": "pending",
"delivery_type": "custom",
"name_translations": {
"en": "Other",
"zh-hant": "其他"
},
"platform": "custom",
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"returned_at": null,
"shipped_at": null,
"status": "pending",
"store_closed_at": null,
"storeclosed_upload_at": null,
"total": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
}
},
"order_discount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"order_notes": [],
"order_number": "20230503081600202",
"order_payment": {
"created_at": "2023-05-03T08:16:00.185Z",
"id": "64521840619562000e0f5fb1",
"last_four_digits": "",
"name_translations": {
"en": "Cash on Delivery",
"zh-hant": "貨到付款"
},
"paid_at": null,
"payment_data": {},
"payment_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"payment_method_id": "607a596907e0710023fab3ef",
"payment_slips_setting": null,
"payment_type": "cash_on_delivery",
"ref_payment_id": null,
"status": "pending",
"total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"updated_at": "2023-05-03T08:16:01.296Z"
},
"order_points_to_cash": {
"cents": 1,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1,
"label": "NT$1"
},
"order_remarks": "",
"order_source": {
"id": "6125ed4f693a9f2e6eedcb4f",
"name": null,
"source_id": null,
"type": "storefront"
},
"parent_order_id": null,
"payment_slips": [],
"promotion_items": [
{
"created_at": "2023-05-03T08:16:00.117Z",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"id": "64521840619562000e0f5fac",
"promotion": {
"_id": "630c695f5c21e00025a59801",
"addon_product_id": null,
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2022-08-29T07:23:11.795Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "gift",
"discountable_category_ids": [],
"discountable_product_ids": [
"61ea5064fe2f5e0029bcae83"
],
"discountable_quantity": 1,
"discounted_point": null,
"discounted_price": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"id": "630c695f5c21e00025a59801",
"is_accumulated": false,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "5fd719ea92248a0018024420",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": false,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2022-08-29T07:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "美白水",
"zh-hant": "美白水"
},
"updated_at": "2022-10-05T10:59:25.198Z",
"use_count": 29,
"user_max_use_count": 0,
"whitelisted_tag_contents": []
},
"subtotal_after": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"updated_at": "2023-05-03T08:16:00.117Z"
}
],
"ref_customer_id": "",
"ref_order_id": "",
"return_from_order_id": null,
"seller_id": "5fd719ea92248a0018024420",
"skip_fulfillment": false,
"split_at": null,
"status": "completed",
"subtotal": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"subtotal_items": [
{
"cost": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64521840619562000e0f5fae",
"is_preorder": false,
"item_data": {
"cart_item_id": "6452183f619562000e0f5fa5",
"parent_item_ids": [
"6452183f619562000e0f5fa4"
],
"promotion_id": "630c695f5c21e00025a59801",
"triggering_item_id": null
},
"item_id": "61ea5064fe2f5e0029bcae83",
"item_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"item_type": "Gift",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "61ea503dc82e5f001a54e910",
"alt_translations": {},
"images": {
"favicon": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"favicon_large": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"favicon_small": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"original": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"source": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"thumb": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_large": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_thumb": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
},
"transparent_xlarge": {
"height": 819,
"url": "https://img.shoplineapp.com/media/image_clips/61ea503dc82e5f001a54e910/original.jpg?1642745917",
"width": 721
}
}
},
"object_data": {
"barcode_type": "Code 128",
"weight": 1.1
},
"order_discounted_price": null,
"price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 1,
"ref_data": null,
"sku": "white11",
"title_translations": {
"zh-hant": "[保健食品] 美白水"
},
"total": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"total_points": null
},
{
"cost": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64521840619562000e0f5fad",
"is_preorder": false,
"item_data": {
"cart_item_id": "378253556",
"has_exclude_promotion_tag": false,
"member_point_ratio_amount": 1,
"member_point_redeem_to_cash_ratio_amount": {
"cents": 1,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1,
"label": "NT$1"
},
"order_promotion_items": {},
"parent_item_ids": [],
"promotion_id": null,
"triggering_item_id": ""
},
"item_id": "6391a20a674380002e198546",
"item_price": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"item_type": "Product",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "6391a1f0724e0c002e166c8a",
"alt_translations": {},
"images": {
"favicon": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"favicon_large": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"favicon_small": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"original": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"source": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"thumb": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_large": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_thumb": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
},
"transparent_xlarge": {
"height": 3024,
"url": "https://img.shoplineapp.com/media/image_clips/6391a1f0724e0c002e166c8a/original.jpg?1670488559",
"width": 4032
}
}
},
"object_data": {
"adult": "no",
"age_group": "all_ages",
"barcode_type": "Code 128",
"condition": "new",
"gender": "unisex",
"max_order_quantity": -1,
"weight": 0
},
"order_discounted_price": null,
"price": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 1,
"ref_data": null,
"sku": "SKUtest1",
"title_translations": {
"en": "抱枕",
"zh-hant": "抱枕"
},
"total": {
"cents": 300,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 300,
"label": "NT$300"
},
"total_points": null
}
],
"system_order_number": "20230503081600202",
"total": {
"cents": 299,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 299,
"label": "NT$299"
},
"total_tax_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"updated_at": "2023-05-03T08:20:29.392Z",
"user_credit": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"utm_data": {}
},
"topic": "order/complete",
"trace_id": "f2eaa9fc-f05b-4980-a13c-5cfd0dd5597e",
"ts": "1683102029413003500"
}order/create
Topic Name:
- order/create
Description:
- 當有新訂單產生時 (包含 SHOPLINE POS 產生的訂單)
Trigger Point:
- EC 建立新訂單
- POS 建立新訂單
- smartOMO 建立新訂單
- 拆單
Payload Example:
{
"_id": "65a8902d175bae005f416994",
"id": "65a8902d175bae005f416994",
"order_number": "20240118024253773",
"system_order_number": "20240118024253773",
"merchant_order_number": null,
"status": "pending",
"seller_id": "6294898aa088344648a1c17a",
"delivery_option_id": "657a7f60f400f7005926b683",
"order_remarks": "",
"order_payment": {
"id": "65a8902d175bae005f41699e",
"payment_method_id": "6535e35bc92d80004f6c1030",
"payment_type": "custom",
"name_translations": {
"zh-hant": "1️⃣自訂☝🏻",
"zh-cn": "",
"vi": "",
"ms": "",
"ja": "",
"id": "",
"de": ""
},
"status": "pending",
"payment_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"total": {
"cents": 206,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$206",
"dollars": 206
},
"paid_at": null,
"updated_at": "2024-01-18T02:42:54.982Z",
"created_at": "2024-01-18T02:42:53.252Z",
"payment_data": {},
"last_four_digits": "",
"ref_payment_id": null,
"payment_slips_setting": {
"enabled": false,
"days_of_guest_view": 1
}
},
"order_delivery": {
"delivery_option_id": "657a7f60f400f7005926b683",
"platform": "custom",
"status": "pending",
"delivery_status": "pending",
"name_translations": {
"en": "",
"zh-hant": "vic自訂-1",
"zh-cn": "",
"vi": "",
"ms": "",
"ja": "",
"id": "",
"de": "",
"fr": ""
},
"total": {
"cents": 7,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$7",
"dollars": 7
},
"shipped_at": null,
"arrived_at": null,
"collected_at": null,
"returned_at": null,
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"store_closed_at": null,
"storeclosed_upload_at": null,
"delivery_type": "custom"
},
"delivery_address": {
"country_code": "TW",
"country": "台灣",
"city": "台北市",
"state": null,
"postcode": "103",
"address_1": "1",
"address_2": "大同區",
"key": null,
"layer1": null,
"layer2": null,
"layer3": null,
"district": null,
"logistic_codes": [
"1200001",
"1200024"
],
"recipient_name": "vic",
"recipient_phone": "0953761119",
"recipient_phone_country_code": "886",
"remarks": null
},
"delivery_data": {
"hk_sfplus_home_region": null,
"location_code": null,
"location_name": null,
"location_short_name": null,
"name_translations": null,
"store_address": null,
"url": null,
"tracking_number": "",
"scheduled_delivery_date": null,
"time_slot_key": "",
"time_slot_translations": null
},
"cart_attributes": {
"cart_id": 1068009,
"affiliate_data": {},
"shop_session_id": ""
},
"customer_id": "654af65090fcb3001ddc6228",
"customer_name": "vic",
"customer_email": "[email protected]",
"customer_phone": "0953761119",
"customer_phone_country_code": "886",
"customer_info": {
"gender": "male",
"birthday": "1981-10-05",
"birth_year": 1981,
"birth_month": 10,
"birth_day": 5,
"custom_data": [
{
"value": "",
"name_translations": {
"zh-hant": "自訂#1"
},
"field_id": "64dd891d09b2420038fdf678"
},
{
"value": "",
"name_translations": {
"zh-hant": "自訂#2"
},
"field_id": "64dd891d09b2420038fdf679"
},
{
"value": "",
"name_translations": {
"zh-hant": "自訂#3"
},
"field_id": "64fec6b9c77272003fe5ca27"
}
]
},
"currency_iso": "TWD",
"subtotal": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"order_discount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"user_credit": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"total_tax_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"total": {
"cents": 206,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$206",
"dollars": 206
},
"order_points_to_cash": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"invoice": {
"tax_id": "",
"mailing_address": "",
"invoice_type": "0",
"buyer_name": "",
"carrier_type": "0",
"carrier_number": "",
"n_p_o_b_a_n": "",
"invoice_tax_type": "3",
"invoice_number": "WE01325153",
"invoice_status": "active",
"invoice_date": "2024-01-18",
"invoice_cancelled_at": null
},
"invoices": [
{
"tax_id": "",
"mailing_address": "",
"invoice_type": "0",
"buyer_name": "",
"carrier_type": "0",
"carrier_number": "",
"n_p_o_b_a_n": "",
"invoice_tax_type": "3",
"invoice_number": "WE01325153",
"invoice_status": "active",
"invoice_date": "2024-01-18"
}
],
"subtotal_items": [
{
"id": "65a8902d175bae005f41699a",
"item_type": "Product",
"item_data": {
"cart_item_id": "1733328",
"promotion_id": null,
"parent_item_ids": [],
"triggering_item_id": "",
"order_promotion_items": {},
"custom_discounted_amount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"custom_discounted_amount_items": [],
"variation_data": {
"_id": "65955971acc0e70059409d2c",
"barcode_type": "Code 128",
"cost": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$0",
"dollars": 0
},
"created_at": "2024-01-03T12:56:17.931Z",
"feed_variations": {
"size": {
"en": "",
"zh-hant": "S",
"zh-cn": "",
"vi": "",
"ja": "",
"ms": "",
"id": "",
"de": "",
"fr": "",
"th": ""
}
},
"fields": [
{
"name_translations": {
"en": "",
"zh-hant": "S",
"zh-cn": "",
"vi": "",
"ja": "",
"ms": "",
"id": "",
"de": "",
"fr": "",
"th": ""
}
}
],
"fields_translations": {
"en": [
""
],
"zh-hant": [
"S"
],
"zh-cn": [
""
],
"vi": [
""
],
"ja": [
""
],
"ms": [
""
],
"id": [
""
],
"de": [
""
],
"fr": [
""
],
"th": [
""
]
},
"gtin": "80703813",
"key": "65955971355ec1003b9884d3",
"location_id": null,
"max_order_quantity": -1,
"media_id": null,
"member_price": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"mpn": null,
"out_of_stock_orderable": false,
"preorder_limit": -1,
"price": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"price_sale": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$0",
"dollars": 0
},
"product_price_tiers": null,
"root_product_variation_id": null,
"sku": null,
"stock_ids": [
"637ae26c3e619f0036b2ac41",
"637ae26c3e619f0036b2ac42"
],
"unlimited_quantity": null,
"updated_at": "2024-01-17T07:03:20.704Z",
"variant_option_ids": [
"65955971acc0e70059409d2f"
],
"wapos_id": null,
"weight": 0,
"media_hash": {}
}
},
"item_id": "65955971acc0e70059409d32",
"item_variation_id": "65955971acc0e70059409d2c",
"item_variation_key": "65955971355ec1003b9884d3",
"item_price": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"price": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"price_sale": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$0",
"dollars": 0
},
"cost": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$0",
"dollars": 0
},
"ref_data": null,
"media": {
"images": {
"original": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"favicon_small": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"favicon": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"favicon_large": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"transparent_thumb": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"transparent_large": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"transparent_xlarge": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"thumb": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
},
"source": {
"width": 750,
"height": 1000,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/659575b9acc0e730a04099e1/original.jpeg?1704293817"
}
},
"_id": "659575b9acc0e730a04099e1",
"alt_translations": {},
"blurhash": "UPQ0U9t7_Na|t7ayayj[~qWB9FofWBofoeWB"
},
"title_translations": {
"zh-hant": "單規格2☔️"
},
"fields_translations": {
"en": [
""
],
"zh-hant": [
"S"
],
"zh-cn": [
""
],
"vi": [
""
],
"ja": [
""
],
"ms": [
""
],
"id": [
""
],
"de": [
""
],
"fr": [
""
],
"th": [
""
]
},
"sku": "",
"is_preorder": false,
"preorder_note_translations": {},
"quantity": 1,
"total": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"order_discounted_price": null,
"discounted_price": null,
"total_points": null,
"created_by": "admin",
"object_data": {
"gender": "unisex",
"age_group": "all_ages",
"adult": "no",
"condition": "new",
"brand": null
}
},
{
"id": "65a8902d175bae005f41699b",
"item_type": "Gift",
"item_data": {
"cart_item_id": "65a8902c175bae005f41698a",
"promotion_id": "657a858c45e25e0059897ee9",
"parent_item_ids": [
"65a8902c175bae005f416989"
],
"triggering_item_id": ""
},
"item_id": "6315c90e909ebf003a7eb010",
"item_variation_id": "",
"item_variation_key": "",
"item_price": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"price": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"price_sale": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$0",
"dollars": 0
},
"cost": {
"cents": 10,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$10",
"dollars": 10
},
"ref_data": null,
"media": {
"images": {
"original": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"favicon_small": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"favicon": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"favicon_large": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"transparent_thumb": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"transparent_large": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"transparent_xlarge": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"thumb": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
},
"source": {
"width": 1170,
"height": 1164,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/6595742facc0e733914099c6/original.jpg?1704293423"
}
},
"_id": "6595742facc0e733914099c6",
"alt_translations": {},
"blurhash": "UHQT4bog~Wt7xvfQV@fQ~qj[oWj?IUf7xvfR"
},
"title_translations": {
"zh-hant": "贈品"
},
"fields_translations": {},
"sku": "",
"is_preorder": false,
"preorder_note_translations": {},
"quantity": 1,
"total": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"order_discounted_price": null,
"discounted_price": null,
"total_points": null,
"created_by": "admin",
"object_data": {
"weight": 0,
"barcode_type": "Code 128",
"gtin": "76352256"
}
}
],
"promotion_items": [
{
"id": "65a8902d175bae005f416996",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"subtotal_after": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"promotion": {
"_id": "657a858c45e25e0059897ee9",
"addon_product_id": null,
"available_channel_ids": [],
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2023-12-14T04:33:16.494Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "gift",
"discountable_category_ids": [],
"discountable_product_ids": [
"6315c90e909ebf003a7eb010"
],
"discountable_quantity": 1,
"discounted_point": null,
"discounted_price": null,
"draw_end_at": null,
"draw_from": null,
"draw_start_at": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"is_accumulated": false,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "6294898aa088344648a1c17a",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": false,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2023-12-14T04:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"zh-hant": "無條件送贈品"
},
"updated_at": "2024-01-25T06:31:21.247Z",
"use_count": 358,
"user_max_use_count": 0,
"whitelisted_tag_contents": [],
"id": "657a858c45e25e0059897ee9"
},
"updated_at": "2024-01-18T02:42:53.190Z",
"created_at": "2024-01-18T02:42:53.190Z"
},
{
"id": "65a8902d175bae005f416997",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"subtotal_after": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"promotion": {
"_id": "6537643d740bcb00465be5e7",
"addon_product_id": null,
"available_channel_ids": [],
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2023-10-24T06:29:17.850Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "credit_reward",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"draw_end_at": null,
"draw_from": null,
"draw_start_at": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"is_accumulated": true,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "6294898aa088344648a1c17a",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": true,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2023-10-24T07:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "",
"zh-hant": "消費滿100回饋5%購物金",
"zh-cn": "",
"vi": "",
"ms": "",
"ja": "",
"id": "",
"de": ""
},
"updated_at": "2024-01-06T15:20:18.834Z",
"use_count": 576,
"user_max_use_count": null,
"whitelisted_tag_contents": [],
"id": "6537643d740bcb00465be5e7"
},
"updated_at": "2024-01-18T02:42:53.190Z",
"created_at": "2024-01-18T02:42:53.190Z"
},
{
"id": "65a8902d175bae005f416998",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"subtotal_after": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"promotion": {
"_id": "65961accd34978005d6afbb5",
"addon_product_id": null,
"available_channel_ids": [],
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2024-01-04T02:41:17.115Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "credit_reward",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"draw_end_at": null,
"draw_from": null,
"draw_start_at": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"is_accumulated": true,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "6294898aa088344648a1c17a",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": true,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2024-01-04T03:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "",
"zh-hant": "多階🌟全單滿1件1%;2件2%;滿5件5%",
"zh-cn": "",
"vi": "",
"ms": "",
"ja": "",
"th": "",
"id": "",
"de": "",
"fr": ""
},
"updated_at": "2024-01-12T04:48:44.185Z",
"use_count": 65,
"user_max_use_count": null,
"whitelisted_tag_contents": [],
"id": "65961accd34978005d6afbb5"
},
"updated_at": "2024-01-18T02:42:53.190Z",
"created_at": "2024-01-18T02:42:53.190Z"
},
{
"id": "65a8902d175bae005f416999",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0
},
"subtotal_after": {
"cents": 199,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$199",
"dollars": 199
},
"promotion": {
"_id": "659d0ad11c70b6005f841def",
"addon_product_id": null,
"available_channel_ids": [],
"available_platforms": [
"ec"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2024-01-09T08:58:57.984Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "credit_reward",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"draw_end_at": null,
"draw_from": null,
"draw_start_at": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"is_accumulated": true,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "6294898aa088344648a1c17a",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": true,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2024-01-09T09:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "",
"zh-hant": "多階🌟全單滿$150贈1%;$300贈2%;$450贈3%",
"zh-cn": "",
"vi": "",
"ms": "",
"ja": "",
"th": "",
"de": "",
"fr": ""
},
"updated_at": "2024-01-09T08:58:57.984Z",
"use_count": 52,
"user_max_use_count": null,
"whitelisted_tag_contents": [],
"id": "659d0ad11c70b6005f841def"
},
"updated_at": "2024-01-18T02:42:53.190Z",
"created_at": "2024-01-18T02:42:53.190Z"
}
],
"custom_data": [
{
"value": "",
"field_translations": {
"zh-hant": "自訂欄位❣️1"
},
"field_id": "65a7a8fc13b3640086101734"
},
{
"value": "",
"field_translations": {
"zh-hant": "自訂欄位❣️2"
},
"field_id": "65a7a8fc13b3640086101735"
},
{
"value": "",
"field_translations": {
"zh-hant": "自訂欄位❣️3"
},
"field_id": "65a7a8fc13b3640086101736"
}
],
"custom_discount_items": null,
"affiliate_data": {},
"ref_order_id": "",
"ref_customer_id": "",
"channel": {},
"parent_order_id": null,
"child_order_ids": [],
"split_at": null,
"confirmed_at": "2024-01-18T07:45:04.950+00:00",
"created_from": "shop",
"created_by": "shop",
"updated_at": "2024-01-18T07:45:23.763Z",
"created_at": "2024-01-18T02:42:53.091Z",
"edited_at": null,
"skip_fulfillment": false,
"utm_data": {},
"ga_tracked": false,
"order_comments": [],
"order_notes": [],
"payment_slips": [],
"affiliate_campaign": null,
"order_source": {
"id": "62949e5637b44300332e93a4",
"type": "storefront",
"source_id": null,
"name": null
},
"return_from_order_id": null,
"membership_tier_data": null,
"checkout_object_data": {
"_id": "65a8902d175bae005f416992",
"number": "C20240118024253772",
"current_total": {
"cents": 206,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$206",
"dollars": 206
},
"order_ids": [
"65a8902d175bae005f416994"
]
}
}order/payment_slip_upload
Topic Name:
- order/payment_slip_upload
Description:
- 當顧客上傳付款憑證到訂單時 (mc_shop_message_refactor feature key on)
Payload Example:
{
"event": "PaymentSlip",
"merchant_id": "624fa433df19112100268046",
"custom_data": {
"order_id": "62a9ccb3f9a19b003a37af73",
"paid_time": "2022-06-21T16:00:00.000Z"
},
"id": "62b2ed7f13cdad0021773834",
"images": {
"_id": "62b2ed6413cdad001e773833",
"alt_translations": {},
"presigned_url": "https://img-shoplineapp-com.s3.ap-southeast-1.amazonaws.com/media/image_clips/private/62b2ed6413cdad001e773833/original.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAU3BJT6VWNWC3NXW6%2F20220622%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T102256Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2lvdXRoZWFzdC0xIkcwRQIhAMYOIgobyDk9e3%2Fa513daqAsSlmbYQ2KSpH5AzTr4d%2BRAiBY5Ag9HEmHZE0CxHcRSfFjo0KsP6dOx5MvMD6jZDtu1irMBQhcEAAaDDMzMjk0NzI1NjY4NCIMqBw%2BtwqA0Z8OV5xTKqkFOBNQUes5YEQXDKIqy7y2jb0cmV8egLDuYkNhmO6gtmvHa0lv0TEEVidueoc2Fw3ojjUwyQnsitIx12PpP3jloxVAMJYPlE3974DwDqoHPntJG9sX8bHRNzz3TCmvL37RwkWnifDW33AibPhKZTq8HgIgYbDbVCcc2qXLodCPbD0cJwkgPOcpPPER6Vjc7iVFgi%2FG%2BCriNNPrmcfcnKnC1lVuZh13Qv7IIEK640hMpCxWhyLlSfxU4jCWef3byVpdt%2BR3SxaCeB95No44Sl7%2FLWhih9hhq0GONrafZSf9kWikc%2BARlh335lvYhG0wSMJjBzOcLYyp76sbznf3EXOcZC5XjLzSPCBXfn3GMep7qEk0ZK6xrkaCBHdadmFLF0%2FpBZ20GKUszQP8JiMkbDVI5q8ibphQib4o7xhj7D8KBRuPd7rSP0SCL7QZNDtfqNrUlroyHXeXS9RTYcrJX75Bk3gMrbYoVwcMNczGwSra3XOSAiPFZKTXfXe62XiA7m62tmdmR8LsTsD%2F7DQo%2BVipzApT65X9GYe5prSa9tGRnaJbF3V4PEfkJmvnfMDF9cP2hiJZGQHk%2BsI%2FMfhi8x4OJYWZGCf%2FMiLQeMarxOJlEkBWlFjKe4FwLrmfTUIu2cAKGWRLKIRY4TUJ%2FBrsLGSAUJzmGJ5LJgmnp3Db0rlEuZduA5SakWBrAQlcKW1DwZzhwhq7fy3rX6DnygzFWXXJ2xN1E5ry7DT0UmNZXI10ehiYJQLdO%2FnDdjam6Hf3LReDF%2B4i2Wz90MXkNrfQpkPnUjm4ULaUc%2B5UWaQexCWuOXt4wXWPizYoOtUkTri2aPcXA%2Boy2lzbOl6GfP2PrQzMP3hkUznghxXPvQUC3%2FlWBChe1T1PWS1TzAgSv30Rgu1Q2TNQbDrO2nGRMIDby5UGOpsBZuSbt%2BClN%2Fwo7btwf8slK46MArjkaSfZjPOTCm7sakJHDbugEEsEwrSkSEVg%2FKej36%2BBv8zYIijTldVDRmeq98W1KaQ6o1mT5sgFAU6yWs6FJPtd49L4YqzbNYvmBcmt6AX0dQKdmKs6sIZkC0KMxfSzgdnfF%2Bh8tCvx1K2YSBXALeCM65A2%2BA9zvNAhq8ccsbocJGgaEfU6QEU%3D&X-Amz-Signature=c5506ba704aed74d39f35939bbc7d88f6a1c19ad4fa1xxxxxxxxxxxxxxxxxxxxx"
},
"is_last": true,
"is_private": true,
"owner_id": "6268e03b4055ee001e7ddeba",
"owner_type": "User",
"text": "Hi, I has already transfer $100 to your bank account.",
"trackable_id": "62a9ccb3f9a19b003a37af81",
"trackable_type": "OrderPayment",
"resource": {
"id": ""
},
"topic": "order/payment_slip_upload"
}order/pending
Topic Name:
- order/pending
Description:
- 當訂單狀態變成「處理中」時
Payload Example:
{
"event":"Order",
"merchant_handle":"peggylvtws2",
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"resource":{
"_id":"657c10c3a4693600603c5ed1",
"affiliate_campaign":null,
"affiliate_data":{
},
"cart_attributes":{
"affiliate_data":{
},
"shop_session_id":""
},
"channel":{
},
"checkout_object_data":{
"_id":"657c10c3a4693600603c5ecf",
"current_total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"number":"C20231215083931518",
"order_ids":[
"657c10c3a4693600603c5ed1"
]
},
"child_order_ids":[
],
"confirmed_at":null,
"created_at":"2023-12-15T08:39:31.109Z",
"created_by":"shop",
"created_from":"shop",
"currency_iso":"TWD",
"custom_data":[
],
"custom_discount_items":null,
"customer_email":"[email protected]",
"customer_id":"6234735420ea0600079bea8e",
"customer_info":{
"birth_day":4,
"birth_month":2,
"birth_year":1991,
"birthday":"1991-02-04",
"custom_data":[
{
"field_id":"638ee1537ac494003c2311e3",
"name_translations":{
"en":"dev自訂欄位-en",
"ja":"dev自訂欄位-jp",
"zh-cn":"dev自訂欄位-簡",
"zh-hant":"dev自訂欄位-繁"
},
"value":""
},
{
"field_id":"638ee58e445a63003fb1479e",
"name_translations":{
"en":"小卡分支-自訂欄位2-en",
"ja":"小卡分支-自訂欄位2-jp",
"ms":"小卡分支-自訂欄位2-my",
"th":"小卡分支-自訂欄位2-th",
"vi":"小卡分支-自訂欄位2-vn",
"zh-cn":"小卡分支-自訂欄位2-簡",
"zh-hant":"小卡分支-自訂欄位2-繁"
},
"value":""
},
{
"field_id":"63904a52c9e5a20039bd42fa",
"name_translations":{
"en":"自訂3-en",
"zh-cn":"啦啦啦",
"zh-hant":"自訂3update"
},
"value":""
}
],
"gender":"male"
},
"customer_name":"t1",
"customer_phone":"13794680000",
"customer_phone_country_code":"86",
"delivery_address":{
"address_1":null,
"address_2":null,
"city":null,
"country":"Hong Kong",
"country_code":"HK",
"district":null,
"key":null,
"layer1":null,
"layer2":null,
"layer3":null,
"logistic_codes":null,
"postcode":null,
"recipient_name":"t1",
"recipient_phone":"13794680000",
"recipient_phone_country_code":"86",
"remarks":null,
"state":null
},
"delivery_data":{
"hk_sfplus_home_region":null,
"location_code":null,
"location_name":null,
"location_short_name":null,
"name_translations":null,
"scheduled_delivery_date":null,
"store_address":null,
"time_slot_key":"",
"time_slot_translations":null,
"tracking_number":"",
"url":null
},
"delivery_option_id":"62347576e5cefb003604be37",
"edited_at":null,
"ga_tracked":false,
"id":"657c10c3a4693600603c5ed1",
"invoice":{
"buyer_name":"",
"carrier_number":"",
"carrier_type":"",
"invoice_cancelled_at":null,
"invoice_date":null,
"invoice_number":"",
"invoice_status":"",
"invoice_tax_type":"",
"invoice_type":"",
"mailing_address":"",
"n_p_o_b_a_n":"",
"tax_id":""
},
"invoices":[
],
"membership_tier_data":null,
"merchant_order_number":null,
"order_comments":[
],
"order_delivery":{
"arrived_at":null,
"collected_at":null,
"delivery_option_id":"62347576e5cefb003604be37",
"delivery_status":"pending",
"delivery_type":"custom",
"name_translations":{
"en":"自訂物流-en",
"ms":"自訂物流-my",
"th":"自訂物流-th",
"vi":"自訂物流-vn",
"zh-cn":"自訂物流-簡",
"zh-hant":"自訂物流-繁"
},
"platform":"custom",
"remark":null,
"request_accepted_at":null,
"request_authorized_at":null,
"request_submitted_at":null,
"requested_fmt_at":null,
"require_expired_upload":false,
"require_storeclosed_upload":false,
"return_order_id":null,
"returned_at":null,
"shipped_at":null,
"status":"pending",
"store_closed_at":null,
"storeclosed_upload_at":null,
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
}
},
"order_discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_notes":[
],
"order_number":"20231215083931519",
"order_payment":{
"created_at":"2023-12-15T08:39:31.286Z",
"id":"657c10c3a4693600603c5ee2",
"last_four_digits":"",
"name_translations":{
"en":"自訂付款方式-en",
"ms":"自訂付款方式-my",
"th":"自訂付款方式-th",
"vi":"自訂付款方式-vn",
"zh-cn":"自訂付款方式-簡",
"zh-hant":"自訂付款方式-繁"
},
"paid_at":null,
"payment_data":{
},
"payment_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"payment_method_id":"624826a23bf82a65a6a5bce4",
"payment_slips_setting":{
"days_of_guest_view":1,
"enabled":false
},
"payment_type":"custom",
"ref_payment_id":null,
"status":"pending",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"updated_at":"2023-12-15T08:39:33.979Z"
},
"order_points_to_cash":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"order_remarks":"",
"order_source":{
"id":"623732e2e5cefb003f04be49",
"name":null,
"source_id":null,
"type":"storefront"
},
"parent_order_id":null,
"payment_slips":[
],
"promotion_items":[
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed3",
"promotion":{
"_id":"6459ed904ebf46003b52c4dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-09T06:52:00.607Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"gift",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62345d41e5cefb003c04be95"
],
"discountable_quantity":1,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6459ed904ebf46003b52c4dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"下單即送贈品"
},
"updated_at":"2023-05-17T08:41:38.105Z",
"use_count":107,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed7",
"promotion":{
"_id":"63fc8705f79ddc004abb26e6",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-27T10:33:41.760Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"item",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62373cd1e5cefb003604be53",
"62ff2f2420933b0034925195",
"62df8fedd25927003cb70adc",
"62df8746809b330047b8326f",
"6239c16c7e31330034f688fa",
"62594e063e7a5b20befc32c2",
"62594e5a3e7a5b76acfc325c",
"62594f6d3e7a5b7817fc3266",
"62594faa3e7a5b20befc32d0",
"623b05b1c7535128c9d62017"
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63fc8705f79ddc004abb26e6",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-27T11:00:00.000+00:00",
"status":"active",
"term_translations":{
"en":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ja":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ms":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"th":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"vi":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"zh-cn":"*活动的回馈以进入购物车结帐计算为准\n*回馈活动仅适用会员,结帐时请登入以获得回馈\n*顾客下单后,将于订单完成时获得回馈",
"zh-hant":"*商品活動的回饋以進入購物車結帳計算為準\n*回饋活動僅適用會員,結帳時請登入以獲得回饋\n*顧客下單後,將於訂單完成時獲得回饋"
},
"title_translations":{
"en":"2c-指定商品-會員等級,滿1/2/件送1,2,3/4,5,6個",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-02-27T10:33:41.760Z",
"use_count":39,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edc",
"promotion":{
"_id":"63f57ad87c461f0036df64dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-22T02:15:52.919Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63f57ad87c461f0036df64dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-21T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"多階- 滿1/2/3件送10/20/30-en",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"多階- 滿1/2/3件送10/20/30-繁"
},
"updated_at":"2023-02-22T02:15:52.919Z",
"use_count":140,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edd",
"promotion":{
"_id":"6401c14da4014e004aa2ebe3",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-03-03T09:43:41.266Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6401c14da4014e004aa2ebe3",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-28T17:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"無條件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-03-03T09:43:41.266Z",
"use_count":176,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed9",
"promotion":{
"_id":"6384bbaac8db940088eca1b5",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-28T13:46:18.161Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6384bbaac8db940088eca1b5",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-17T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送1累計",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-28T13:46:18.161Z",
"use_count":431,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"id":"657c10c3a4693600603c5ed4",
"promotion":{
"_id":"64706a3dbdc152001be661df",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-26T08:13:49.593Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":1,
"discount_type":"percentage",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"64706a3dbdc152001be661df",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-26T08:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"aabbcc"
},
"updated_at":"2023-05-26T08:13:49.593Z",
"use_count":37,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed5",
"promotion":{
"_id":"63204c058a1f3b0039f527e4",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-09-13T09:23:17.145Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63204c058a1f3b0039f527e4",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-09-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"",
"ja":"指定會員等級>無條件>回饋購物金送1%>單筆訂單回饋無上限>不限次數-jp",
"ms":"",
"th":"",
"vi":"",
"zh-hant":""
},
"updated_at":"2023-02-27T09:10:22.115Z",
"use_count":70,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5eda",
"promotion":{
"_id":"639064de73fc180039bf3442",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-12-07T10:03:10.651Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"639064de73fc180039bf3442",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-12-02T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-12-07T10:03:10.651Z",
"use_count":355,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed8",
"promotion":{
"_id":"637c4405ce371f003c591f70",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-22T03:37:41.471Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"637c4405ce371f003c591f70",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-14T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"看對象1",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-22T03:37:41.471Z",
"use_count":373,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edb",
"promotion":{
"_id":"63ec8828f6d24b0047d7321a",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-15T07:22:16.283Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63ec8828f6d24b0047d7321a",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-18T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"steven-test2",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"steven-test2"
},
"updated_at":"2023-02-15T07:22:16.283Z",
"use_count":201,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed6",
"promotion":{
"_id":"635664128eebe4003492e7ea",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-10-24T10:08:18.864Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"635664128eebe4003492e7ea",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-10-14T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"指定會員等級送1/2/3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-11T15:22:45.705Z",
"use_count":473,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
}
],
"ref_customer_id":"",
"ref_order_id":"",
"return_from_order_id":null,
"seller_id":"61b1bfdb065f7e0069dcf5a6",
"skip_fulfillment":false,
"split_at":null,
"status":"pending",
"subtotal":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"subtotal_items":[
{
"cost":{
"cents":3,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":3,
"label":"NT$3"
},
"created_by":"admin",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5edf",
"is_preorder":false,
"item_data":{
"cart_item_id":"657c10c2a4693600603c5ea3",
"parent_item_ids":[
"657c10c2a4693600603c5ea2"
],
"promotion_id":"6459ed904ebf46003b52c4dd",
"triggering_item_id":""
},
"item_id":"62345d41e5cefb003c04be95",
"item_price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"item_type":"Gift",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"62345d32e5cefb003904be1d",
"alt_translations":{
},
"images":{
"favicon":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_small":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"original":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"source":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_xlarge":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
}
}
},
"object_data":{
"barcode_type":"Code 128",
"weight":0
},
"order_discounted_price":null,
"preorder_note_translations":{
},
"price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"zp002",
"title_translations":{
"en":"贈品2-en",
"ms":"贈品2-my",
"th":"贈品2-th",
"vi":"贈品2-vn",
"zh-cn":"贈品2-簡",
"zh-hant":"贈品2-繁"
},
"total":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"total_points":null
},
{
"cost":{
"cents":60,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":60,
"label":"NT$60"
},
"created_by":"pos",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5ede",
"is_preorder":false,
"item_data":{
"applied_order_promotion_discounts":[
{
"discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"promotion_id":"64706a3dbdc152001be661df"
}
],
"cart_item_id":"1002057",
"custom_discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"custom_discounted_amount_items":[
],
"has_exclude_promotion_tag":false,
"is_exclude_member_point":false,
"is_exclude_promotion":false,
"is_exclude_user_credit":false,
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_promotion_items":{
"order_discounted_price":"657c10c3a4693600603c5ed4"
},
"parent_item_ids":[
],
"promotion_id":null,
"triggering_item_id":"",
"user_credit_ratio_amount":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
}
},
"item_id":"62df8746809b330047b8326f",
"item_price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"item_type":"Product",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"632c221f9e39be003c5fa279",
"alt_translations":{
},
"images":{
"favicon":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_small":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"original":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"source":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_xlarge":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
}
}
},
"object_data":{
"barcode_type":"Code 128",
"gtin":"52415660",
"max_order_quantity":-1,
"weight":0
},
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"preorder_note_translations":{
},
"price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"",
"title_translations":{
"zh-hant":"poss1"
},
"total":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"total_points":null
}
],
"system_order_number":"20231215083931519",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"total_tax_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"updated_at":"2023-12-15T08:39:44.204Z",
"user_credit":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"utm_data":{
}
},
"topic":"order/pending",
"trace_id":"867ae6db-d7ea-4eff-bb1d-07755be11362",
"ts":"1703153094149655300"
}order/product_detail_notify_customer
Topic Name:
- order/product_detail_notify_customer
Description:
- 訂單編輯購物車內容後發送通知
Payload Example:
{
"event":"Order",
"merchant_handle":"peggylvtws2",
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"resource":{
"_id":"657c10c3a4693600603c5ed1",
"affiliate_campaign":null,
"affiliate_data":{
},
"cart_attributes":{
"affiliate_data":{
},
"shop_session_id":""
},
"channel":{
},
"checkout_object_data":{
"_id":"657c10c3a4693600603c5ecf",
"current_total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"number":"C20231215083931518",
"order_ids":[
"657c10c3a4693600603c5ed1"
]
},
"child_order_ids":[
],
"confirmed_at":null,
"created_at":"2023-12-15T08:39:31.109Z",
"created_by":"shop",
"created_from":"shop",
"currency_iso":"TWD",
"custom_data":[
],
"custom_discount_items":null,
"customer_email":"[email protected]",
"customer_id":"6234735420ea0600079bea8e",
"customer_info":{
"birth_day":4,
"birth_month":2,
"birth_year":1991,
"birthday":"1991-02-04",
"custom_data":[
{
"field_id":"638ee1537ac494003c2311e3",
"name_translations":{
"en":"dev自訂欄位-en",
"ja":"dev自訂欄位-jp",
"zh-cn":"dev自訂欄位-簡",
"zh-hant":"dev自訂欄位-繁"
},
"value":""
},
{
"field_id":"638ee58e445a63003fb1479e",
"name_translations":{
"en":"小卡分支-自訂欄位2-en",
"ja":"小卡分支-自訂欄位2-jp",
"ms":"小卡分支-自訂欄位2-my",
"th":"小卡分支-自訂欄位2-th",
"vi":"小卡分支-自訂欄位2-vn",
"zh-cn":"小卡分支-自訂欄位2-簡",
"zh-hant":"小卡分支-自訂欄位2-繁"
},
"value":""
},
{
"field_id":"63904a52c9e5a20039bd42fa",
"name_translations":{
"en":"自訂3-en",
"zh-cn":"啦啦啦",
"zh-hant":"自訂3update"
},
"value":""
}
],
"gender":"male"
},
"customer_name":"t1",
"customer_phone":"13794680000",
"customer_phone_country_code":"86",
"delivery_address":{
"address_1":null,
"address_2":null,
"city":null,
"country":"Hong Kong",
"country_code":"HK",
"district":null,
"key":null,
"layer1":null,
"layer2":null,
"layer3":null,
"logistic_codes":null,
"postcode":null,
"recipient_name":"t1",
"recipient_phone":"13794680000",
"recipient_phone_country_code":"86",
"remarks":null,
"state":null
},
"delivery_data":{
"hk_sfplus_home_region":null,
"location_code":null,
"location_name":null,
"location_short_name":null,
"name_translations":null,
"scheduled_delivery_date":null,
"store_address":null,
"time_slot_key":"",
"time_slot_translations":null,
"tracking_number":"",
"url":null
},
"delivery_option_id":"62347576e5cefb003604be37",
"edited_at":null,
"ga_tracked":false,
"id":"657c10c3a4693600603c5ed1",
"invoice":{
"buyer_name":"",
"carrier_number":"",
"carrier_type":"",
"invoice_cancelled_at":null,
"invoice_date":null,
"invoice_number":"",
"invoice_status":"",
"invoice_tax_type":"",
"invoice_type":"",
"mailing_address":"",
"n_p_o_b_a_n":"",
"tax_id":""
},
"invoices":[
],
"membership_tier_data":null,
"merchant_order_number":null,
"order_comments":[
],
"order_delivery":{
"arrived_at":null,
"collected_at":null,
"delivery_option_id":"62347576e5cefb003604be37",
"delivery_status":"pending",
"delivery_type":"custom",
"name_translations":{
"en":"自訂物流-en",
"ms":"自訂物流-my",
"th":"自訂物流-th",
"vi":"自訂物流-vn",
"zh-cn":"自訂物流-簡",
"zh-hant":"自訂物流-繁"
},
"platform":"custom",
"remark":null,
"request_accepted_at":null,
"request_authorized_at":null,
"request_submitted_at":null,
"requested_fmt_at":null,
"require_expired_upload":false,
"require_storeclosed_upload":false,
"return_order_id":null,
"returned_at":null,
"shipped_at":null,
"status":"pending",
"store_closed_at":null,
"storeclosed_upload_at":null,
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
}
},
"order_discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_notes":[
],
"order_number":"20231215083931519",
"order_payment":{
"created_at":"2023-12-15T08:39:31.286Z",
"id":"657c10c3a4693600603c5ee2",
"last_four_digits":"",
"name_translations":{
"en":"自訂付款方式-en",
"ms":"自訂付款方式-my",
"th":"自訂付款方式-th",
"vi":"自訂付款方式-vn",
"zh-cn":"自訂付款方式-簡",
"zh-hant":"自訂付款方式-繁"
},
"paid_at":null,
"payment_data":{
},
"payment_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"payment_method_id":"624826a23bf82a65a6a5bce4",
"payment_slips_setting":{
"days_of_guest_view":1,
"enabled":false
},
"payment_type":"custom",
"ref_payment_id":null,
"status":"pending",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"updated_at":"2023-12-15T08:39:33.979Z"
},
"order_points_to_cash":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"order_remarks":"",
"order_source":{
"id":"623732e2e5cefb003f04be49",
"name":null,
"source_id":null,
"type":"storefront"
},
"parent_order_id":null,
"payment_slips":[
],
"promotion_items":[
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed3",
"promotion":{
"_id":"6459ed904ebf46003b52c4dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-09T06:52:00.607Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"gift",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62345d41e5cefb003c04be95"
],
"discountable_quantity":1,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6459ed904ebf46003b52c4dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"下單即送贈品"
},
"updated_at":"2023-05-17T08:41:38.105Z",
"use_count":107,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed7",
"promotion":{
"_id":"63fc8705f79ddc004abb26e6",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-27T10:33:41.760Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"item",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62373cd1e5cefb003604be53",
"62ff2f2420933b0034925195",
"62df8fedd25927003cb70adc",
"62df8746809b330047b8326f",
"6239c16c7e31330034f688fa",
"62594e063e7a5b20befc32c2",
"62594e5a3e7a5b76acfc325c",
"62594f6d3e7a5b7817fc3266",
"62594faa3e7a5b20befc32d0",
"623b05b1c7535128c9d62017"
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63fc8705f79ddc004abb26e6",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-27T11:00:00.000+00:00",
"status":"active",
"term_translations":{
"en":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ja":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ms":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"th":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"vi":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"zh-cn":"*活动的回馈以进入购物车结帐计算为准\n*回馈活动仅适用会员,结帐时请登入以获得回馈\n*顾客下单后,将于订单完成时获得回馈",
"zh-hant":"*商品活動的回饋以進入購物車結帳計算為準\n*回饋活動僅適用會員,結帳時請登入以獲得回饋\n*顧客下單後,將於訂單完成時獲得回饋"
},
"title_translations":{
"en":"2c-指定商品-會員等級,滿1/2/件送1,2,3/4,5,6個",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-02-27T10:33:41.760Z",
"use_count":39,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edc",
"promotion":{
"_id":"63f57ad87c461f0036df64dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-22T02:15:52.919Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63f57ad87c461f0036df64dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-21T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"多階- 滿1/2/3件送10/20/30-en",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"多階- 滿1/2/3件送10/20/30-繁"
},
"updated_at":"2023-02-22T02:15:52.919Z",
"use_count":140,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edd",
"promotion":{
"_id":"6401c14da4014e004aa2ebe3",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-03-03T09:43:41.266Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6401c14da4014e004aa2ebe3",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-28T17:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"無條件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-03-03T09:43:41.266Z",
"use_count":176,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed9",
"promotion":{
"_id":"6384bbaac8db940088eca1b5",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-28T13:46:18.161Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6384bbaac8db940088eca1b5",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-17T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送1累計",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-28T13:46:18.161Z",
"use_count":431,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"id":"657c10c3a4693600603c5ed4",
"promotion":{
"_id":"64706a3dbdc152001be661df",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-26T08:13:49.593Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":1,
"discount_type":"percentage",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"64706a3dbdc152001be661df",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-26T08:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"aabbcc"
},
"updated_at":"2023-05-26T08:13:49.593Z",
"use_count":37,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed5",
"promotion":{
"_id":"63204c058a1f3b0039f527e4",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-09-13T09:23:17.145Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63204c058a1f3b0039f527e4",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-09-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"",
"ja":"指定會員等級>無條件>回饋購物金送1%>單筆訂單回饋無上限>不限次數-jp",
"ms":"",
"th":"",
"vi":"",
"zh-hant":""
},
"updated_at":"2023-02-27T09:10:22.115Z",
"use_count":70,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5eda",
"promotion":{
"_id":"639064de73fc180039bf3442",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-12-07T10:03:10.651Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"639064de73fc180039bf3442",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-12-02T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-12-07T10:03:10.651Z",
"use_count":355,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed8",
"promotion":{
"_id":"637c4405ce371f003c591f70",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-22T03:37:41.471Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"637c4405ce371f003c591f70",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-14T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"看對象1",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-22T03:37:41.471Z",
"use_count":373,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edb",
"promotion":{
"_id":"63ec8828f6d24b0047d7321a",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-15T07:22:16.283Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63ec8828f6d24b0047d7321a",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-18T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"steven-test2",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"steven-test2"
},
"updated_at":"2023-02-15T07:22:16.283Z",
"use_count":201,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed6",
"promotion":{
"_id":"635664128eebe4003492e7ea",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-10-24T10:08:18.864Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"635664128eebe4003492e7ea",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-10-14T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"指定會員等級送1/2/3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-11T15:22:45.705Z",
"use_count":473,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
}
],
"ref_customer_id":"",
"ref_order_id":"",
"return_from_order_id":null,
"seller_id":"61b1bfdb065f7e0069dcf5a6",
"skip_fulfillment":false,
"split_at":null,
"status":"pending",
"subtotal":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"subtotal_items":[
{
"cost":{
"cents":3,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":3,
"label":"NT$3"
},
"created_by":"admin",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5edf",
"is_preorder":false,
"item_data":{
"cart_item_id":"657c10c2a4693600603c5ea3",
"parent_item_ids":[
"657c10c2a4693600603c5ea2"
],
"promotion_id":"6459ed904ebf46003b52c4dd",
"triggering_item_id":""
},
"item_id":"62345d41e5cefb003c04be95",
"item_price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"item_type":"Gift",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"62345d32e5cefb003904be1d",
"alt_translations":{
},
"images":{
"favicon":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_small":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"original":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"source":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_xlarge":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
}
}
},
"object_data":{
"barcode_type":"Code 128",
"weight":0
},
"order_discounted_price":null,
"preorder_note_translations":{
},
"price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"zp002",
"title_translations":{
"en":"贈品2-en",
"ms":"贈品2-my",
"th":"贈品2-th",
"vi":"贈品2-vn",
"zh-cn":"贈品2-簡",
"zh-hant":"贈品2-繁"
},
"total":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"total_points":null
},
{
"cost":{
"cents":60,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":60,
"label":"NT$60"
},
"created_by":"pos",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5ede",
"is_preorder":false,
"item_data":{
"applied_order_promotion_discounts":[
{
"discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"promotion_id":"64706a3dbdc152001be661df"
}
],
"cart_item_id":"1002057",
"custom_discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"custom_discounted_amount_items":[
],
"has_exclude_promotion_tag":false,
"is_exclude_member_point":false,
"is_exclude_promotion":false,
"is_exclude_user_credit":false,
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_promotion_items":{
"order_discounted_price":"657c10c3a4693600603c5ed4"
},
"parent_item_ids":[
],
"promotion_id":null,
"triggering_item_id":"",
"user_credit_ratio_amount":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
}
},
"item_id":"62df8746809b330047b8326f",
"item_price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"item_type":"Product",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"632c221f9e39be003c5fa279",
"alt_translations":{
},
"images":{
"favicon":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_small":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"original":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"source":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_xlarge":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
}
}
},
"object_data":{
"barcode_type":"Code 128",
"gtin":"52415660",
"max_order_quantity":-1,
"weight":0
},
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"preorder_note_translations":{
},
"price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"",
"title_translations":{
"zh-hant":"poss1"
},
"total":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"total_points":null
}
],
"system_order_number":"20231215083931519",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"total_tax_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"updated_at":"2023-12-15T08:39:44.204Z",
"user_credit":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"utm_data":{
}
},
"topic":"order/product_detail_notify_customer",
"trace_id":"c076ff54-c1c8-48b5-b1cf-1b4c2503b7c1",
"ts":"1703153159440179700"
}order/remove
Topic Name:
- order/remove
Description:
- 當訂單被刪除時
Payload Example:
{
"event":"Order",
"merchant_handle":"peggylvtws2",
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"resource":{
"_id":"657c10c3a4693600603c5ed1",
"affiliate_campaign":null,
"affiliate_data":{
},
"cart_attributes":{
"affiliate_data":{
},
"shop_session_id":""
},
"channel":{
},
"checkout_object_data":{
"_id":"657c10c3a4693600603c5ecf",
"current_total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"number":"C20231215083931518",
"order_ids":[
"657c10c3a4693600603c5ed1"
]
},
"child_order_ids":[
],
"confirmed_at":null,
"created_at":"2023-12-15T08:39:31.109Z",
"created_by":"shop",
"created_from":"shop",
"currency_iso":"TWD",
"custom_data":[
],
"custom_discount_items":null,
"customer_email":"[email protected]",
"customer_id":"6234735420ea0600079bea8e",
"customer_info":{
"birth_day":4,
"birth_month":2,
"birth_year":1991,
"birthday":"1991-02-04",
"custom_data":[
{
"field_id":"638ee1537ac494003c2311e3",
"name_translations":{
"en":"dev自訂欄位-en",
"ja":"dev自訂欄位-jp",
"zh-cn":"dev自訂欄位-簡",
"zh-hant":"dev自訂欄位-繁"
},
"value":""
},
{
"field_id":"638ee58e445a63003fb1479e",
"name_translations":{
"en":"小卡分支-自訂欄位2-en",
"ja":"小卡分支-自訂欄位2-jp",
"ms":"小卡分支-自訂欄位2-my",
"th":"小卡分支-自訂欄位2-th",
"vi":"小卡分支-自訂欄位2-vn",
"zh-cn":"小卡分支-自訂欄位2-簡",
"zh-hant":"小卡分支-自訂欄位2-繁"
},
"value":""
},
{
"field_id":"63904a52c9e5a20039bd42fa",
"name_translations":{
"en":"自訂3-en",
"zh-cn":"啦啦啦",
"zh-hant":"自訂3update"
},
"value":""
}
],
"gender":"male"
},
"customer_name":"t1",
"customer_phone":"13794680000",
"customer_phone_country_code":"86",
"delivery_address":{
"address_1":null,
"address_2":null,
"city":null,
"country":"Hong Kong",
"country_code":"HK",
"district":null,
"key":null,
"layer1":null,
"layer2":null,
"layer3":null,
"logistic_codes":null,
"postcode":null,
"recipient_name":"t1",
"recipient_phone":"13794680000",
"recipient_phone_country_code":"86",
"remarks":null,
"state":null
},
"delivery_data":{
"hk_sfplus_home_region":null,
"location_code":null,
"location_name":null,
"location_short_name":null,
"name_translations":null,
"scheduled_delivery_date":null,
"store_address":null,
"time_slot_key":"",
"time_slot_translations":null,
"tracking_number":"",
"url":null
},
"delivery_option_id":"62347576e5cefb003604be37",
"edited_at":null,
"ga_tracked":false,
"id":"657c10c3a4693600603c5ed1",
"invoice":{
"buyer_name":"",
"carrier_number":"",
"carrier_type":"",
"invoice_cancelled_at":null,
"invoice_date":null,
"invoice_number":"",
"invoice_status":"",
"invoice_tax_type":"",
"invoice_type":"",
"mailing_address":"",
"n_p_o_b_a_n":"",
"tax_id":""
},
"invoices":[
],
"membership_tier_data":null,
"merchant_order_number":null,
"order_comments":[
],
"order_delivery":{
"arrived_at":null,
"collected_at":null,
"delivery_option_id":"62347576e5cefb003604be37",
"delivery_status":"pending",
"delivery_type":"custom",
"name_translations":{
"en":"自訂物流-en",
"ms":"自訂物流-my",
"th":"自訂物流-th",
"vi":"自訂物流-vn",
"zh-cn":"自訂物流-簡",
"zh-hant":"自訂物流-繁"
},
"platform":"custom",
"remark":null,
"request_accepted_at":null,
"request_authorized_at":null,
"request_submitted_at":null,
"requested_fmt_at":null,
"require_expired_upload":false,
"require_storeclosed_upload":false,
"return_order_id":null,
"returned_at":null,
"shipped_at":null,
"status":"pending",
"store_closed_at":null,
"storeclosed_upload_at":null,
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
}
},
"order_discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_notes":[
],
"order_number":"20231215083931519",
"order_payment":{
"created_at":"2023-12-15T08:39:31.286Z",
"id":"657c10c3a4693600603c5ee2",
"last_four_digits":"",
"name_translations":{
"en":"自訂付款方式-en",
"ms":"自訂付款方式-my",
"th":"自訂付款方式-th",
"vi":"自訂付款方式-vn",
"zh-cn":"自訂付款方式-簡",
"zh-hant":"自訂付款方式-繁"
},
"paid_at":null,
"payment_data":{
},
"payment_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"payment_method_id":"624826a23bf82a65a6a5bce4",
"payment_slips_setting":{
"days_of_guest_view":1,
"enabled":false
},
"payment_type":"custom",
"ref_payment_id":null,
"status":"pending",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"updated_at":"2023-12-15T08:39:33.979Z"
},
"order_points_to_cash":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"order_remarks":"",
"order_source":{
"id":"623732e2e5cefb003f04be49",
"name":null,
"source_id":null,
"type":"storefront"
},
"parent_order_id":null,
"payment_slips":[
],
"promotion_items":[
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed3",
"promotion":{
"_id":"6459ed904ebf46003b52c4dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-09T06:52:00.607Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"gift",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62345d41e5cefb003c04be95"
],
"discountable_quantity":1,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6459ed904ebf46003b52c4dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"下單即送贈品"
},
"updated_at":"2023-05-17T08:41:38.105Z",
"use_count":107,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed7",
"promotion":{
"_id":"63fc8705f79ddc004abb26e6",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-27T10:33:41.760Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"item",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
"62373cd1e5cefb003604be53",
"62ff2f2420933b0034925195",
"62df8fedd25927003cb70adc",
"62df8746809b330047b8326f",
"6239c16c7e31330034f688fa",
"62594e063e7a5b20befc32c2",
"62594e5a3e7a5b76acfc325c",
"62594f6d3e7a5b7817fc3266",
"62594faa3e7a5b20befc32d0",
"623b05b1c7535128c9d62017"
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63fc8705f79ddc004abb26e6",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-27T11:00:00.000+00:00",
"status":"active",
"term_translations":{
"en":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ja":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"ms":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"th":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"vi":"*Reward is subject to order summary shown in shopping cart.\n*Customer should login to checkout for applying reward campaign.\n*Customers will earn rewards when the order status of orders change to completed",
"zh-cn":"*活动的回馈以进入购物车结帐计算为准\n*回馈活动仅适用会员,结帐时请登入以获得回馈\n*顾客下单后,将于订单完成时获得回馈",
"zh-hant":"*商品活動的回饋以進入購物車結帳計算為準\n*回饋活動僅適用會員,結帳時請登入以獲得回饋\n*顧客下單後,將於訂單完成時獲得回饋"
},
"title_translations":{
"en":"2c-指定商品-會員等級,滿1/2/件送1,2,3/4,5,6個",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-02-27T10:33:41.760Z",
"use_count":39,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edc",
"promotion":{
"_id":"63f57ad87c461f0036df64dd",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-22T02:15:52.919Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63f57ad87c461f0036df64dd",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-21T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"多階- 滿1/2/3件送10/20/30-en",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"多階- 滿1/2/3件送10/20/30-繁"
},
"updated_at":"2023-02-22T02:15:52.919Z",
"use_count":140,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edd",
"promotion":{
"_id":"6401c14da4014e004aa2ebe3",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-03-03T09:43:41.266Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6401c14da4014e004aa2ebe3",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-28T17:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"無條件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2023-03-03T09:43:41.266Z",
"use_count":176,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed9",
"promotion":{
"_id":"6384bbaac8db940088eca1b5",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-28T13:46:18.161Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"6384bbaac8db940088eca1b5",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-17T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送1累計",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-28T13:46:18.161Z",
"use_count":431,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"id":"657c10c3a4693600603c5ed4",
"promotion":{
"_id":"64706a3dbdc152001be661df",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-05-26T08:13:49.593Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":1,
"discount_type":"percentage",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"64706a3dbdc152001be661df",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":false,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-05-26T08:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"aabbcc"
},
"updated_at":"2023-05-26T08:13:49.593Z",
"use_count":37,
"user_max_use_count":0,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed5",
"promotion":{
"_id":"63204c058a1f3b0039f527e4",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-09-13T09:23:17.145Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63204c058a1f3b0039f527e4",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-09-09T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"",
"ja":"指定會員等級>無條件>回饋購物金送1%>單筆訂單回饋無上限>不限次數-jp",
"ms":"",
"th":"",
"vi":"",
"zh-hant":""
},
"updated_at":"2023-02-27T09:10:22.115Z",
"use_count":70,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5eda",
"promotion":{
"_id":"639064de73fc180039bf3442",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-12-07T10:03:10.651Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"639064de73fc180039bf3442",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-12-02T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"滿1件送3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-12-07T10:03:10.651Z",
"use_count":355,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed8",
"promotion":{
"_id":"637c4405ce371f003c591f70",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-11-22T03:37:41.471Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"637c4405ce371f003c591f70",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-11-14T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"看對象1",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-22T03:37:41.471Z",
"use_count":373,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5edb",
"promotion":{
"_id":"63ec8828f6d24b0047d7321a",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-02-15T07:22:16.283Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"63ec8828f6d24b0047d7321a",
"is_accumulated":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-02-18T06:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"steven-test2",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"steven-test2"
},
"updated_at":"2023-02-15T07:22:16.283Z",
"use_count":201,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
},
{
"created_at":"2023-12-15T08:39:31.199Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"657c10c3a4693600603c5ed6",
"promotion":{
"_id":"635664128eebe4003492e7ea",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec",
"retail"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2022-10-24T10:08:18.864Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"635664128eebe4003492e7ea",
"is_accumulated":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2022-10-14T07:00:00.000+00:00",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"指定會員等級送1/2/3%",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":""
},
"updated_at":"2022-11-11T15:22:45.705Z",
"use_count":473,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"subtotal_after":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"updated_at":"2023-12-15T08:39:31.199Z"
}
],
"ref_customer_id":"",
"ref_order_id":"",
"return_from_order_id":null,
"seller_id":"61b1bfdb065f7e0069dcf5a6",
"skip_fulfillment":false,
"split_at":null,
"status":"pending",
"subtotal":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"subtotal_items":[
{
"cost":{
"cents":3,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":3,
"label":"NT$3"
},
"created_by":"admin",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5edf",
"is_preorder":false,
"item_data":{
"cart_item_id":"657c10c2a4693600603c5ea3",
"parent_item_ids":[
"657c10c2a4693600603c5ea2"
],
"promotion_id":"6459ed904ebf46003b52c4dd",
"triggering_item_id":""
},
"item_id":"62345d41e5cefb003c04be95",
"item_price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"item_type":"Gift",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"62345d32e5cefb003904be1d",
"alt_translations":{
},
"images":{
"favicon":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"favicon_small":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"original":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"source":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_large":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_thumb":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
},
"transparent_xlarge":{
"height":673,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62345d32e5cefb003904be1d/original.jpeg?1647598898",
"width":740
}
}
},
"object_data":{
"barcode_type":"Code 128",
"weight":0
},
"order_discounted_price":null,
"preorder_note_translations":{
},
"price":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"zp002",
"title_translations":{
"en":"贈品2-en",
"ms":"贈品2-my",
"th":"贈品2-th",
"vi":"贈品2-vn",
"zh-cn":"贈品2-簡",
"zh-hant":"贈品2-繁"
},
"total":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"total_points":null
},
{
"cost":{
"cents":60,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":60,
"label":"NT$60"
},
"created_by":"pos",
"discounted_price":null,
"fields_translations":{
},
"id":"657c10c3a4693600603c5ede",
"is_preorder":false,
"item_data":{
"applied_order_promotion_discounts":[
{
"discount":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"promotion_id":"64706a3dbdc152001be661df"
}
],
"cart_item_id":"1002057",
"custom_discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"custom_discounted_amount_items":[
],
"has_exclude_promotion_tag":false,
"is_exclude_member_point":false,
"is_exclude_promotion":false,
"is_exclude_user_credit":false,
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"order_promotion_items":{
"order_discounted_price":"657c10c3a4693600603c5ed4"
},
"parent_item_ids":[
],
"promotion_id":null,
"triggering_item_id":"",
"user_credit_ratio_amount":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
}
},
"item_id":"62df8746809b330047b8326f",
"item_price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"item_type":"Product",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"632c221f9e39be003c5fa279",
"alt_translations":{
},
"images":{
"favicon":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"favicon_small":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"original":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"source":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_large":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_thumb":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
},
"transparent_xlarge":{
"height":336,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/632c221f9e39be003c5fa279/original.jpg?1663836703",
"width":518
}
}
},
"object_data":{
"barcode_type":"Code 128",
"gtin":"52415660",
"max_order_quantity":-1,
"weight":0
},
"order_discounted_price":{
"cents":1,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1,
"label":"NT$1"
},
"preorder_note_translations":{
},
"price":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"price_sale":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"quantity":1,
"ref_data":null,
"sku":"",
"title_translations":{
"zh-hant":"poss1"
},
"total":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"total_points":null
}
],
"system_order_number":"20231215083931519",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"total_tax_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"updated_at":"2023-12-15T08:39:44.204Z",
"user_credit":{
"cents":99,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":99,
"label":"NT$99"
},
"utm_data":{
}
},
"topic":"order/remove",
"trace_id":"15b4d4e4-4d00-44d0-95b5-9e06f471944c",
"ts":"1703153039617520000"
}order/status_notify_customer
Topic Name:
- order/status_notify_customer
Description:
- 在 Admin 後台更改訂單狀態後,勾選「發送訂單狀態更新通知給你的顧客」並按下「是」時發送此 webhook
Payload Example:
{
"event": "Order",
"merchant_id": "624fa433df19112100268046",
"resource": {
"_id": "62a0707e4e524300383aa6da",
"order_number": "20220608094846923",
"status": "confirmed",
"updated_at": "2022-06-08T14:16:35.162Z"
},
"topic": "order/status_notify_customer"
}order/update
Topic Name:
- order/update
Description:
- 訂單更新
Trigger Point:
- 非建立新訂單的其他更新訂單資訊
- 更新訂單付款狀態
- 更新訂單送貨資訊
Payload Example:
{
"event":"Order",
"merchant_id":"5d08b5bf2dd7f50001df4795",
"resource":{
"_id":"6583bdd22d5f0900620b584b",
"affiliate_campaign":{
},
"affiliate_data":{
},
"applied_tax_info":{
"delivery":{
},
"sales":{
"city":null,
"country_code":"TW",
"flag":"🇹🇼",
"max":0.05,
"min":0.05,
"name":"",
"region":null
}
},
"cart_attributes":{
"affiliate_data":{
},
"shop_session_id":""
},
"cart_page_id":null,
"channel":{
},
"checkout_object_data":{
"_id":"6583bdd22d5f0900620b5849",
"current_total":{
"cents":1482,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1482,
"label":"NT$1,482"
},
"number":"C20231221042346423",
"order_ids":[
"6583bdd22d5f0900620b584b"
]
},
"child_order_ids":[
],
"confirmed_at":null,
"created_at":"2023-12-21T04:23:46.672Z",
"created_by":"shop",
"created_from":"shop",
"currency_iso":"TWD",
"custom_data":[
],
"custom_discount_items":[
],
"customer_email":"[email protected]",
"customer_id":"65814ea6add266003bc91e00",
"customer_info":{
"birth_day":null,
"birth_month":null,
"birth_year":null,
"birthday":"",
"custom_data":[
{
"field_id":"64c62bfebda44c004913ac1f",
"name_translations":{
"zh-hant":"星座"
},
"value":""
},
{
"field_id":"64c62c8bbda44c004613ac15",
"name_translations":{
"zh-hant":"市話電話"
},
"value":""
}
],
"gender":"male"
},
"customer_name":"[email protected]",
"customer_phone":"0900000000",
"customer_phone_country_code":"886",
"default_warehouse_id":null,
"delivery_address":{
"address_1":"中山路一段一號",
"address_2":"深坑區",
"city":"新北市",
"country":"台灣",
"country_code":"TW",
"district":null,
"key":null,
"layer1":null,
"layer2":null,
"layer3":null,
"logistic_codes":[
"1200003",
"1200046"
],
"postcode":"222",
"recipient_name":"[email protected]",
"recipient_phone":"0900000000",
"recipient_phone_country_code":"886",
"remarks":null,
"state":null
},
"delivery_data":{
"hk_sfplus_home_region":null,
"instore_pickup":false,
"location_code":null,
"location_name":null,
"location_short_name":null,
"name_translations":null,
"scheduled_delivery_date":null,
"store_address":null,
"store_address_detail":{
},
"target_channel_id":null,
"time_slot_key":"",
"time_slot_translations":null,
"tracking_number":"",
"url":null
},
"edited_at":null,
"ga_tracked":false,
"id":"6583bdd22d5f0900620b584b",
"inclusive_tax_info":{
},
"invoice":{
"buyer_name":"",
"carrier_number":"",
"carrier_type":"0",
"invoice_cancelled_at":null,
"invoice_date":null,
"invoice_number":"",
"invoice_status":"",
"invoice_tax_type":"",
"invoice_type":"0",
"mailing_address":"",
"n_p_o_b_a_n":"",
"tax_id":""
},
"invoices":[
],
"is_guest_checkout":false,
"language_code":"zh-hant",
"membership_tier_data":null,
"merchant_order_number":null,
"order_comments":[
],
"order_delivery":{
"arrived_at":"2023-12-21T04:24:16.286+00:00",
"collected_at":"2023-12-21T04:24:16.286+00:00",
"delivery_option_id":"5d565dbbe388096629b84479",
"delivery_status":"pending",
"delivery_type":"custom",
"exp_type":null,
"id":"6583bdd42d5f0900620b5855",
"name_translations":{
"en":"",
"ja":"asfasdf",
"ms":"",
"vi":"",
"zh-cn":"",
"zh-hant":"自訂配送"
},
"platform":"custom",
"remark":null,
"request_accepted_at":null,
"request_authorized_at":null,
"request_submitted_at":null,
"requested_fmt_at":null,
"require_expired_upload":false,
"require_storeclosed_upload":false,
"requires_customer_address":true,
"return_order_id":null,
"returned_at":null,
"shipped_at":"2023-12-21T04:24:16.286+00:00",
"status":"collected",
"store_closed_at":null,
"storeclosed_upload_at":null,
"total":{
"cents":60,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":60,
"label":"NT$60"
},
"updated_at":"2023-12-21T04:24:16.287Z"
},
"order_discount":{
"cents":360,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":360,
"label":"NT$360"
},
"order_notes":[
],
"order_number":"20231221042346424",
"order_payment":{
"created_at":"2023-12-21T04:23:48.514Z",
"id":"6583bdd42d5f0900620b5854",
"last_four_digits":"",
"name_translations":{
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"退貨"
},
"paid_at":null,
"payment_data":{
},
"payment_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"payment_method_id":"632af1029625e40033392032",
"payment_slips_setting":{
"days_of_guest_view":1,
"enabled":false
},
"payment_type":"custom",
"ref_payment_id":null,
"status":"pending",
"total":{
"cents":1482,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1482,
"label":"NT$1,482"
},
"updated_at":"2023-12-21T04:23:53.878Z"
},
"order_points":1000,
"order_points_to_cash":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"order_remarks":"",
"order_source":{
"id":"6113817e731a3e287cf94e52",
"name":null,
"source_id":null,
"type":"storefront"
},
"parent_order_id":"",
"payment_slips":[
],
"product_subscription_period":null,
"promotion_items":[
{
"coupon_code":null,
"created_at":"2023-12-21T04:23:48.426Z",
"discountable_amount":null,
"discounted_amount":{
"cents":360,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":360,
"label":"NT$360"
},
"id":"6583bdd42d5f0900620b584d",
"item_data":null,
"promotion":{
"_id":"648fcc78e0a38c1dd9c89eb9",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"cart_tag_id":null,
"cart_tag_translations":null,
"codes":[
],
"coupon_code":"",
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-06-19T03:33:12.468Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":18,
"discount_type":"percentage",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":null,
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"648fcc78e0a38c1dd9c89eb9",
"is_accumulated":false,
"is_extend_promotion":false,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"5d08b5bf2dd7f50001df4795",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-06-19T03:00:00.000Z",
"status":"active",
"term_translations":{
},
"title_translations":{
"zh-hant":"eric-test-0619"
},
"updated_at":"2023-06-19T03:33:12.468Z",
"use_count":11,
"user_max_use_count":1,
"whitelisted_tag_contents":[
]
},
"promotion_conditions_data":[
],
"subtotal_after":{
"cents":1640,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1640,
"label":"NT$1,640"
},
"updated_at":"2023-12-21T04:23:48.426Z"
},
{
"coupon_code":null,
"created_at":"2023-12-21T04:23:48.426Z",
"discountable_amount":null,
"discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"id":"6583bdd42d5f0900620b584e",
"item_data":null,
"promotion":{
"_id":"64ff26ba068dd8004983e04e",
"addon_product_id":null,
"available_channel_ids":[
],
"available_platforms":[
"ec"
],
"banner_media_ids":[
],
"codes":[
],
"coupon_generated_by":null,
"coupon_type":null,
"created_at":"2023-09-11T14:39:54.456Z",
"description_translations":{
},
"discount_amount":null,
"discount_on":"order",
"discount_percentage":null,
"discount_type":"credit_reward",
"discountable_category_ids":[
],
"discountable_product_ids":[
],
"discountable_quantity":null,
"discounted_point":null,
"discounted_price":null,
"draw_end_at":null,
"draw_from":null,
"draw_start_at":null,
"drew_coupon_count":0,
"end_at":null,
"extended_promotion_id":"64ff26ba068dd8004983e049",
"first_purchase_only":false,
"for_affiliate_campaign":false,
"id":"64ff26ba068dd8004983e04e",
"is_accumulated":false,
"is_extend_promotion":true,
"max_use_count":null,
"membership_tier_id":null,
"merchant_id":"5d08b5bf2dd7f50001df4795",
"min_price_type":"after_discount",
"multiple_code":false,
"requires_membership":true,
"seo_description_translations":{
},
"seo_keywords":null,
"seo_title_translations":{
},
"show_coupon":false,
"start_at":"2023-09-11T15:00:00.000Z",
"status":"active",
"term_translations":{
},
"title_translations":{
"en":"",
"ja":"",
"ms":"",
"th":"",
"vi":"",
"zh-cn":"",
"zh-hant":"滿一件送10購物金"
},
"updated_at":"2023-09-27T03:38:57.205Z",
"use_count":16,
"user_max_use_count":null,
"whitelisted_tag_contents":[
]
},
"promotion_conditions_data":[
{
"blacklisted_product_ids":[
],
"id":"64ff26ba068dd8004983e04d",
"min_item_count":2,
"min_price":null,
"type":null,
"whitelisted_category_ids":[
],
"whitelisted_product_ids":[
]
}
],
"subtotal_after":{
"cents":1640,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1640,
"label":"NT$1,640"
},
"updated_at":"2023-12-21T04:23:48.426Z"
}
],
"ref_customer_id":"",
"ref_order_id":"",
"return_from_order_id":null,
"skip_fulfillment":false,
"split_at":null,
"status":"pending",
"subtotal":{
"cents":2000,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":2000,
"label":"NT$2,000"
},
"subtotal_items":[
{
"cost":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":"NT$0"
},
"created_by":"admin",
"discounted_price":null,
"fields_translations":{
},
"id":"6583bdd42d5f0900620b584f",
"is_preorder":false,
"item_data":{
"applied_order_promotion_discounts":[
{
"discount":{
"cents":360,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":360,
"label":"NT$360"
},
"promotion_id":"648fcc78e0a38c1dd9c89eb9"
}
],
"cart_item_id":"1711516",
"custom_discounted_amount":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"custom_discounted_amount_items":[
],
"has_exclude_promotion_tag":false,
"is_exclude_member_point":false,
"is_exclude_promotion":false,
"is_exclude_user_credit":false,
"member_point_ratio_amount":1000,
"member_point_redeem_to_cash_ratio_amount":{
"cents":100,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":100,
"label":"NT$100"
},
"order_discounted_price":{
"cents":360,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":360,
"label":"NT$360"
},
"order_promotion_items":{
"order_discounted_price":"6583bdd42d5f0900620b584d"
},
"parent_item_ids":[
],
"promotion_id":null,
"triggering_item_id":"",
"user_credit_ratio_amount":{
"cents":200,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":200,
"label":"NT$200"
}
},
"item_id":"64e42adc162933004e674eaa",
"item_price":{
"cents":200,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":200,
"label":"NT$200"
},
"item_type":"Product",
"item_variation_id":"",
"item_variation_key":"",
"media":{
"_id":"64e42abf1629330048674eaf",
"alt_translations":{
},
"blurhash":"UzK-XrR+WBt7_4s:WVog%gaet7WWjERkj[jZ",
"images":{
"favicon":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"favicon_large":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"favicon_small":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"original":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"source":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"thumb":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"transparent_large":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"transparent_thumb":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
},
"transparent_xlarge":{
"height":1108,
"url":"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64e42abf1629330048674eaf/original.jpg?1692674751",
"width":1478
}
}
},
"object_data":{
"adult":"no",
"age_group":"all_ages",
"barcode_type":"Code 128",
"condition":"new",
"gender":"unisex",
"gtin":"83963106",
"max_order_quantity":-1,
"status":"active",
"weight":0
},
"order_discounted_price":{
"cents":360,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":360,
"label":"NT$360"
},
"preorder_note_translations":{
},
"price":{
"cents":300,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":300,
"label":"NT$300"
},
"price_sale":{
"cents":250,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":250,
"label":"NT$250"
},
"product_subscription_id":null,
"quantity":10,
"ref_data":null,
"sku":"",
"title_translations":{
"zh-hant":"風景照5"
},
"total":{
"cents":2000,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":2000,
"label":"NT$2,000"
}
}
],
"system_order_number":"20231221042346424",
"tags":[
],
"total":{
"cents":1482,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":1482,
"label":"NT$1,482"
},
"total_tax_fee":{
"cents":82,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":82,
"label":"NT$82"
},
"updated_at":"2023-12-21T04:24:16.386Z",
"user_credit":{
"cents":200,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":200,
"label":"NT$200"
},
"utm_data":{
}
},
"topic":"order/update",
"trace_id":"6885ff6f-61fe-42ae-b058-f54f526e84cf",
"ts":"1703154613380429600"
}order_delivery/status_notify_customer
Topic Name:
- order_delivery/status_notify_customer
Description:
- 在 Admin 後台更改訂單送貨狀態後,勾選「發送訂單送貨狀態更新通知給你的顧客」並按下「是」時發送此 webhook
Payload Example:
{
"event": "OrderDelivery",
"merchant_id": "624fa433df19112100268046",
"resource": {
"_id": "62a070814e524300383aa6e7",
"arrived_at": null,
"collected_at": null,
"delivery_option_id": "62538f510f35d0003d85e9e0",
"exp_type": null,
"id": "62a070814e524300383aa6e7",
"name_translations": {
"en": "",
"zh-hant": "大嘴鳥貨運"
},
"order_id": "62a0707e4e524300383aa6da",
"platform": "custom",
"require_expired_upload": false,
"require_storeclosed_upload": false,
"status": "shipping",
"created_at": "2022-06-08T09:48:49.744Z",
"updated_at": "2022-06-08T14:35:38.341Z"
},
"topic": "order_delivery/status_notify_customer"
}order_delivery/status_update
Topic Name:
- order_delivery/status_update
Description:
- 更新訂單送貨的狀態
Trigger Point:
- 修改前後的狀態不同時,才會觸發
Payload Example:
{
"event": "OrderDelivery",
"merchant_handle": "peggylvtws2",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"resource": {
"arrived_at": null,
"collected_at": null,
"created_at": "2023-12-15T08:39:31.315Z",
"delivery_option_id": "62347576e5cefb003604be37",
"delivery_status": "pending",
"delivery_type": "custom",
"id": "657c10c3a4693600603c5ee3",
"name_translations": {
"en": "自訂物流-en",
"ms": "自訂物流-my",
"th": "自訂物流-th",
"vi": "自訂物流-vn",
"zh-cn": "自訂物流-簡",
"zh-hant": "自訂物流-繁"
},
"order_id": "657c10c3a4693600603c5ed1",
"platform": "custom",
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"returned_at": null,
"shipped_at": null,
"status": "pending",
"store_closed_at": null,
"storeclosed_upload_at": null,
"total": {
"cents": 10,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 10,
"label": "NT$10"
},
"updated_at": "2023-12-15T08:39:31.315Z"
},
"topic": "order_delivery/update",
"trace_id": "87f94ce2-5604-41e7-996c-ba6465f55209",
"ts": "1703153412330646800"
}order_delivery/update
Topic Name:
- order_delivery/update
Description:
- 更新訂單送貨的資訊
Trigger Point:
- admin 後台更新物流資訊/狀態
- cronjob 第三方物流更新物流狀態
- 修改前後的狀態一樣時,還是會觸發(因為時間戳有改變)
Payload Example:
{
"event": "OrderDelivery",
"merchant_handle": "peggylvtws2",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"resource": {
"arrived_at": null,
"collected_at": null,
"created_at": "2023-12-15T08:39:31.315Z",
"delivery_option_id": "62347576e5cefb003604be37",
"delivery_status": "pending",
"delivery_type": "custom",
"id": "657c10c3a4693600603c5ee3",
"name_translations": {
"en": "自訂物流-en",
"ms": "自訂物流-my",
"th": "自訂物流-th",
"vi": "自訂物流-vn",
"zh-cn": "自訂物流-簡",
"zh-hant": "自訂物流-繁"
},
"order_id": "657c10c3a4693600603c5ed1",
"platform": "custom",
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"returned_at": null,
"shipped_at": null,
"status": "pending",
"store_closed_at": null,
"storeclosed_upload_at": null,
"total": {
"cents": 10,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 10,
"label": "NT$10"
},
"updated_at": "2023-12-15T08:39:31.315Z"
},
"topic": "order_delivery/update",
"trace_id": "87f94ce2-5604-41e7-996c-ba6465f55209",
"ts": "1703153412330646800"
}order_payment/complete
Topic Name:
- order_payment/complete
Description:
- 當訂單付款狀態變成 「已付款」時
Trigger Point:
- 同時觸發 order_payment/update
Payload Example:
{
"topic": "order_payment/complete",
"event": "OrderPayment",
"merchant_id": "5fc5ea00c43d7f001003999d",
"merchant_handle": "jimmytest2",
"resource": {
"_id": "600fce09aa1e7900174b9ba7",
"created_at": "2021-01-26T08:08:41.143Z",
"status": "completed",
"payment_method_id": "5fc601833218a900350c7110",
"payment_gateway": "bank_transfer",
"payment_status": "pending",
"processed_at": null,
"ref_payment_id": null,
"paid_at": "2021-01-26T08:10:58.448+00:00",
"order_id": "600fce09aa1e7900174b9ba2"
}
}order_payment/refund
Topic Name:
- order_payment/refund
Description:
- 當訂單付款狀態變成 「已退款」時
Trigger Point:
- 同時觸發 order_payment/update
Payload Example:
{
"customer_id": "6234735420ea0600079bea8e",
"event": "OrderPayment",
"merchant_handle": "peggylvtws2",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"merchant_order_number": null,
"order_number": "20231215083931519",
"resource": {
"_id": "657c10c3a4693600603c5ee2",
"created_at": "2023-12-15T08:39:31.286Z",
"id": "657c10c3a4693600603c5ee2",
"last_four_digits": "",
"name_translations": {
"en": "自訂付款方式-en",
"ms": "自訂付款方式-my",
"th": "自訂付款方式-th",
"vi": "自訂付款方式-vn",
"zh-cn": "自訂付款方式-簡",
"zh-hant": "自訂付款方式-繁"
},
"order_id": "657c10c3a4693600603c5ed1",
"paid_at": null,
"payment_data": {},
"payment_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"payment_gateway": "custom",
"payment_method_id": "624826a23bf82a65a6a5bce4",
"payment_slips_setting": {
"days_of_guest_view": 1,
"enabled": false
},
"payment_status": "pending",
"payment_type": "custom",
"processed_at": null,
"ref_payment_id": null,
"status": "pending",
"total": {
"cents": 10,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 10,
"label": "NT$10"
},
"updated_at": "2023-12-15T08:39:33.979Z"
},
"topic": "order_payment/refund",
"trace_id": "ab5ad1ef-27da-4105-adab-78b439d937be",
"ts": "1703153348911157200"
}order_payment/status_notify_customer
Topic Name:
- order_payment/status_notify_customer
Description:
- 在 Admin 後台更改訂單付款狀態後,勾選「發送訂單付款狀態更新通知給你的顧客」並按下「是」時發送此 webhook
Payload Example:
{
"event": "OrderPayment",
"merchant_id": "624fa433df19112100268046",
"resource": {
"_id": "62a070814e524300383aa6e6",
"id": "62a070814e524300383aa6e6",
"name_translations": {
"en": "Cash on Delivery",
"zh-hant": "貨到付款"
},
"order_id": "62a0707e4e524300383aa6da",
"payment_gateway": "cash_on_delivery",
"payment_method_id": "62538fb60f35d0003485e9de",
"payment_type": "cash_on_delivery",
"processed_at": null,
"ref_payment_id": null,
"status": "refunding",
"created_at": "2022-06-08T09:48:49.707Z",
"updated_at": "2022-06-08T14:33:56.569Z"
},
"topic": "order_payment/status_notify_customer"
}order_payment/update
Topic Name:
- order_payment/update
Description:
- 更新訂單付款資訊
Trigger Point:
- admin 後台更新金流狀態
- cronjob 第三方金流更新金流狀態
Payload Example:
{
"customer_id":"6234735420ea0600079bea8e",
"event":"OrderPayment",
"merchant_handle":"peggylvtws2",
"merchant_id":"61b1bfdb065f7e0069dcf5a6",
"merchant_order_number":null,
"order_number":"20231215083931519",
"resource":{
"_id":"657c10c3a4693600603c5ee2",
"created_at":"2023-12-15T08:39:31.286Z",
"id":"657c10c3a4693600603c5ee2",
"last_four_digits":"",
"name_translations":{
"en":"自訂付款方式-en",
"ms":"自訂付款方式-my",
"th":"自訂付款方式-th",
"vi":"自訂付款方式-vn",
"zh-cn":"自訂付款方式-簡",
"zh-hant":"自訂付款方式-繁"
},
"order_id":"657c10c3a4693600603c5ed1",
"paid_at":null,
"payment_data":{
},
"payment_fee":{
"cents":0,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":0,
"label":""
},
"payment_gateway":"custom",
"payment_method_id":"624826a23bf82a65a6a5bce4",
"payment_slips_setting":{
"days_of_guest_view":1,
"enabled":false
},
"payment_status":"pending",
"payment_type":"custom",
"processed_at":null,
"ref_payment_id":null,
"status":"pending",
"total":{
"cents":10,
"currency_iso":"TWD",
"currency_symbol":"NT$",
"dollars":10,
"label":"NT$10"
},
"updated_at":"2023-12-15T08:39:33.979Z"
},
"topic":"order_payment/update",
"trace_id":"a95c53ae-0a41-4530-a1a1-e2c61dcc7f3f",
"ts":"1703153296432331500"
}pos_return_order/update
Topic Name:
- pos_return_order/update
Description:
- 更新 POS 退貨單
Payload Example:
{
"event": "Order",
"merchant_handle": "peggylvtws2",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"resource": {
"_id": "64214d4f690a6d12674426ba",
"affiliate_campaign": null,
"affiliate_data": {},
"agent": {
"email": "[email protected]",
"name": "001-所有分店",
"phone": "1234567890",
"status": "active"
},
"cart_attributes": {},
"channel": {
"created_by_channel_id": "6238090fcd3372003ed0a26b",
"created_by_channel_name": {
"en": "tws2-pos1",
"zh-hant": "tws2-pos1"
}
},
"checkout_object_data": {
"_id": "64214d504354b329e5d95edf",
"current_total": {
"cents": -349,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -349,
"label": "NT$-349"
},
"number": "C20230327080120842",
"order_ids": [
"64214d4f690a6d12674426ba"
]
},
"child_order_ids": [],
"confirmed_at": null,
"created_at": "2023-03-27T08:01:20.865Z",
"created_by": "pos",
"created_from": "pos",
"currency_iso": "TWD",
"custom_data": [],
"custom_discount_items": null,
"customer_email": "[email protected]",
"customer_id": "624d93a82efbb0001f5662a8",
"customer_info": {},
"customer_name": "p1",
"customer_phone": "0912345678",
"customer_phone_country_code": "886",
"delivery_address": {},
"delivery_data": {},
"delivery_option_id": "62380853e1e82e001c7e4fcc",
"edited_at": null,
"ga_tracked": false,
"id": "64214d4f690a6d12674426ba",
"invoice": {
"buyer_name": "",
"carrier_number": "",
"carrier_type": "",
"invoice_cancelled_at": null,
"invoice_date": null,
"invoice_number": "",
"invoice_status": "",
"invoice_tax_type": "",
"invoice_type": "",
"mailing_address": "",
"n_p_o_b_a_n": "",
"tax_id": ""
},
"invoices": [],
"membership_tier_data": null,
"merchant_order_number": null,
"order_comments": [],
"order_delivery": {
"arrived_at": null,
"collected_at": null,
"delivery_option_id": "62380853e1e82e001c7e4fcc",
"delivery_status": "pending",
"delivery_type": null,
"name_translations": {
"en": "pick up at offline store",
"zh-cn": "实体商店取货",
"zh-hant": "實體商店取貨"
},
"platform": "pos",
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"returned_at": null,
"shipped_at": null,
"status": "collected",
"store_closed_at": null,
"storeclosed_upload_at": null,
"total": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
}
},
"order_discount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"order_notes": [],
"order_number": "20230327080120841",
"order_payment": {
"created_at": "2023-03-27T08:01:22.023Z",
"id": "64214d514354b329e5d95f12",
"last_four_digits": "",
"name_translations": {
"en": "offline store payment",
"zh-cn": "实体商店付款",
"zh-hant": "實體商店付款"
},
"paid_at": "2023-03-27T08:01:22.644+00:00",
"payment_data": {},
"payment_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"payment_method_id": "62380853e1e82e001c7e4fcb",
"payment_slips_setting": null,
"payment_type": "pos",
"ref_payment_id": null,
"status": "completed",
"total": {
"cents": -349,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -349,
"label": "NT$-349"
},
"updated_at": "2023-03-27T08:01:22.644Z"
},
"order_points_to_cash": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"order_remarks": null,
"order_source": {
"id": "6246e7eaff759d00337c28ff",
"name": {
"en": "tws2-pos1",
"zh-hant": "tws2-pos1"
},
"source_id": "6238090fcd3372003ed0a26b",
"type": "offline_store"
},
"parent_order_id": null,
"payment_slips": [],
"promotion_items": [
{
"created_at": "2023-03-27T08:01:21.919Z",
"discountable_amount": null,
"discounted_amount": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"id": "64214d514354b329e5d95f11",
"promotion": {
"_id": "635664128eebe4003492e7ea",
"addon_product_id": null,
"available_channel_ids": [],
"available_platforms": [
"ec",
"retail"
],
"banner_media_ids": [],
"codes": [],
"coupon_generated_by": null,
"coupon_type": null,
"created_at": "2022-10-24T10:08:18.864Z",
"description_translations": {},
"discount_amount": null,
"discount_on": "order",
"discount_percentage": null,
"discount_type": "credit_reward",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"draw_end_at": null,
"draw_from": null,
"draw_start_at": null,
"drew_coupon_count": 0,
"end_at": null,
"extended_promotion_id": null,
"first_purchase_only": false,
"for_affiliate_campaign": false,
"id": "635664128eebe4003492e7ea",
"is_accumulated": true,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": true,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"show_coupon": false,
"start_at": "2022-10-14T07:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "指定會員等級送1/2/3%",
"ja": "",
"ms": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": ""
},
"updated_at": "2022-11-11T15:22:45.705Z",
"use_count": 473,
"user_max_use_count": null,
"whitelisted_tag_contents": []
},
"subtotal_after": {
"cents": -349,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -349,
"label": "NT$-349"
},
"updated_at": "2023-03-27T08:01:21.919Z"
}
],
"ref_customer_id": "",
"ref_order_id": "",
"return_from_order_id": null,
"seller_id": "61b1bfdb065f7e0069dcf5a6",
"skip_fulfillment": false,
"split_at": null,
"status": "completed",
"subtotal": {
"cents": -349,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -349,
"label": "NT$-349"
},
"subtotal_items": [
{
"cost": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"created_by": "openapi",
"discounted_price": null,
"fields_translations": {},
"id": "64214d50690a6d12674426bb",
"is_preorder": false,
"item_data": {
"applied_order_promotion_discounts": null,
"discounted_price": null,
"has_exclude_promotion_tag": false,
"listing": null,
"order_custom_discount_items": {
"discounted_price": "",
"order_discounted_price": []
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "",
"dollars": 0,
"label": ""
},
"order_promotion_items": null,
"price_set": null,
"selected_child_products": null
},
"item_id": "6385de6c8b00c3004afb2e7f",
"item_price": {
"cents": 100,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 100,
"label": "NT$100"
},
"item_type": "Product",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "64019edb4b15dd003b0f6e19",
"images": {
"favicon": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"favicon_large": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"favicon_small": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"original": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"source": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"thumb": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"transparent_large": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"transparent_thumb": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
},
"transparent_xlarge": {
"height": 1081,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/64019edb4b15dd003b0f6e19/original.jpg?1677827802",
"width": 750
}
},
"updated_at": 0
},
"object_data": {
"barcode_type": "Code 128",
"gtin": "78412588",
"max_order_quantity": -1,
"weight": 0
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"preorder_note_translations": {},
"price": {
"cents": 100,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 100,
"label": "NT$100"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": -1,
"ref_data": null,
"sku": "",
"title_translations": {
"de": "",
"en": "自訂商品10",
"fr": "",
"id": "",
"ja": "",
"ms": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": "自訂商品10"
},
"total": {
"cents": -100,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -100,
"label": "NT$-100"
},
"total_points": null
},
{
"child_products": [
{
"fields_translations": null,
"id": "62df8746809b330047b8326f",
"price": {
"cents": 100,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 100,
"label": "NT$100"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"sku": "",
"title_translations": {
"de": null,
"en": null,
"fr": null,
"ja": null,
"ms": null,
"th": null,
"vi": null,
"zh-cn": null,
"zh-hant": "poss1"
},
"variation_id": null,
"weight": 0
},
{
"fields_translations": null,
"id": "6342818b4d2a310035c4c62f",
"price": {
"cents": 60,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 60,
"label": "NT$60"
},
"price_sale": {
"cents": 110,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 110,
"label": "NT$110"
},
"sku": "xixi1",
"title_translations": {
"de": null,
"en": "嘻嘻",
"fr": null,
"ja": null,
"ms": null,
"th": null,
"vi": null,
"zh-cn": null,
"zh-hant": null
},
"variation_id": null,
"weight": 0
}
],
"cost": {
"cents": 120,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 120,
"label": "NT$120"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64214d50690a6d12674426bc",
"is_preorder": false,
"item_data": {
"applied_order_promotion_discounts": null,
"discounted_price": null,
"has_exclude_promotion_tag": false,
"listing": null,
"order_custom_discount_items": {
"discounted_price": "",
"order_discounted_price": []
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "",
"dollars": 0,
"label": ""
},
"order_promotion_items": null,
"price_set": null,
"selected_child_products": [
{
"child_product_id": "62df8746809b330047b8326f",
"quantity": 2,
"stock_id": "62df8746809b330047b83272"
},
{
"child_product_id": "6342818b4d2a310035c4c62f",
"quantity": 2,
"stock_id": "6342818b4d2a310035c4c633"
}
],
"variation_data": null
},
"item_id": "638042f0429d640039fa9192",
"item_price": {
"cents": 150,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 150,
"label": "NT$150"
},
"item_type": "ProductSet",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "638042ba429d64003cfa9211",
"images": {
"favicon": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"favicon_large": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"favicon_small": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"original": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"source": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"thumb": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"transparent_large": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"transparent_thumb": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
},
"transparent_xlarge": {
"height": 1440,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/638042ba429d64003cfa9211/original.jpg?1669350074",
"width": 1080
}
},
"updated_at": 0
},
"object_data": {
"adult": "no",
"age_group": "all_ages",
"barcode_type": "Code 128",
"condition": "new",
"gender": "unisex",
"gtin": "91027344",
"max_order_quantity": -1,
"weight": 0
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"preorder_note_translations": {},
"price": {
"cents": 200,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 200,
"label": "NT$200"
},
"price_sale": {
"cents": 150,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 150,
"label": "NT$150"
},
"quantity": -1,
"ref_data": null,
"sku": "",
"title_translations": {
"de": "",
"en": "組合商品-子商品數量>1-en",
"fr": "",
"id": "",
"ja": "",
"ms": "",
"th": "組合商品-子商品數量>1-th",
"vi": "組合商品-子商品數量>1-vn",
"zh-cn": "組合商品-子商品數量>1-簡",
"zh-hant": "組合商品-子商品數量>1-繁"
},
"total": {
"cents": -150,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -150,
"label": "NT$-150"
},
"total_points": null
},
{
"cost": {
"cents": 60,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 60,
"label": "NT$60"
},
"created_by": "admin",
"discounted_price": null,
"fields_translations": {},
"id": "64214d50690a6d12674426bd",
"is_preorder": false,
"item_data": {
"applied_order_promotion_discounts": null,
"discounted_price": null,
"has_exclude_promotion_tag": false,
"listing": {
"cost": 60,
"cost_info": {
"cents": 60,
"currency_iso": "TWD"
},
"credit_ratio_amount": 0,
"discount_ratio_amount": 0,
"is_returned_item": true,
"listing": {
"_id": "93afae7a-ac4d-49fc-848f-4fbcc5ac7bea",
"barcode": "21269588",
"barcode_type": "",
"cost": 60,
"cost_info": {
"cents": 60,
"currency_iso": "TWD"
},
"image_urls": [
"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740"
],
"name": "嘻嘻",
"price": 120,
"price_info": {
"cents": 120,
"currency_iso": "TWD"
},
"product_id": "6342818b4d2a310035c4c62f",
"sku": "xixi1",
"variants": []
},
"membership_price": {
"cents": -99,
"currency_iso": "TWD"
},
"name": "嘻嘻",
"price": -99,
"price_info": {
"cents": -99,
"currency_iso": "TWD"
},
"product": {
"_id": "29547675-33a3-4b59-9864-0a4f497cd4a2",
"check_inventory": true,
"collection_id": {
"desc": "",
"name": ""
},
"image_urls": [
"https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740"
],
"listing_ids": [],
"name": "嘻嘻",
"supplier_id": {
"address": "",
"name": "",
"note": "",
"phone": ""
},
"tags": [],
"variants": [
{
"label": "",
"values": []
}
]
},
"qty": 1,
"type": "lineitem"
},
"order_custom_discount_items": {
"discounted_price": "",
"order_discounted_price": []
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "",
"dollars": 0,
"label": ""
},
"order_promotion_items": null,
"price_set": {
"id": "64214d50690a6d12674426be",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"price": {
"cents": -120,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -120,
"label": ""
},
"price_details": [],
"product_id": null
},
"selected_child_products": null
},
"item_id": "6342818b4d2a310035c4c62f",
"item_price": {
"cents": 99,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 99,
"label": "NT$99"
},
"item_type": "Product",
"item_variation_id": "",
"item_variation_key": "",
"media": {
"_id": "634280d44d2a310032c4c62b",
"images": {
"favicon": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"favicon_large": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"favicon_small": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"original": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"source": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"thumb": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"transparent_large": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"transparent_thumb": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
},
"transparent_xlarge": {
"height": 700,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/634280d44d2a310032c4c62b/original.jpg?1665302740",
"width": 913
}
},
"updated_at": 0
},
"object_data": {
"adult": "no",
"age_group": "all_ages",
"barcode_type": "Code 128",
"condition": "new",
"gender": "unisex",
"gtin": "21269588",
"max_order_quantity": -1,
"weight": 0
},
"order_discounted_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"preorder_note_translations": {},
"price": {
"cents": 60,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 60,
"label": "NT$60"
},
"price_sale": {
"cents": 110,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 110,
"label": "NT$110"
},
"quantity": -1,
"ref_data": null,
"sku": "xixi1",
"title_translations": {
"de": "",
"en": "嘻嘻",
"fr": "",
"id": "",
"ja": "",
"ms": "",
"th": "",
"vi": "",
"zh-cn": "",
"zh-hant": ""
},
"total": {
"cents": -99,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -99,
"label": "NT$-99"
},
"total_points": null
}
],
"system_order_number": "20230327080120841",
"total": {
"cents": -349,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": -349,
"label": "NT$-349"
},
"total_tax_fee": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"updated_at": "2023-03-27T08:01:22.693Z",
"user_credit": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"utm_data": {}
},
"topic": "pos_return_order/update",
"trace_id": "89ded45e-cfe2-4e30-8242-83f17061229e",
"ts": "1703153797529792300"
}return_order/cancel
Topic Name:
- return_order/cancel
Description:
- 退貨單轉已取消
Payload Example:
{
"event": "ReturnOrder",
"merchant_handle": "yuzhentws",
"merchant_id": "6294898aa088344648a1c17a",
"resource": {
"coupon_ids": null,
"created_at": "2024-01-19T10:56:07.343Z",
"custom_fields": {},
"custom_fields_translations": [
{
"field_id": "65aa463b6294ed008f1f2c17",
"field_translations": {
"zh-hant": "自訂欄位❣️1"
},
"value": ""
},
{
"field_id": "65aa463b6294ed008f1f2c18",
"field_translations": {
"zh-hant": "自訂欄位❣️2"
},
"value": ""
},
{
"field_id": "65aa463b6294ed008f1f2c19",
"field_translations": {
"zh-hant": "自訂欄位❣️3"
},
"value": ""
}
],
"customer_email": "[email protected]",
"customer_id": "65388fa96f5391555614f558",
"customer_info": {
"64dd891d09b2420038fdf678": {
"name_translations": {
"zh-hant": "自訂#1"
},
"value": ""
},
"64dd891d09b2420038fdf679": {
"name_translations": {
"zh-hant": "自訂#2"
},
"value": ""
},
"64fec6b9c77272003fe5ca27": {
"name_translations": {
"zh-hant": "自訂#3"
},
"value": ""
},
"birth_day": {
"value": null
},
"birth_month": {
"value": null
},
"birth_year": {
"value": null
},
"birthday": {
"value": ""
},
"gender": {
"value": "male"
}
},
"customer_name": "yuzhen",
"customer_phone": "0933123123",
"customer_type": "User",
"delivery_address": {
"address_1": "test",
"address_2": "板橋區",
"city": "新北市",
"country": "台灣",
"country_code": "TW",
"district": "",
"logistic_codes": [
"1200003",
"1200044"
],
"postcode": "220",
"recipient_name": "yuzhen",
"recipient_phone": "0933123123",
"recipient_phone_country_code": "886",
"state": ""
},
"delivery_data": {},
"expired_at": null,
"id": "65aa55476294ed00951f2ce6",
"inspect_status": "pending",
"item_ids": [
"65aa54c26294ed00951f2ccd",
"65aa54c26294ed00951f2cce",
"65aa54c26294ed00951f2cd1"
],
"merchant_return_order_number": null,
"order_id": "65aa54c26294ed00951f2cc3",
"order_remarks": "",
"ref_data": {
"return_order_revamp": "v1"
},
"return_order_number": "2024011910560772",
"returned_by": "shop",
"seller_id": "6294898aa088344648a1c17a",
"seller_type": "Merchant",
"track_data": {},
"updated_at": "2024-01-19T10:56:07.502Z"
},
"topic": "return_order/cancel",
"trace_id": "9c60ca33-496d-4501-804a-0221d6b43ccd",
"ts": "1705661767360982300"
}return_order/complete
Topic Name:
- return_order/complete
Description:
- 退貨單轉已完成
Payload Example:
{
"event": "ReturnOrder",
"merchant_handle": "yuzhentws",
"merchant_id": "6294898aa088344648a1c17a",
"resource": {
"coupon_ids": null,
"created_at": "2024-01-19T10:56:07.343Z",
"custom_fields": {},
"custom_fields_translations": [
{
"field_id": "65aa463b6294ed008f1f2c17",
"field_translations": {
"zh-hant": "自訂欄位❣️1"
},
"value": ""
},
{
"field_id": "65aa463b6294ed008f1f2c18",
"field_translations": {
"zh-hant": "自訂欄位❣️2"
},
"value": ""
},
{
"field_id": "65aa463b6294ed008f1f2c19",
"field_translations": {
"zh-hant": "自訂欄位❣️3"
},
"value": ""
}
],
"customer_email": "[email protected]",
"customer_id": "65388fa96f5391555614f558",
"customer_info": {
"64dd891d09b2420038fdf678": {
"name_translations": {
"zh-hant": "自訂#1"
},
"value": ""
},
"64dd891d09b2420038fdf679": {
"name_translations": {
"zh-hant": "自訂#2"
},
"value": ""
},
"64fec6b9c77272003fe5ca27": {
"name_translations": {
"zh-hant": "自訂#3"
},
"value": ""
},
"birth_day": {
"value": null
},
"birth_month": {
"value": null
},
"birth_year": {
"value": null
},
"birthday": {
"value": ""
},
"gender": {
"value": "male"
}
},
"customer_name": "yuzhen",
"customer_phone": "0933123123",
"customer_type": "User",
"delivery_address": {
"address_1": "test",
"address_2": "板橋區",
"city": "新北市",
"country": "台灣",
"country_code": "TW",
"district": "",
"logistic_codes": [
"1200003",
"1200044"
],
"postcode": "220",
"recipient_name": "yuzhen",
"recipient_phone": "0933123123",
"recipient_phone_country_code": "886",
"state": ""
},
"delivery_data": {},
"expired_at": null,
"id": "65aa55476294ed00951f2ce6",
"inspect_status": "inspected",
"item_ids": [
"65aa54c26294ed00951f2ccd",
"65aa54c26294ed00951f2cce",
"65aa54c26294ed00951f2cd1"
],
"merchant_return_order_number": null,
"order_id": "65aa54c26294ed00951f2cc3",
"order_remarks": "",
"ref_data": {
"return_order_revamp": "v1"
},
"return_order_number": "2024011910560772",
"returned_by": "shop",
"seller_id": "6294898aa088344648a1c17a",
"seller_type": "Merchant",
"track_data": {},
"updated_at": "2024-01-19T10:56:07.502Z"
},
"topic": "return_order/complete",
"trace_id": "9c60ca33-496d-4501-804a-0221d6b43ccd",
"ts": "1705661767360982300"
}return_order/create
Topic Name:
- return_order/create
Description:
- 建立退貨單
Payload Example:
{
"event": "ReturnOrder",
"merchant_handle": "asaktwstg",
"merchant_id": "6152cd3b6ed8bb003a727922",
"resource": {
"coupon_ids": null,
"created_at": "2023-09-25T00:15:37.814Z",
"custom_fields": {},
"custom_fields_translations": [],
"customer_email": "[email protected]",
"customer_id": "63edf433694ff56fab914428",
"customer_info": {},
"customer_name": "tina.ho",
"customer_phone": "0955477211",
"customer_type": "User",
"delivery_address": {
"address_1": "敦化北路123號",
"address_2": "松山區",
"city": "台北市",
"country": "台灣",
"country_code": "TW",
"district": "",
"logistic_codes": [
"1200001",
"1200026"
],
"postcode": "105",
"recipient_name": "tina.ho",
"recipient_phone": "0999999999",
"recipient_phone_country_code": "",
"state": ""
},
"delivery_data": {},
"expired_at": null,
"id": "6510d129e07c53004836225e",
"inspect_status": "pending",
"item_ids": [
"650d49277d56b30049294e40",
"650d49277d56b30049294e41",
"650d49277d56b30049294e42",
"650d49277d56b30049294e43",
"650d49277d56b30049294e44"
],
"merchant_return_order_number": null,
"order_id": "650d49267d56b30049294e3c",
"order_remarks": "",
"ref_data": {},
"return_order_number": "202309250015371",
"returned_by": "admin",
"seller_id": "6152cd3b6ed8bb003a727922",
"seller_type": "Merchant",
"track_data": {},
"updated_at": "2023-09-25T00:15:37.814Z"
},
"topic": "return_order/create",
"trace_id": "d586d272-b490-4fd6-99c5-c9ec5c89a041",
"ts": "1695600937828986000"
}Product Related Event
product/create
Topic Name:
- product/create
Description:
- 商品建立時
Trigger Point:
- 商品建立
Payload Example:
{
"event": "Product",
"merchant_id": "657fe76b11d72b1c22fb4aaf",
"resource": {
"adult": "no",
"age_group": "all_ages",
"available_end_time": null,
"available_start_time": null,
"barcode": null,
"barcode_type": "Code 128",
"blacklisted_delivery_option_ids": [],
"blacklisted_feed_channels": [],
"blacklisted_payment_ids": [],
"brand": null,
"bundle_set": null,
"categories": [
{
"banner_medias": [],
"children": [],
"created_by": "admin",
"id": "657fe76f4abe6c003e3ddd1e",
"key": "featured_products",
"name_translations": {
"de": "Empfohlene Produkte",
"en": "Featured Products",
"fr": "Produits à la une",
"id": "Produk Unggulan",
"ja": "おすすめ商品",
"ms": "Produk Terpilih",
"th": "สินค้าแนะนำ",
"vi": "Sản phẩm nổi bật",
"zh-cn": "精选商品",
"zh-hant": "精選商品",
"zh-hk": "精選商品",
"zh-tw": "精選商品"
},
"parent_id": null,
"priority": 1,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"sort_setting": null,
"status": "active"
}
],
"category_ids": [
"657fe76f4abe6c003e3ddd1e"
],
"condition": "new",
"cost": {
"cents": 0,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 0,
"label": "HK$0.00"
},
"created_at": "2023-12-18T06:44:36.775Z",
"created_by": "admin",
"description_translations": {
"en": "",
"zh-hant": "Production Description"
},
"detail_medias": [],
"feed_category": {},
"feed_variations": {},
"field_titles": [],
"filter_tags": [],
"flash_price_sets": [
{
"created_at": "2023-12-18T08:41:00.956Z",
"end_at": "2023-12-31T08:00:00.000+00:00",
"id": "67c7f0b4963a310848c2841e",
"price_set": {
"channel_id": null,
"created_at": "2023-12-18T08:41:00.874Z",
"flash_price_campaign_id": "6580059c0abede003dde8828",
"id": "6580059c0abede003dde8829",
"price": {
"cents": 1000,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 10,
"label": "HK$10.00"
},
"price_details": [],
"price_sale": {
"cents": 900,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 9,
"label": "HK$9.00"
},
"status": "active",
"type": "flash_price",
"updated_at": "2023-12-18T08:41:00.874Z"
},
"start_at": "2023-12-18T08:00:00.331+00:00",
"updated_at": "2023-12-18T08:41:00.956Z"
}
],
"gender": "unisex",
"gtin": "10122190",
"hide_price": false,
"id": "657fea540abede0037de88da",
"is_excluded_promotion": false,
"is_preorder": false,
"is_reminder_active": false,
"labels": [],
"link": "/product",
"location_id": null,
"locked_inventory_count": 0,
"lowest_price": {
"cents": 1000,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 10,
"label": "HK$10.00"
},
"lowest_price_sale": {
"cents": 0,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 0,
"label": ""
},
"max_order_quantity": -1,
"medias": [
{
"_id": "657fea3f0abede003dde8821",
"alt_translations": {},
"blurhash": "UVRysgRj%Mxut7ayofj[~qt7IURj%Mj[WBay",
"images": {
"favicon": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"favicon_large": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"favicon_small": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"original": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"source": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"thumb": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"transparent_large": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"transparent_thumb": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
},
"transparent_xlarge": {
"height": 250,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/657fea3f0abede003dde8821/original.png?1702881855",
"width": 800
}
}
}
],
"member_price": {
"cents": 0,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 0,
"label": "HK$0.00"
},
"mpn": null,
"out_of_stock_orderable": false,
"oversea_tax_type": null,
"preorder_limit": -1,
"preorder_note_translations": {},
"price": {
"cents": 1000,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 10,
"label": "HK$10.00"
},
"price_sale": {
"cents": 0,
"currency_iso": "HKD",
"currency_symbol": "HK$",
"dollars": 0,
"label": "HK$0.00"
},
"product_price_tiers": [],
"quantity": 0,
"related_product_ids": [],
"retail_status": "active",
"same_price": false,
"schedule_publish_at": null,
"seo_description_translations": {
"en": "",
"zh-hant": "Production Description"
},
"seo_keywords": null,
"seo_title_translations": {
"en": "Product"
},
"show_custom_related_products": false,
"sku": null,
"status": "active",
"subscription_enabled": false,
"subscription_period_duration": 7,
"subscription_recurring_count_limit": -1,
"summary_translations": {
"en": "",
"zh-hant": "Product Summary"
},
"supplier": null,
"tags": [],
"tax_type": null,
"taxable": false,
"title_translations": {
"en": "Product"
},
"total_orderable_quantity": -1,
"type": "product",
"unlimited_quantity": true,
"updated_at": "2023-12-18T08:41:00.956Z",
"variant_options": [],
"variations": [],
"weight": 0
},
"topic": "product/create",
"trace_id": "98a1f8bd-936b-42ac-a42f-a3b809e208e0",
"ts": "1741155824798000000"
}product/inventory_update
Topic Name:
- product/inventory_update
Description:
- 更新商品庫存時觸發
Trigger Point:
- 更新商品库存
- SC通过创建/取消订单实现扣减库存
Payload Example:
{
"event": "Product",
"locked_inventory_count": {
"locked_inventory_count": 1,
"variations": {}
},
"merchant_id": "61c56e7e7f33e700430d76ce",
"resource": {
"id": "64ed73a1060e20052140d5fe",
"locked_inventory_count": {
"locked_inventory_count": 1,
"variations": {}
},
"merchant_id": "61c56e7e7f33e700430d76ce",
"total_orderable_quantity": 4,
"total_quantity": 2,
"variation_quantities": {},
"variation_total_orderable_quantities": {}
},
"topic": "product/inventory_update",
"total_orderable_quantity": 4,
"total_quantity": 2,
"trace_id": "dee3c810-9d78-4ed9-aaae-b7e9ae7a06db",
"ts": "1693295040698785000",
"variation_quantities": {},
"variation_total_orderable_quantities": {}
}product/remove
Topic Name:
- product/remove
Description:
- 商品被刪除時(普通商品 、組合商品刪除會觸發)
Trigger Point:
- 商品删除
Payload Example:
{
"event": "Product",
"merchant_id": "6327e262c7ef5b176ba75166",
"resource": {
"adult": null,
"age_group": null,
"available_end_time": null,
"available_start_time": null,
"barcode": null,
"barcode_type": "Code 128",
"blacklisted_delivery_option_ids": [],
"blacklisted_feed_channels": null,
"blacklisted_payment_ids": [],
"brand": null,
"categories": [
{
"banner_medias": [],
"created_by": "admin",
"id": "6327e265b64cf20035ecb425",
"key": "featured_products",
"name_translations": {
"de": "Empfohlene Produkte",
"en": "Featured Products",
"fr": "Produits à la une",
"id": "Produk Unggulan",
"ja": "おすすめ商品",
"ms": "Produk Terpilih",
"th": "สินค้าแนะนำ",
"vi": "Sản phẩm nổi bật",
"zh-cn": "精选商品",
"zh-hant": "精選商品",
"zh-hk": "精選商品",
"zh-tw": "精選商品"
},
"parent_id": null,
"priority": 1,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"status": "active"
}
],
"category_ids": [
"6327e265b64cf20035ecb425"
],
"condition": null,
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"created_at": "2023-09-25T09:20:36.437Z",
"created_by": "openapi",
"description_translations": {
"en": "No transaction fees. No design or technical skills required. Integrated with multiple payment and logistic options. With over 120,000 merchants online. Everything you need for your e-commerce store.",
"zh-hant": "我們是一家以產品設計為主導的公司, 旨在打造款式簡潔時尚且關注社會大眾需求的產品。 公司聚集了一批來自哈佛大學設計學院 以及麻省理工商學院的優秀設計團隊。 我們致力於設計獨特新穎的創新產品, 適合不同年齡,性別人士使用。 在執著追求產品優化同時,注重履行企業社會責任。"
},
"detail_medias": [],
"feed_category": {},
"feed_variations": {},
"field_titles": [
{
"index": 0,
"key": "color",
"label": "Color",
"name_translations": {
"en": "Color",
"zh-hant": "顏色"
}
},
{
"index": 1,
"key": "custom",
"label": "Custom",
"name_translations": {
"en": "Custom1",
"zh-hant": "自訂1"
},
"type_num": "1"
}
],
"filter_tags": [],
"flash_price_sets": [],
"gender": null,
"gtin": null,
"hide_price": false,
"id": "651150e49e161b00408e40bf",
"is_excluded_promotion": false,
"is_preorder": false,
"is_reminder_active": true,
"link": "/shopline-1",
"location_id": "shoplineabc",
"lowest_price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"lowest_price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"max_order_quantity": 4,
"medias": [
{
"_id": "651150e49e161b00408e40b6",
"alt_translations": null,
"blurhash": "UVRysgRj%Mxut7ayofj[~qt7IURj%Mj[WBay",
"images": {
"favicon": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"favicon_large": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"favicon_small": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"original": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"source": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"thumb": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"transparent_large": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"transparent_thumb": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
},
"transparent_xlarge": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/651150e49e161b00408e40b6/original.png?1695633635",
"width": 1600
}
}
}
],
"member_price": {
"cents": 500,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 500,
"label": "NT$500"
},
"mpn": null,
"out_of_stock_orderable": false,
"oversea_tax_type": null,
"preorder_limit": -1,
"preorder_note_translations": {
"en": "Shipping starts April 20th, 1971, preorder NOW!",
"zh-hant": "1971/04/20 開始出貨, 立即訂購!"
},
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"quantity": 103,
"related_product_ids": [],
"retail_status": "active",
"same_price": true,
"schedule_publish_at": null,
"seo_description_translations": {
"en": "No transaction fees. No design or technical skills required. Integrated with multiple payment and logistic options. With over 120,000 merchants online. Everything you need for your e-commerce store.",
"zh-hant": "我們是一家以產品設計為主導的公司, 旨在打造款式簡潔時尚且關注社會大眾需求的產品。 公司聚集了一批來自哈佛大學設計學院 以及麻省理工商學院的優秀設計團隊。 我們致力於設計獨特新穎的創新產品, 適合不同年齡,性別人士使用。 在執著追求產品優化同時,注重履行企業社會責任。"
},
"seo_keywords": "電商, 開店, 創業",
"seo_title_translations": {
"en": "SHOPLINE",
"zh-hant": "商線科技"
},
"show_custom_related_products": true,
"sku": "sku_123345",
"status": "removed",
"subscription_enabled": false,
"subscription_period_duration": 7,
"subscription_recurring_count_limit": -1,
"summary_translations": {
"en": "",
"zh-hant": ""
},
"supplier": null,
"tags": [
"shopline",
"123",
"abc"
],
"tax_type": null,
"taxable": false,
"title_translations": {
"en": "open api create test product",
"zh-hant": "test related product"
},
"total_orderable_quantity": 103,
"unlimited_quantity": false,
"updated_at": "2023-09-26T07:22:36.773Z",
"variant_options": [
{
"id": "651150e49e161b00408e40bb",
"index": 0,
"media": {},
"name_translations": {
"en": "green",
"zh-hant": "綠"
},
"type": "color"
},
{
"id": "651150e49e161b00408e40bd",
"index": 1,
"media": {},
"name_translations": {
"en": "L1",
"zh-hant": "大1"
},
"type": "custom"
},
{
"id": "651150e49e161b00408e40be",
"index": 1,
"media": {},
"name_translations": {
"en": "S1",
"zh-hant": "小1"
},
"type": "custom"
},
{
"id": "651150e49e161b00408e40bc",
"index": 0,
"media": {},
"name_translations": {
"en": "Red",
"zh-hant": "紅"
},
"type": "color"
}
],
"variations": [
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "green",
"zh-hant": "綠"
},
"custom_1": {
"en": "L1",
"zh-hant": "大1"
}
},
"fields": [
{
"name_translations": {
"en": "green",
"zh-hant": "綠"
}
},
{
"name_translations": {
"en": "L1",
"zh-hant": "大1"
}
}
],
"fields_translations": {
"en": [
"green",
"L1"
],
"zh-hant": [
"綠",
"大1"
]
},
"gtin": "83079472",
"id": "651150e3bd2c470021204875",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 500,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 500,
"label": "NT$500"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"quantity": 100,
"sku": "green_l1",
"total_orderable_quantity": 100,
"unlimited_quantity": null,
"variant_option_ids": [
"651150e49e161b00408e40bb",
"651150e49e161b00408e40bd"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "green",
"zh-hant": "綠"
},
"custom_1": {
"en": "S1",
"zh-hant": "小1"
}
},
"fields": [
{
"name_translations": {
"en": "green",
"zh-hant": "綠"
}
},
{
"name_translations": {
"en": "S1",
"zh-hant": "小1"
}
}
],
"fields_translations": {
"en": [
"green",
"S1"
],
"zh-hant": [
"綠",
"小1"
]
},
"gtin": "09160407",
"id": "651150e3bd2c470021204876",
"location_id": null,
"media": {},
"member_price": {
"cents": 500,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 500,
"label": "NT$500"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"quantity": 1,
"sku": null,
"total_orderable_quantity": 1,
"unlimited_quantity": null,
"variant_option_ids": [
"651150e49e161b00408e40bb",
"651150e49e161b00408e40be"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "Red",
"zh-hant": "紅"
},
"custom_1": {
"en": "L1",
"zh-hant": "大1"
}
},
"fields": [
{
"name_translations": {
"en": "Red",
"zh-hant": "紅"
}
},
{
"name_translations": {
"en": "L1",
"zh-hant": "大1"
}
}
],
"fields_translations": {
"en": [
"Red",
"L1"
],
"zh-hant": [
"紅",
"大1"
]
},
"gtin": "23244390",
"id": "651150e3bd2c470021204877",
"location_id": null,
"media": {},
"member_price": {
"cents": 500,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 500,
"label": "NT$500"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"quantity": 1,
"sku": null,
"total_orderable_quantity": 1,
"unlimited_quantity": null,
"variant_option_ids": [
"651150e49e161b00408e40bc",
"651150e49e161b00408e40bd"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "Red",
"zh-hant": "紅"
},
"custom_1": {
"en": "S1",
"zh-hant": "小1"
}
},
"fields": [
{
"name_translations": {
"en": "Red",
"zh-hant": "紅"
}
},
{
"name_translations": {
"en": "S1",
"zh-hant": "小1"
}
}
],
"fields_translations": {
"en": [
"Red",
"S1"
],
"zh-hant": [
"紅",
"小1"
]
},
"gtin": "67536903",
"id": "651150e3bd2c470021204878",
"location_id": null,
"media": {},
"member_price": {
"cents": 500,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 500,
"label": "NT$500"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 689,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 689,
"label": "NT$689"
},
"quantity": 1,
"sku": null,
"total_orderable_quantity": 1,
"unlimited_quantity": null,
"variant_option_ids": [
"651150e49e161b00408e40bc",
"651150e49e161b00408e40be"
],
"weight": 0
}
],
"weight": 123.99
},
"topic": "product/remove",
"trace_id": "51c34d32-8f9f-46d5-ac6a-ef833adc3d7a",
"ts": "1695712956784492000"
}product/update
Topic Name:
- product/update
Description:
- 商品更新 (庫存更新也會觸發)
Trigger Point:
- 商品更新
Payload Example:
{
"event": "Product",
"fulfillment": false,
"merchant_id": "6327e262c7ef5b176ba75166",
"resource": {
"adult": null,
"age_group": null,
"available_end_time": null,
"available_start_time": null,
"barcode": null,
"barcode_type": "Code 128",
"blacklisted_delivery_option_ids": [],
"blacklisted_feed_channels": [],
"blacklisted_payment_ids": [],
"brand": null,
"categories": [
{
"banner_medias": [],
"created_by": "admin",
"id": "6327e265b64cf20035ecb425",
"key": "featured_products",
"name_translations": {
"de": "Empfohlene Produkte",
"en": "Featured Products",
"fr": "Produits à la une",
"id": "Produk Unggulan",
"ja": "おすすめ商品",
"ms": "Produk Terpilih",
"th": "สินค้าแนะนำ",
"vi": "Sản phẩm nổi bật",
"zh-cn": "精选商品",
"zh-hant": "精選商品",
"zh-hk": "精選商品",
"zh-tw": "精選商品"
},
"parent_id": null,
"priority": 1,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"status": "active"
}
],
"category_ids": [
"6327e265b64cf20035ecb425"
],
"condition": null,
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"created_at": "2023-09-25T10:08:31.267Z",
"created_by": "openapi",
"description_translations": {
"en": "No transaction fees. No design or technical skills required. Integrated with multiple payment and logistic options. With over 120,000 merchants online. Everything you need for your e-commerce store.",
"zh-hant": "我們是一家以產品設計為主導的公司, 旨在打造款式簡潔時尚且關注社會大眾需求的產品。 公司聚集了一批來自哈佛大學設計學院 以及麻省理工商學院的優秀設計團隊。 我們致力於設計獨特新穎的創新產品, 適合不同年齡,性別人士使用。 在執著追求產品優化同時,注重履行企業社會責任。"
},
"detail_medias": [],
"feed_category": {},
"feed_variations": {},
"field_titles": [
{
"index": 0,
"key": "color",
"label": "Color",
"name_translations": {
"en": "Color",
"zh-hant": "顏色"
}
}
],
"filter_tags": [],
"flash_price_sets": [],
"gender": null,
"gtin": null,
"hide_price": false,
"id": "65115c1f07054b5aa2edc3cd",
"is_excluded_promotion": false,
"is_preorder": false,
"is_reminder_active": true,
"link": "/shopline-113",
"location_id": "shoplineabc",
"lowest_price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"lowest_price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": ""
},
"max_order_quantity": 4,
"medias": [
{
"_id": "65115c1e07054b5aa2edc3b8",
"alt_translations": null,
"blurhash": "UVRysgRj%Mxut7ayofj[~qt7IURj%Mj[WBay",
"images": {
"favicon": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"favicon_large": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"favicon_small": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"original": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"source": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"thumb": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"transparent_large": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"transparent_thumb": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
},
"transparent_xlarge": {
"height": 500,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/65115c1e07054b5aa2edc3b8/original.png?1695636510",
"width": 1600
}
}
}
],
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"out_of_stock_orderable": false,
"oversea_tax_type": null,
"preorder_limit": -1,
"preorder_note_translations": {
"en": "Shipping starts April 20th, 1971, preorder NOW!",
"zh-hant": "1971/04/20 開始出貨, 立即訂購!"
},
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 105,
"related_product_ids": [],
"retail_status": "active",
"same_price": true,
"schedule_publish_at": null,
"seo_description_translations": {
"en": "No transaction fees. No design or technical skills required. Integrated with multiple payment and logistic options. With over 120,000 merchants online. Everything you need for your e-commerce store.",
"zh-hant": "我們是一家以產品設計為主導的公司, 旨在打造款式簡潔時尚且關注社會大眾需求的產品。 公司聚集了一批來自哈佛大學設計學院 以及麻省理工商學院的優秀設計團隊。 我們致力於設計獨特新穎的創新產品, 適合不同年齡,性別人士使用。 在執著追求產品優化同時,注重履行企業社會責任。"
},
"seo_keywords": "電商, 開店, 創業",
"seo_title_translations": {
"en": "SHOPLINE",
"zh-hant": "商線科技"
},
"show_custom_related_products": true,
"sku": "sku_123345",
"status": "draft",
"subscription_enabled": false,
"subscription_period_duration": 7,
"subscription_recurring_count_limit": -1,
"summary_translations": {
"en": "",
"zh-hant": ""
},
"supplier": null,
"tags": [
"shopline",
"123",
"abc"
],
"tax_type": null,
"taxable": false,
"title_translations": {
"en": "open api create test product",
"zh-hant": "test related product"
},
"total_orderable_quantity": 105,
"unlimited_quantity": false,
"updated_at": "2023-09-26T07:19:03.544Z",
"variant_options": [
{
"id": "65115c1f07054b5aa2edc3c3",
"index": 0,
"media": {},
"name_translations": {
"en": "A",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c4",
"index": 0,
"media": {},
"name_translations": {
"en": "B",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c5",
"index": 0,
"media": {},
"name_translations": {
"en": "C",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c6",
"index": 0,
"media": {},
"name_translations": {
"en": "D",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c7",
"index": 0,
"media": {},
"name_translations": {
"en": "E",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c8",
"index": 0,
"media": {},
"name_translations": {
"en": "F",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3c9",
"index": 0,
"media": {},
"name_translations": {
"en": "G",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3ca",
"index": 0,
"media": {},
"name_translations": {
"en": "H",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3cb",
"index": 0,
"media": {},
"name_translations": {
"en": "I",
"zh-hant": ""
},
"type": "color"
},
{
"id": "65115c1f07054b5aa2edc3cc",
"index": 0,
"media": {},
"name_translations": {
"en": "J",
"zh-hant": ""
},
"type": "color"
}
],
"variations": [
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "A",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "A",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"A"
],
"zh-hant": [
""
]
},
"gtin": "32571111",
"id": "65115c1e3eeae80021654699",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 19,
"sku": "a123",
"total_orderable_quantity": 19,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c3"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "B",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "B",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"B"
],
"zh-hant": [
""
]
},
"gtin": "99023856",
"id": "65115c1e3eeae8002165469a",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 11,
"sku": "b123",
"total_orderable_quantity": 11,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c4"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "C",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "C",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"C"
],
"zh-hant": [
""
]
},
"gtin": "29528841",
"id": "65115c1e3eeae8002165469b",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 5,
"sku": "c123",
"total_orderable_quantity": 5,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c5"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "D",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "D",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"D"
],
"zh-hant": [
""
]
},
"gtin": "28282629",
"id": "65115c1e3eeae8002165469c",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 10,
"sku": "d123",
"total_orderable_quantity": 10,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c6"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "E",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "E",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"E"
],
"zh-hant": [
""
]
},
"gtin": "94904757",
"id": "65115c1e3eeae8002165469d",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 10,
"sku": "e123",
"total_orderable_quantity": 10,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c7"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "F",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "F",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"F"
],
"zh-hant": [
""
]
},
"gtin": "36044353",
"id": "65115c1e3eeae8002165469e",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 9,
"sku": "f123",
"total_orderable_quantity": 9,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c8"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "G",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "G",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"G"
],
"zh-hant": [
""
]
},
"gtin": "73365207",
"id": "65115c1e3eeae8002165469f",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 9,
"sku": "",
"total_orderable_quantity": 9,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3c9"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "H",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "H",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"H"
],
"zh-hant": [
""
]
},
"gtin": "69707255",
"id": "65115c1e3eeae800216546a0",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 13,
"sku": "h123",
"total_orderable_quantity": 13,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3ca"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "I",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "I",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"I"
],
"zh-hant": [
""
]
},
"gtin": "82654707",
"id": "65115c1e3eeae800216546a1",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 11,
"sku": "i123",
"total_orderable_quantity": 11,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3cb"
],
"weight": 0
},
{
"barcode": null,
"barcode_type": "Code 128",
"cost": {
"cents": 609,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 609,
"label": "NT$609"
},
"feed_variations": {
"color": {
"en": "J",
"zh-hant": ""
}
},
"fields": [
{
"name_translations": {
"en": "J",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"J"
],
"zh-hant": [
""
]
},
"gtin": "38452084",
"id": "65115c1e3eeae800216546a2",
"location_id": "LaB123",
"media": {},
"member_price": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"mpn": null,
"preorder_limit": -1,
"price": {
"cents": 1000,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 1000,
"label": "NT$1,000"
},
"price_sale": {
"cents": 0,
"currency_iso": "TWD",
"currency_symbol": "NT$",
"dollars": 0,
"label": "NT$0"
},
"quantity": 8,
"sku": "j123",
"total_orderable_quantity": 8,
"unlimited_quantity": null,
"variant_option_ids": [
"65115c1f07054b5aa2edc3cc"
],
"weight": 0
}
],
"weight": 123.99,
"type": "product"
},
"topic": "product/update",
"trace_id": "f0e62214-005e-4d96-89ce-ef0f4b1751ca",
"ts": "1695712743554850800"
}stock/update
Topic Name:
- stock/update
Description:
- 更新商品庫存时觸發
Trigger Point:
- 更新库存
Payload Example:
{
"event": "Stock",
"merchant_id": "64febd4bb0ff211d706e6a18",
"merchant_handle": "aiketws2",
"operation": "product_created",
"products": [
{
"id": "6960a293d40d36003dd98eac",
"sku": null,
"type": "product",
"variations": [
{
"key": "6960a29315ee9e001f591cb6",
"sku": null
}
]
}
],
"resource": {
"id": "6960a293d40d36003dd98eb8",
"quantity": 2,
"sku": null,
"warehouse_id": "64febd8a674ffe001accf211",
"whitelisted_channel_ids": [
"64febd8a674ffe001accf217",
"6809dc037e760e005f7aebf8",
"6809dc1b39d1e00061c57ef8",
"6810988fc10f6a006131d5a7"
]
},
"topic": "stock/update",
"trace_id": "10abcc4b-3342-4fe9-a509-de5d98d445e4",
"ts": "1767940756540584200"
}Warehouse Related Event
warehouse/create
Topic Name:
- warehouse/create
Description:
- 倉庫建立
Trigger Point:
- 倉庫建立时
Payload Example:
{
"event": "Warehouse",
"merchant_handle": "aiketws2",
"merchant_id": "64febd4bb0ff211d706e6a18",
"resource": {
"created_at": "2026-01-14T07:06:08.585Z",
"id": "6967406077d7360052976766",
"key": null,
"name_translations": {
"en": "黄金袋"
},
"organization_id": "64febd8a674ffe001accf210",
"status": "active",
"updated_at": "2026-01-14T07:09:30.478Z"
},
"topic": "warehouse/create",
"trace_id": "51d3bf92-4bfe-47b2-84cb-d77f69966878",
"ts": "1768374570497943800"
}Other Related Event
comment/payment_slip_upload
Topic Name:
- comment/payment_slip_upload
Description:
- 當顧客上傳付款憑證到訂單時
Payload Example:
{
"event": "Comment",
"merchant_id": "624fa433df19112100268046",
"resource": {
"custom_data": {
"order_id": "62a9ccb3f9a19b003a37af73",
"paid_time": "2022-06-21T16:00:00.000Z"
},
"id": "62b2ed7f13cdad0021773834",
"images": {
"_id": "62b2ed6413cdad001e773833",
"alt_translations": {},
"presigned_url": "https://img-shoplineapp-com.s3.ap-southeast-1.amazonaws.com/media/image_clips/private/62b2ed6413cdad001e773833/original.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAU3BJT6VWNWC3NXW6%2F20220622%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T102256Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2lvdXRoZWFzdC0xIkcwRQIhAMYOIgobyDk9e3%2Fa513daqAsSlmbYQ2KSpH5AzTr4d%2BRAiBY5Ag9HEmHZE0CxHcRSfFjo0KsP6dOx5MvMD6jZDtu1irMBQhcEAAaDDMzMjk0NzI1NjY4NCIMqBw%2BtwqA0Z8OV5xTKqkFOBNQUes5YEQXDKIqy7y2jb0cmV8egLDuYkNhmO6gtmvHa0lv0TEEVidueoc2Fw3ojjUwyQnsitIx12PpP3jloxVAMJYPlE3974DwDqoHPntJG9sX8bHRNzz3TCmvL37RwkWnifDW33AibPhKZTq8HgIgYbDbVCcc2qXLodCPbD0cJwkgPOcpPPER6Vjc7iVFgi%2FG%2BCriNNPrmcfcnKnC1lVuZh13Qv7IIEK640hMpCxWhyLlSfxU4jCWef3byVpdt%2BR3SxaCeB95No44Sl7%2FLWhih9hhq0GONrafZSf9kWikc%2BARlh335lvYhG0wSMJjBzOcLYyp76sbznf3EXOcZC5XjLzSPCBXfn3GMep7qEk0ZK6xrkaCBHdadmFLF0%2FpBZ20GKUszQP8JiMkbDVI5q8ibphQib4o7xhj7D8KBRuPd7rSP0SCL7QZNDtfqNrUlroyHXeXS9RTYcrJX75Bk3gMrbYoVwcMNczGwSra3XOSAiPFZKTXfXe62XiA7m62tmdmR8LsTsD%2F7DQo%2BVipzApT65X9GYe5prSa9tGRnaJbF3V4PEfkJmvnfMDF9cP2hiJZGQHk%2BsI%2FMfhi8x4OJYWZGCf%2FMiLQeMarxOJlEkBWlFjKe4FwLrmfTUIu2cAKGWRLKIRY4TUJ%2FBrsLGSAUJzmGJ5LJgmnp3Db0rlEuZduA5SakWBrAQlcKW1DwZzhwhq7fy3rX6DnygzFWXXJ2xN1E5ry7DT0UmNZXI10ehiYJQLdO%2FnDdjam6Hf3LReDF%2B4i2Wz90MXkNrfQpkPnUjm4ULaUc%2B5UWaQexCWuOXt4wXWPizYoOtUkTri2aPcXA%2Boy2lzbOl6GfP2PrQzMP3hkUznghxXPvQUC3%2FlWBChe1T1PWS1TzAgSv30Rgu1Q2TNQbDrO2nGRMIDby5UGOpsBZuSbt%2BClN%2Fwo7btwf8slK46MArjkaSfZjPOTCm7sakJHDbugEEsEwrSkSEVg%2FKej36%2BBv8zYIijTldVDRmeq98W1KaQ6o1mT5sgFAU6yWs6FJPtd49L4YqzbNYvmBcmt6AX0dQKdmKs6sIZkC0KMxfSzgdnfF%2Bh8tCvx1K2YSBXALeCM65A2%2BA9zvNAhq8ccsbocJGgaEfU6QEU%3D&X-Amz-Signature=c5506ba704aed74d39f35939bbc7d88f6a1c19ad4fa1xxxxxxxxxxxxxxxxxxxxx"
},
"is_last": true,
"is_private": true,
"owner_id": "6268e03b4055ee001e7ddeba",
"owner_type": "User",
"text": "Hi, I has already transfer $100 to your bank account.",
"trackable_id": "62a9ccb3f9a19b003a37af81",
"trackable_type": "OrderPayment"
},
"topic": "comment/payment_slip_upload"
}merchant/update
Topic Name:
- merchant/update
Description:
- 更新店家資訊
Trigger Point:
- 更新商店基本資料
Payload Example:
{
"event": "Merchant",
"merchant_handle": "peggylvtws2",
"merchant_id": "61b1bfdb065f7e0069dcf5a6",
"resource": {
"_id": "61b1bfdb065f7e0069dcf5a6",
"base_country_code": "TW",
"base_currency_code": "TWD",
"brand_home_url": "https://peggylvtws2.ss1.shoplinestg.com",
"current_plan_key": "basket",
"current_theme_key": "kingsman_v2",
"custom_domain": null,
"default_language_code": "zh-hant",
"email": "[email protected]",
"emails": {
"comment": "",
"low_inventory": "",
"message": "",
"order": ""
},
"handle": "peggylvtws2",
"id": "61b1bfdb065f7e0069dcf5a6",
"kyc_status": "not_yet_applied",
"logo_media": {
"_id": "62cbcf22b5a4a30035afb1dd",
"alt_translations": {},
"images": {
"favicon": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"favicon_large": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"favicon_small": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"original": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"source": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"thumb": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"transparent_large": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"transparent_thumb": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
},
"transparent_xlarge": {
"height": 2026,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/62cbcf22b5a4a30035afb1dd/original.jpg?1657524002",
"width": 1500
}
}
},
"name": "tws2",
"phones": {
"main": "1234567892"
},
"product_lines": {
"paid": [
{
"end_at": "2026-02-18T09:24:06.000Z",
"name": "pos",
"payment_gateway": "free",
"start_at": "2023-03-18T09:24:06.000Z",
"status": "active"
},
{
"end_at": "2026-02-18T09:24:06.000Z",
"name": "sc",
"payment_gateway": "free",
"start_at": "2023-03-18T09:24:06.000Z",
"status": "active"
},
{
"end_at": "2026-02-18T09:24:06.000Z",
"name": "ec",
"payment_gateway": "free",
"start_at": "2023-03-18T09:24:06.000Z",
"status": "active"
}
],
"preorder": [],
"trial": []
},
"rollout_keys": [
"000",
"1111",
"123123123",
"2324",
"232423434343",
"23243435345",
"232435aaaaaaaaaa",
"2343",
"23434",
"24234354ffgfg",
"34234545",
"342345454354",
"34243534fdf",
"343534453442323",
"343543534",
"34354354534",
"34545",
"3454546234232222222",
"3545",
"3_layer_category",
"3_layer_navigation",
"3_layer_variation",
"544665674756756756765",
"711_CB_13countries",
"711_c2b_report_v2",
"MC_WA_Template_Management",
"MC_manual_order",
"StaffCanBeDeleted_V1",
"UTM_export",
"UTM_register",
"aaaaaa",
"abandoned_cart_notification",
"add_test999",
"add_to_cart_revamp",
"addon_products_limit_10",
"addon_products_limit_unlimited",
"addon_quantity",
"address_format_batch2",
"address_format_jp",
"address_format_my",
"address_format_us",
"address_format_vn",
"admin_custom_domain",
"admin_image_service",
"admin_lang_th",
"admin_lang_vi",
"admin_manual_order",
"admin_realtime",
"admin_show_action_logs",
"admin_v2",
"admin_v2_5mins",
"admin_vietnam_dong",
"admin_whitelist_ip",
"ads_system_new_tab",
"adyen_my_sc",
"affiliate_by_product",
"affiliate_kol_report_appstore",
"alipay_hk_sc",
"app_categories_filtering",
"apply_multi_order_discount",
"apps_store",
"apps_store_blog",
"apps_store_fb_comment",
"apps_store_wishlist",
"appstore_free_trial",
"assign_products_to_category",
"auth_flow_revamp",
"auto_credit",
"auto_credit_notify",
"auto_credit_percentage",
"auto_credit_recurring",
"auto_reply_comment",
"auto_reply_fb",
"auto_save_sf_plus_address",
"availability_buy_online_pickup_instore",
"availability_preview_buy_online_pickup_instore",
"basket_comparising_link_CNY",
"basket_comparising_link_HKD",
"basket_comparising_link_TWD",
"basket_invoice_field",
"basket_pricing_page_cny",
"basket_pricing_page_hkd",
"basket_pricing_page_myr",
"basket_pricing_page_sgd",
"basket_pricing_page_thb",
"basket_pricing_page_twd",
"basket_pricing_page_usd",
"basket_pricing_page_vnd",
"basket_subscription_coupon",
"basket_subscription_email",
"bianco_setting",
"bing_ads",
"birthday_format_v2",
"block_gtm_for_lighthouse",
"blog",
"blog_app",
"blog_revamp_doublewrite",
"blog_revamp_singleread",
"breadcrumb",
"broadcast_advanced_filters",
"broadcast_analytics",
"broadcast_center",
"broadcast_clone",
"broadcast_email_html",
"broadcast_facebook_template",
"broadcast_line_template",
"broadcast_preset_sending",
"broadcast_unsubscribe_email",
"bulk_action_customer",
"bulk_action_product",
"bulk_assign_point",
"bulk_import_multi_lang",
"bulk_payment_delivery_setting",
"bulk_printing_labels_711C2C",
"bulk_update_dynamic_fields",
"bulk_update_new_fields",
"bulk_update_tag",
"bundle_add_type",
"bundle_group",
"bundle_page",
"bundle_pricing",
"bundle_stackable",
"buy_button",
"buy_now_button",
"buyandget_promotion",
"callback_service",
"cancel_order_by_customer",
"cancel_order_by_customer_v2",
"cart_addon",
"cart_addon_condition",
"cart_addon_items",
"cart_addon_limit",
"category_banner_multiple",
"category_limit_unlimited",
"category_sorting",
"channel_customer_authentication",
"channel_fb",
"channel_integration",
"channel_line",
"charge_shipping_fee_by_product_qty",
"chat_widget",
"chatbot_card_carousel",
"chatbot_card_template",
"chatbot_image_widget",
"chatbot_keywords_matching",
"chatbot_welcome_template",
"checkout_setting",
"checkout_without_email",
"cn_pricing_page_2019",
"combine_orders",
"comment_list_export",
"component_h1_tag",
"connor_all_key",
"connortest202312040430",
"consolidated_billing",
"cookie_consent",
"country_code",
"coupon_notification",
"coupon_v2",
"create_staff_revamp",
"credit_campaign",
"credit_point_report",
"credit_point_triggerpoint",
"crm_email_custom",
"crm_notify_preview",
"crm_sms_custom",
"crm_sms_notify",
"cross_shop_tracker",
"custom_css",
"custom_home_delivery_tw",
"custom_notify",
"custom_order_export",
"customer_advanced_filter",
"customer_coupon",
"customer_custom_field_limit_5",
"customer_data_secure",
"customer_edit",
"customer_export_v2",
"customer_group",
"customer_group_analysis",
"customer_group_broadcast",
"customer_group_filter_p2",
"customer_group_filter_p3",
"customer_group_regenerate",
"customer_group_sendcoupon",
"customer_group_smartrfm_filter",
"customer_import_v2",
"customer_import_v3",
"customer_list",
"customer_new_report",
"customer_referral",
"customer_referral_notify",
"customer_tag",
"cvs_newebpay",
"dashboard_v2",
"dashboard_v2_revamp",
"date_picker_v2",
"deep_search",
"default_theme_ultrachic",
"delivery_time",
"design_submenu",
"dev_center_app_store",
"dfff",
"disable_footer_brand",
"disable_old_upgrade_reminder",
"domain_applicable",
"doris_bien_setting",
"dusk_setting",
"ec_fast_checkout",
"ec_order_unlimit",
"ecpay_expirydate",
"ecpay_payment_gateway",
"einvoice_bulk_update",
"einvoice_edit",
"einvoice_list_by_day",
"einvoice_newlogic",
"email_credit_expire_notify",
"email_custom",
"email_member_forget_password_notify",
"email_member_register_notify",
"email_order_notify",
"email_verification",
"enable_calculate_api_promotion_apply",
"enable_calculate_api_promotion_filter",
"enable_cart_service",
"enhanced_catalog_feed",
"exclude_product",
"exclude_product_v2",
"execute_shipment_permission",
"express_cart",
"express_checkout_pages",
"extend_reminder",
"facebook_ads",
"facebook_chat_plugin",
"facebook_dia",
"facebook_login",
"facebook_messenger_subscription",
"facebook_notify",
"facebook_pixel_manager",
"fb_1on1_chat",
"fb_broadcast",
"fb_broadcast_sc",
"fb_broadcast_sc_p2",
"fb_comment_app",
"fb_domain_verification",
"fb_entrance_optimization",
"fb_feed_unlimit",
"fb_menu",
"fb_messenger_onetime_notification",
"fb_multi_category_feed",
"fb_pixel_matching",
"fb_pixel_v2",
"fb_post_management",
"fb_product_set",
"fb_quick_signup_link",
"fb_shop_now_button",
"fb_ssapi",
"fb_sub_button",
"fb_welcome_msg",
"fbe_oe",
"fbe_shop",
"fbe_v2",
"fbe_v2_edit",
"fblogin_popup",
"feature_alttag_phase1",
"feature_alttag_phase2",
"flash_price_campaign",
"fm_order_receipt",
"fmt_c2c_newlabel",
"fmt_revision",
"footer_brand",
"footer_builder",
"footer_builder_new",
"form_builder",
"form_builder_access",
"form_builder_user_management",
"form_builder_v2_elements",
"form_builder_v2_receiver",
"form_builder_v2_report",
"get_coupon",
"gifts_limit_10",
"gifts_limit_unlimited",
"gmv_revamp",
"godaddy",
"google_ads_api",
"google_ads_manager",
"google_analytics_4",
"google_analytics_manager",
"google_dynamic_remarketing_tag",
"google_enhanced_conversions",
"google_preorder_feed",
"google_product_category_3rdlayer",
"google_recaptcha",
"google_remarketing_manager",
"google_tag_manager",
"gp_tw_sc",
"h2_tag_phase1",
"hct_logistics_bills_report",
"hidden_product",
"hidden_product_p2",
"hk_pricing_page_2019",
"hkd_pricing_page_disabled_2020",
"ig_browser_notify",
"ig_login_entrance",
"ig_new_api",
"image_gallery",
"image_gallery_p2",
"image_host_by_region",
"image_limit_100000",
"image_limit_30000",
"image_widget_mobile",
"increase_variation_limit",
"instagram_create_post",
"integrated_label_711",
"integrated_sfexpress",
"integration_one",
"inventory_search_v2",
"jeffrey_cheung_test_0821_02",
"jeffrey_cheung_test_0822",
"jeffrey_cheung_test_0822_02",
"jeffrey_cheung_test_0822_03",
"jeffrey_cheung_test_0831",
"jeffrey_cheung_test_0912_01",
"jeffrey_test_0922",
"job_api_products_export",
"job_api_user_export",
"job_product_import",
"jquery_v3",
"kingroup10",
"kingsman_v2_setting",
"kinkey00",
"kinkey22",
"kinkey39",
"kinkeymbsall",
"kinkeynew04",
"kintestkey",
"layout_engine",
"line_1on1_chat",
"line_ads_tag",
"line_broadcast",
"line_in_chat_shopping",
"line_live",
"line_login",
"line_login_mobile",
"line_point_cpa_tag",
"line_shopping_new_fields",
"line_signup",
"linepnp_orderstatus_toggle",
"live_ai_tag_comments",
"live_announce_buyer",
"live_bidding",
"live_bulk_checkoutlink",
"live_bulk_edit",
"live_comment_discount",
"live_crosspost",
"live_dashboard_product",
"live_exclusive_price",
"live_im_switch",
"live_line_management",
"live_luckydraw_enhancement",
"live_messenger_broadcast",
"live_product_recommend",
"lock_cart_sc_product",
"logo_favicon",
"luckydraw_products",
"luckydraw_qualification",
"manual_activation",
"manual_order",
"manual_order_7-11",
"marketing_affiliate",
"marketing_affiliate_p2",
"mbs20542",
"mbs_1782_feature_key",
"mc-history-instant",
"mc_711crossborder",
"mc_ad_tag",
"mc_autoreply_cotent",
"mc_autoreply_trigger",
"mc_broadcast_v2",
"mc_bulk_read",
"mc_edit_cart",
"mc_history_instant",
"mc_history_post",
"mc_im",
"mc_logistics_hct",
"mc_logistics_tcat",
"mc_new_menu",
"mc_phone_tag",
"mc_reply_pic",
"mc_shop_message_refactor",
"mc_smart_advice",
"media_gcp_upload",
"member_center_profile_revamp",
"member_import_notify",
"member_info_reward",
"member_password_setup_notify",
"member_points",
"member_points_notify",
"member_price",
"membership_tier_notify",
"membership_tiers",
"memebr_center_point_credit_revamp",
"menu_limit_100",
"menu_limit_unlimited",
"message_center_v3",
"message_revamp",
"mobile_and_email_signup",
"modularize_address_format",
"molpay_credit_card",
"multi_lang",
"multi_lang_de",
"multi_lang_fr",
"multi_lang_id",
"multi_lang_ja",
"multi_lang_ms",
"multi_lang_th",
"multi_lang_vi",
"multi_lang_zh_cn",
"multi_lang_zh_hant",
"multicurrency",
"my_pricing_page_2019",
"myapp_reauth_alert",
"myr_pricing_page_disabled_2020",
"new_layout_for_mobile_and_pc",
"new_live_selling",
"new_onboarding_flow",
"new_return_management",
"new_settings_apply_all_promotion",
"new_signup_flow",
"new_sinopac_3d",
"npb_theme_philia",
"ob_revamp",
"ob_sgstripe",
"ob_twecpay",
"oceanpay",
"old_fbe_removal",
"onboarding_basketplan",
"onboarding_handle",
"one_new_filter",
"online_store_design",
"online_store_design_setup_guide_basketplan",
"open_api_management",
"order_add_to_cart",
"order_confirmation_slip_upload",
"order_custom_field_limit_5",
"order_custom_notify",
"order_discount_stackable",
"order_export_v2",
"order_filter_shipped_date",
"order_promotion_split",
"order_search_custom_field",
"order_search_sku",
"order_sms_notify",
"order_split",
"order_status_non_automation",
"order_status_tag_color",
"order_tag",
"orderemail_new_logic",
"other_custom_notify",
"out_of_stock_order",
"page_builder_revamp",
"page_builder_revamp_theme_setting",
"page_builder_revamp_theme_setting_initialized",
"page_builder_section_cache_enabled",
"page_builder_widget_blog",
"page_limit_unlimited",
"page_view_cache",
"pakpobox",
"partial_free_shipping",
"payme",
"payment_condition",
"payment_image",
"payment_slip_notify",
"paypal_cn",
"paypal_upgrade",
"pending_subscription",
"philia_setting",
"plp_label_wording",
"plp_product_seourl",
"plp_variation_selector",
"plp_wishlist",
"point_redeem_to_cash",
"pos_force_upgrade_days_300",
"pos_only_product_settings",
"pos_retail_store_price",
"pos_setup_guide_basketplan",
"post_fanpage_luckydraw",
"post_lock_pd",
"preset_publish",
"product_available_time",
"product_cost_permission",
"product_feed_info",
"product_index_v2",
"product_info",
"product_limit_1000",
"product_limit_unlimited",
"product_log_v2",
"product_page_limit_10",
"product_quantity_update",
"product_review_import",
"product_review_import_installable",
"product_review_reward",
"product_sale_report",
"product_search",
"product_set_revamp",
"product_summary",
"promotion_blacklist",
"promotion_first_purchase",
"promotion_hour",
"promotion_limit_10",
"promotion_limit_100",
"promotion_limit_unlimited",
"promotion_minitem",
"promotion_page",
"promotion_page_reminder",
"promotion_reminder",
"purchase_limit_campaign",
"quick_answer",
"quick_signup",
"recaptcha_reset_pw",
"redirect_301_settings",
"rejected_bill_reminder",
"remove_fblike_sc",
"repay_cookie",
"replace_janus_interface",
"replace_lms_old_oa_interface",
"reports",
"revert_credit",
"revert_credit_p2",
"revert_credit_status",
"ronald_eat_junk_food",
"sales_dashboard",
"sangria_setting",
"sc_advanced_keyword",
"sc_autodetect_address",
"sc_autodetect_paymentslip",
"sc_comment_list",
"sc_facebook_live",
"sc_fast_checkout",
"sc_gpt_content_generator",
"sc_gpt_knowledge_base",
"sc_keywords",
"sc_line_live_pl",
"sc_live_line",
"sc_lock_inventory",
"sc_manual_order",
"sc_mc_settings",
"sc_order_unlimit",
"sc_overall_statistics",
"sc_overall_statistics_v2",
"sc_post_feature",
"sc_sidebar",
"sc_standard",
"scheduled_home_page",
"search_function_image_gallery",
"select_all_customer",
"select_all_inventory",
"send_coupon_notification",
"setup_guide_basketplan",
"sfexpress_centre",
"sfexpress_eflocker",
"sfexpress_service",
"sfexpress_store",
"sg_onboarding_currency",
"share_cart_link",
"shop_builder_plp",
"shop_category_filter_bulk_action",
"shop_product_search_rate_limit",
"shop_redirect_popup",
"shop_related_recaptcha",
"shop_template_advanced_setting",
"shopback_cashback",
"shopline_ads_system",
"shopline_product_reviews",
"shoplytics_behavior",
"shoplytics_date_picker_v2",
"shoplytics_export_flex",
"shoplytics_group_by",
"shoplytics_inventory",
"shoplytics_lite",
"shoplytics_multi_language",
"shoplytics_o2o",
"shoplytics_order_status",
"shoplytics_order_store_selector",
"shoplytics_overview",
"shoplytics_overview_revision",
"shoplytics_payment_method",
"shoplytics_payments",
"shoplytics_preorder_metrics",
"shoplytics_pro",
"shoplytics_product_explorer",
"shoplytics_product_repurchase",
"shoplytics_product_sales",
"shoplytics_promotion_omni",
"shoplytics_psa_supplier_list",
"shoplytics_realtime",
"shoplytics_report_export",
"shoplytics_retail_staff",
"shoplytics_retail_stores",
"shoplytics_sales_page",
"shoplytics_sales_summary",
"shoplytics_segment_analysis",
"shoplytics_segment_analysis_uiux",
"shoplytics_show",
"shoplytics_standard",
"shoplytics_to_hd",
"shopping_session_enabled",
"signin_register_revamp",
"simon_test_0918_all",
"simon_testing_199",
"skya_setting",
"sl_logistics_bulk_action",
"sl_logistics_modularize",
"sl_payment_cc",
"sl_payment_standard_v2",
"sl_payment_type_check",
"sl_payments_apple_pay",
"sl_payments_cb_cc",
"sl_payments_cc_promo",
"sl_payments_my_cc",
"sl_payments_my_fpx",
"sl_payments_sg_cc",
"sl_payments_tw_cc",
"sl_pos",
"sl_pos_SHOPLINE_Payments_tw",
"sl_pos_admin",
"sl_pos_admin_cancel_order",
"sl_pos_admin_delete_order",
"sl_pos_admin_inventory_count",
"sl_pos_admin_inventory_transfer",
"sl_pos_admin_purchase_order",
"sl_pos_admin_register_shift",
"sl_pos_admin_staff",
"sl_pos_agent_performance",
"sl_pos_apps_store",
"sl_pos_bulk_import_purchase_order",
"sl_pos_bulk_import_update_enhancement",
"sl_pos_customized_price",
"sl_pos_disable_touchid_unlock",
"sl_pos_discount",
"sl_pos_einvoice_refactor",
"sl_pos_einvoice_tax_type",
"sl_pos_feature_permission",
"sl_pos_force_upgrade_1-22-1",
"sl_pos_frame_rate_tracking",
"sl_pos_free_gifts_promotion",
"sl_pos_initiate_couchbase",
"sl_pos_inventory_count",
"sl_pos_inventory_transfer_request",
"sl_pos_invoice_carrier_scan",
"sl_pos_itc",
"sl_pos_logo_terms_and_condition",
"sl_pos_member_points",
"sl_pos_member_price",
"sl_pos_multiple_payments",
"sl_pos_new_report_customer_analysis",
"sl_pos_new_report_overview",
"sl_pos_new_report_product_preorder",
"sl_pos_new_report_transaction_detail",
"sl_pos_order_reduction",
"sl_pos_order_refactor_admin",
"sl_pos_partial_return",
"sl_pos_password_setting_refactor",
"sl_pos_payment",
"sl_pos_payoff_preorder",
"sl_pos_product_add_to_cart_refactor",
"sl_pos_promotion",
"sl_pos_promotion_by_channel",
"sl_pos_purchase_order_partial_in_storage",
"sl_pos_receipt_enhancement",
"sl_pos_register_shift",
"sl_pos_report_shoplytics",
"sl_pos_report_shoplytics_psi",
"sl_pos_revert_credit",
"sl_pos_round_adj",
"sl_pos_save_send_receipt",
"sl_pos_stock_refactor",
"sl_pos_supplier_refactor",
"sl_pos_taxes_settings",
"sl_pos_terminal_bills",
"sl_pos_terminal_settlement",
"sl_pos_terminal_tw",
"sl_pos_transaction_alert_report",
"sl_pos_transaction_conflict",
"sl_pos_transaction_view_admin",
"sl_pos_user_permission",
"sl_pos_variation_setting_refactor",
"slp_product_subscription",
"slp_remember_credit_card",
"slp_swap",
"smart_omo_appstore",
"smart_omo_express_cart",
"smart_omo_redeem_coupon",
"smart_omo_send_coupon",
"smart_omo_show_coupon",
"smart_recommended_related_products",
"sms_broadcast",
"sms_custom",
"social_channel_user",
"social_name_in_order",
"split_order_applied_creditpoint",
"sso_lang_th",
"sso_lang_vi",
"staff_elasticsearch",
"staff_limit_5",
"staff_limit_unlimited",
"staff_service_migration",
"startest999",
"static_resource_host_by_region",
"stop_slp_approvedemail",
"store_crm_pwa",
"store_pick_up",
"storefront_return",
"stripe_3d_secure",
"stripe_3ds_cny",
"stripe_3ds_hkd",
"stripe_3ds_myr",
"stripe_3ds_sgd",
"stripe_3ds_thb",
"stripe_3ds_usd",
"stripe_3ds_vnd",
"stripe_google_pay",
"stripe_payment_intents",
"stripe_radar",
"stripe_subscription_my_account",
"structured_data",
"studio_livestream",
"sub_sgstripe",
"subscription_currency",
"subscription_order_expire_notify",
"subscription_order_notify",
"subscription_product",
"subscription_promotion",
"tappay_3D_secure",
"tappay_sdk_v2_3_2",
"tappay_sdk_v3",
"tax_inclusive_setting",
"taxes_settings",
"tcat_logistics_bills_report",
"tcat_newlabel",
"test_223",
"test_chung_onboarding_all",
"test_dc1512_1",
"test_dc1512_2",
"test_dc2011",
"test_dc2011_1",
"test_dc2011_2",
"test_dc2011_4",
"test_dc2011_5",
"test_dc2282",
"test_dc2282_1",
"test_duxing",
"test_duxing2",
"test_duxing3",
"test_duxing4",
"test_lwc",
"test_mg_24",
"test_mg_7",
"test_shopper",
"test_william_onboarding_all",
"test_yanyuanzhan",
"testlog",
"testlog2",
"testlog3",
"testlog4",
"testlog5",
"testlog7",
"testrotae",
"th_pricing_page_2020",
"thb_pricing_page_disabled_2020",
"theme_bianco",
"theme_doris_bien",
"theme_kingsman_v2",
"theme_level_3",
"theme_sangria",
"theme_ultrachic",
"thomas_do_nothing",
"tier_auto_downgrade",
"tier_birthday_credit",
"tier_member_points",
"tier_member_price",
"tier_reward_app_availability",
"tier_reward_app_p2",
"tier_reward_credit",
"tnc-checkbox",
"to_all_test",
"toggle_mobile_category",
"tradevan_multi_tax",
"tset111122",
"tw_app_shopback_cashback",
"tw_fm_sms",
"tw_pricing_page_2019",
"tw_stripe_subscription",
"twd_pricing_page_disabled_2020",
"uc_integration",
"ultra_setting",
"unified_admin",
"user_center_social_channel",
"user_credits",
"variant_image_selector",
"variant_saleprice_cost_weight",
"variation_label_swatches",
"varm_setting",
"vn_pricing_page_2020",
"vnd_pricing_page_disabled_2020",
"vvvvvvv",
"wa_broadcast_customer_group",
"whatsapp_accept_marketing",
"whatsapp_extension",
"why_no_event_ar",
"william_feature_key_test",
"william_testing_Feature_key",
"wishlist_app",
"yahoo_dot",
"yyyyyyyyyyywew",
"zotabox_installable"
],
"sl_payment_billing_descriptor_name": null,
"sl_payment_mcc": null,
"sl_payment_merchant_id": null,
"staff_id": "61b1bfdbf48bd4006cac9896",
"supported_languages": [
"en",
"zh-hant",
"th",
"vi",
"ms",
"ja",
"zh-cn"
],
"tags": [
"fashion"
]
},
"topic": "merchant/update",
"trace_id": "efff7152-c018-477b-b174-12f1fa7045cf",
"ts": "1703153840178446000"
}promotion/redeeem
Topic Name:
- promotion/redeeem
Description:
- 當顧客成立訂單時,通知訂單上的 coupon code 已經使用
Trigger Point:
- 單車下單
- 多車下單
- POS 下單
- POS 預購單
- POS 退貨單取消
- SOMO 核銷 coupon
Payload Example:
{
"coupon_code": "ea26471b",
"customer_id": "61017c71b52d753feb6a69e7",
"merchant_id": "60eeb3fee7812d00400a4b0f",
"redeemed_at": "2022-08-22T10:36:22.330+00:00",
"topic": "promotion/redeem",
"event": "Promotion",
"merchant_handle": "pattytw2",
"resource": {
"id": "62cbedd35a58fc00402a4bcc",
"discount_percentage": null,
"discount_amount": null,
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": {
"cents": 288,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$288",
"dollars": 288
},
"discountable_product_ids": [
"62c695159e36d1004326da4b",
"62c694fd9e36d1004926dc66"
],
"discountable_category_ids": [],
"conditions": [
{
"_id": "62cbedd35a58fc00402a4bcb",
"blacklisted_product_ids": [],
"created_at": "2022-07-11T09:31:00.009Z",
"min_item_count": 3,
"min_price": null,
"promotion_id": "62cbedd35a58fc00402a4bcc",
"status": "active",
"subscription_period": null,
"type": null,
"updated_at": "2022-08-09T02:39:03.436Z",
"whitelisted_category_ids": [],
"whitelisted_product_ids": [
"62c695159e36d1004326da4b",
"62c694fd9e36d1004926dc66"
]
}
],
"discount_on": "item",
"discount_type": "bundle_pricing",
"is_accumulated": true,
"codes": [],
"requires_membership": false,
"whitelisted_membership_tier_ids": [],
"membership_tier_id": null,
"whitelisted_tag_contents": [],
"user_max_use_count": 0,
"max_use_count": null,
"use_count": 1,
"whitelisted_delivery_option_ids": [
"60ffe368631bfb0045e826b2",
"619b24191cd727004cfc683e",
"61b1db9824083200422d6108",
"619df0b806368670f1664ded",
"619df08d063686707a664ded",
"61713053819af0004345e1ff",
"6177dab1819af0538b45e177",
"6170de74819af0004645e19c",
"6170e123819af0004c45e19c",
"6178fc49819af0630445e18a",
"6177dce3819af0624745e166",
"62e118b8eb83632e00d2bb53",
"62fdf0ae91dec200498684bf"
],
"whitelisted_payment_ids": [
"617faba6feede154e09ed0f3",
"60ffe3a6631bfb0045e826b5",
"6177db99819af0534045e16f",
"61b85817af7a4e00437bb1ed",
"61b857a5af7a4e00437bb1ec",
"61b1db9824083200422d6109",
"610a4cc1d867170042478637",
"61eead7716640500381668a7",
"62fdf0d591dec200438684c4"
],
"start_at": "2022-07-11T09:00:00.000+00:00",
"end_at": null,
"created_at": "2022-07-11T09:30:59.965Z",
"updated_at": "2022-08-18T07:57:09.920Z",
"status": "active",
"first_purchase_only": false,
"show_coupon": false,
"for_affiliate_campaign": false,
"title_translations": {
"zh-hant": "任選多階 領取型"
},
"available_platforms": [
"ec"
],
"extended_promotion_id": null,
"coupon_type": "draw",
"coupon_generated_by": "system",
"drew_coupon_count": 2
}
}Updated about 2 hours ago