Store updated
| Event Group | Event Identification |
|---|---|
| merchants | merchants/update |
Occurs whenever the store information is updated.
Request Headers
- X-Shopline-Topic string requiredThe unique identifier for the event.Example:
orders/edited - X-Shopline-Hmac-Sha256 string requiredThe signature of the request. Upon receiving the request, you must verify the signature to confirm the authenticity and integrity of the data.Example:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM= - X-Shopline-Shop-Domain string requiredThe store domain.Example:
example.myshopline.com - X-Shopline-Shop-Id string requiredThe store ID.Example:
1610418123456 - X-Shopline-Merchant-Id string requiredThe merchant ID.Example:
2000001234 - X-Shopline-API-Version string requiredThe API version.Example:
v20250601 - X-Shopline-Webhook-Id string requiredThe ID of this Webhook event.Example:
b54557e48a5fbf7d70bcd043
Request Body
- biz_store_status stringThe business status of the store. Valid values are:
1: To be activated2: Open3: Closed4: Frozen5: Deactivated
- created_at stringThe date and time when the store was created. Format:
ISO 8601. Example:2023-04-12T22:59:52+08:00. - currency stringThe settlement currency used by the buyer when placing orders in the store. The value of this parameter is a three-letter currency code that follows the
ISO 4217standard. For example,USD. - customer_email stringThe merchant's email address for customer communication.Example:
bar@shoplineapp.com - domain stringThe primary domain name of the store. Merchants typically need to purchase their primary domain.
For example, the primary domain for a store at{yourhandle}.myshopline.comwould bemyshopline.com. - email stringThe merchant's email address used for communication with SHOPLINE.Example:
foo@shoplineapp.com - id stringThe store's unique identifier.Example:
1631700219512 - language stringThe default language used for merchant-customer communication in the message center. You can change this in the SHOPLINE Admin under Settings > Languages.Example:
en - location_country_code stringThe country or region code where the store is located, following
ISO 3611-1international standards. Example:US. - merchant_id stringThe corresponding ID for the store's merchant.Example:
4216472541 - name stringThe name of the store.Example:
Shopline sales_channelsobject[]
A list of sales channels currently installed in the store.channel_handle stringThe unique identifier for the sales channel.Example:web- standard_logo stringThe standard logo used for the store.Example:
https://d2w9suv6wak03e.cloudfront.net/image/store/3100111249/1624603774370/32c8ea2e39ad480fa7a94d36ce013f25.png?w=102&h=113 - updated_at stringThe date and time when the store settings were updated. Format:
ISO 8601.
Example:2023-04-12T22:59:52+08:00
Status Codes
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OKFor more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?