Batch asynchronous mission processing
Event Group | Event Identification |
---|---|
others | others/update |
Asynchronous mission finish
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
- completedAt stringMission-complete timeExample:
2023-04-06T10:48:29+08:00
- completedCount integerComplete the number , corresponding to the number of lines in the fileExample:
12
- createdAt stringMission-creating timeExample:
2023-04-06T10:48:29+08:00
- expiredAt stringThe task expires , and the file will not be downloaded if it exceeds the change timeExample:
2023-04-06T10:48:29+08:00
- id stringMission idExample:
gid://shopline/BulkOperation/f97a8c3304b98bcee17c12a0ceb85573
- status stringStatusExample:
COMPLETED
- type stringType official : QUERY|MUTATION|MUTATION_GENERALExample:
MUTATION_GENERAL
- url stringFile url with expiration date
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?