Receive Updates via Webhooks
The Zippd platform can send updates as they happen to your systems via webhooks. This works well for an ongoing service such as delivery, and is an efficient way to keep your system closely synchronised with the live state of your orders and account.
Set Your Webhook URL
Use the Webhook endpoint of the API to manage webhooks in your account. All you need to send is the absolute URL to which you want us to send updates:
See the webhook API resource reference for more details on making these requests. All URLs that are set will receive updates from our server until they are removed. You cannot activate or deactivate webhook URLs.
Webhook Events
All webhook requests are sent with the POST method and will contain a limited amount of data from the affected resource. It is expected that you will inspect the data and make decisions on whether your systems need to retrieve more data to take action.
Events
Webhook requests will include an events item. The value of this will be one of the following:
updateddeleted
Data
Here’s an example payload:
The event_date_time item will always be UTC.
Resource Types
A list of order types and their supported events:
Orderupdated
OrderLocationupdateddeleted
Webhook Responses
Status Code
Our servers expect an HTTP 200 response from any webhook requests that are sent. Any other status code will be interpreted as an error.
Timeout
Any request that does not receive a response within 5 seconds will be interpreted as an error.
Retries
Any webhook request that is interpreted as an error will be retried 2 more times.
- After the first webhook request failure, our servers will wait 60 seconds before making a 2nd attempt
- After the 2nd request failure, our servers will wait 5 minutes before making a 3rd attempt
- There will be no attempts made after a 3rd failure
