Bulk task status updated
| Event Group | Event Identification |
|---|---|
| others | others/update |
Occurs whenever the status of a bulk query task or bulk mutation task 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
- completedAt stringThe date and time when the bulk task was completed. Format: ISO 8601.Example:
2023-04-06T10:48:29+08:00 - completedCount integerThe count of the completed bulk operations.
- createdAt stringThe date and time when the bulk task was created. Format: ISO 8601.Example:
2023-04-06T10:48:29+08:00 - expiredAt stringThe expiration time of the bulk task. Files will become unavailable for download after this time. Format: ISO 8601.Example:
2023-04-06T10:48:29+08:00 - id stringThe ID of the bulk task.Example:
gid://shopline/BulkOperation/f97a8c3304b98bcee17c12a0ceb85573 - status stringThe status of the bulk task. Valid values are:
CANCELED:CanceledCANCELING:CancelingCOMPLETED:CompletedCREATED:CreatedEXPIRED:ExpiredFAILED:FailedRUNNING:Running
- type stringThe type of the bulk task. Valid values are:
QUERY: Query operationMUTATION: Mutation operation, which refers to mutation operations executed through the Bulk operation mutation (to be Deprecated) API.MUTATION_GENERAL: Mutation operation
- url stringA URL to a file containing all task processing results with an expiration time. Format: JSON Lines.Example:
https://sl-private-oss.oss-accelerate.example.com/task-jsonline/prod/1/9b0c0f04-53cb-4ae3-94db-79af6ec193bd.jsonl?Expires=1754059510
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?