店铺信息更新
事件分组 | 事件标识 |
---|---|
merchants | merchants/update |
店铺信息更新
请求头
- X-Shopline-Topic string required事件操作标识Example:
orders/edited
- X-Shopline-Hmac-Sha256 string required签名Example:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
- X-Shopline-Shop-Domain string required店铺域名Example:
shophub.myshopline.com
- X-Shopline-Shop-Id string required店铺idExample:
1610418123456
- X-Shopline-Merchant-Id string required商户IDExample:
2000001234
- X-Shopline-API-Version string required版本号Example:
v20210901
- X-Shopline-Webhook-Id string required消息IDExample:
b54557e48a5fbf7d70bcd043
请求体
- biz_store_status string店铺业务状态, 待启用 1, 营业中 2, 已打烊 3, 已冻结 4, 已停用 5Example:
1
- created_at string商店创建时间(格式见IOS 8601)Example:
2021-09-16T13:03:48+08:00
- currency string商店与顾客结算的货币(枚举值参考:IOS 4217)Example:
USD
- customer_email string商家与顾客联系的邮箱Example:
bar@shoplineapp.com
- domain string商店的主域名Example:
handle.myshopline.com
- email stringshopline与商家联系的邮箱Example:
foo@shoplineapp.com
- iana_timezone string商店配置的时区Example:
Asia/Shanghai
- id string商店的唯一IDExample:
1631700219512
- language string客户进入到您的网店时,默认看到的语言,您可在店铺的设置-语言内完成语言的修改Example:
en
- location_country_code string店铺所在地区Example:
CN
- merchant_id string店铺所属的商家idExample:
4216472541
- name string商店名称Example:
Shopline
sales_channelsobject[]
店铺已安装的销售渠道列表channel_handle string销售渠道handle标识Example:web
- standard_logo string店铺标准logoExample:
https://d2w9suv6wak03e.cloudfront.net/image/store/3100111249/1624603774370/32c8ea2e39ad480fa7a94d36ce013f25.png?w=102&h=113
- updated_at string商店的基础配置更新时间 (修改名称、域名、结算货币、邮箱、时区,均会更新此时间)(格式见IOS 8601)Example:
2021-09-16T13:03:48+08:00
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述。
这篇文章对你有帮助吗?