Store package status changes
Event Group | Event Identification |
---|---|
subscription | subscription/challenged |
Notice of changes in package status under 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
- before_status stringPackage status before changeExample:
active
- business_parameters mapBusiness parametersExample:
[object Object]
- create_time longPackage creation timeExample:
1691130777203
- end_time longPackage end time , time stamp ( millisecond )
- merchant_id longMerchant idExample:
2011061373
- start_time longPackage start time , time stamp ( millisecond )
- status stringPackage statusExample:
active
- store_id longStore idExample:
1690967538993
- sub_type stringPackage typeExample:
preorder
- subscription_id stringPackage idExample:
SUB6053264297034524673
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?