Install / Uninstall
Event Group | Event Identification |
---|---|
apps | apps/installed_uninstalled |
Send a corresponding incident notification to the developers of the application when installing / uninstall applications in the store
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
- appkey stringApp unique logoExample:
35f91ba37b941e6ce5fcc67975ab7aafb0a12345
- country_code stringCountry code where the store isExample:
cn
- created_at stringTime for this subscription message , yyyy-MM-dd'T'HH : mm : ss.SSSXXX store time zoneExample:
2024-04-01T14:01:23+08:00
- handle stringStore hadle : string in the front of the domain name " .mysholine.com "Example:
SHOPLINE
- merchant_id stringMerchant idExample:
2000001234
- name stringStore nameExample:
SHOPLINE Store
- operate stringIndicate whether the current operation is installed or uninstalled ; value includes : " INSTALL " ( installed ) and " UNINSTALL " ( uninstalled )Example:
UNINSTALL
- store_id stringstore IDExample:
1610418123456
- timestamp longTime stamp for the time generated by this subscription messageExample:
1293941471000
- timezone stringTime zone where the store isExample:
Asia/Singapore
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?