List of Webhooks
GET
v1/managers/webhooksWebhooks allow you to receive real-time data updates about various events.
This endpoint retrieves the webhook events you are subscribed to.
Supported Webhook Events
For more details on available events and their conditions,
please refer to the Supported Webhook Events page.
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en
if not specified.
Request samples
Responses
The status of the webhook creation request. Possible statuses codes are ready
, pending
, inactive
, and error
.
The UUID assigned to the webhook subscription by Zid.
The event that the webhook is subscribed to.
The URL to which Zid will send a payload when the subscribed event triggers.
The UUID of the store associated with the webhook.
The conditions under which the webhook will be triggered. These conditions were specified during the webhook creation and allow the webhook to be triggered only when certain criteria are met.
Supported Events: order.create
and order.status.update
Key | Type | Description |
---|---|---|
delivery_option_id | integer | The delivery option ID in Zid. |
status | string | One of these statuses: [new, preparing, ready, inDelivery, delivered, cancelled]. |
payment_method | string | One of these methods: [Cash On Delivery, Credit Card, Bank Transfer]. |
An optional user-defined identifier for reference purposes.
The name or identifier of the subscriber or the source of the webhook.
Indicates whether the webhook is active or not.
A message indicating the result of the webhook creation.
The type of message associated with the webhook retrieval.
The status of the webhook retrieval operation.