Store update
Event Group | Event Identification |
---|---|
merchants | merchants/update |
Store information update
Request Headers
- X-Shopline-Topic string requiredEvent operation identificationExample:
orders/edited
- X-Shopline-Hmac-Sha256 string requiredSignatureExample:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
- X-Shopline-Shop-Domain string requiredShop domainExample:
shophub.myshopline.com
- X-Shopline-Shop-Id string requiredShop IDExample:
1610418123456
- X-Shopline-Merchant-Id string requiredMerchant IDExample:
2000001234
- X-Shopline-API-Version string requiredVersionExample:
v20210901
- X-Shopline-Webhook-Id string requiredMessage IDExample:
b54557e48a5fbf7d70bcd043
Request Body
- biz_store_status stringStore business status , to be enabled 1 , in business 2 , closed 3 , frozen 4 , discontinued 5Example:
1
- created_at stringStore creation time (see IOS 8601 for the format)Example:
2021-09-16T13:03:48+08:00
- currency stringThe currency in which the store settles with the customer (enumeration reference: IOS 4217)Example:
USD
- customer_email stringMerchant's email address for contacting customersExample:
bar@shoplineapp.com
- domain stringMain domain name of the storeExample:
handle.myshopline.com
- email stringShopline's email address for contacting merchantsExample:
foo@shoplineapp.com
- iana_timezone stringThe time zone of the storeExample:
Asia/Shanghai
- id stringUnique ID of the storeExample:
1631700219512
- language stringWhen the customer enters your online store , the language you see by default can be modified in the store setting-languageExample:
en
- location_country_code stringWhere the store isExample:
CN
- merchant_id stringMerchant id for the storeExample:
4216472541
- name stringStore nameExample:
Shopline
sales_channelsobject[]
Store installed sales channel listchannel_handle stringSales channel handle logoExample:web
- standard_logo stringStore standard logoExample:
https://d2w9suv6wak03e.cloudfront.net/image/store/3100111249/1624603774370/32c8ea2e39ad480fa7a94d36ce013f25.png?w=102&h=113
- updated_at stringThe basic configuration update time of the store (modify the name, domain name, settlement currency, email, time zone, the time will be updated) (see IOS 8601 for the format)Example:
2021-09-16T13:03:48+08:00
Response
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?