Comment on page

Webhooks

Information about custom webhooks
Webhooks allow you to react on your own servers whenever an event occurs on the Reserve In-store servers.

To add webhooks for any of these topics please contact our support team and we'll add it for you.

Topics

Topic
Description
reservations/create
When a new reservation is fulfilled by an admin, a customer or a third party system.
reservations/update
When a new reservation is updated by an admin, a customer or a third party system.
reservations/delete
When a new reservation is deleted by an admin, a customer or a third party system.
reservations/fulfilled
When a new reservation is fulfilled by an admin or third party system.

Sample POST Body

When your webhook is hit you will receive a POST body containing JSON of the model data. In the case of a reservation, you will get the reservation data (id, customer info, items reserved, etc). Here's how it might look:
{
"id": 1,
"location_id": 3,
"customer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "1231231231231",
"instructions": "I'll be there on Monday by 3pm."
},
"cart": {
"items": [
{
"product_id": "9423387917",
"variant_id": "34639503181"
}
]
},
"fulfilled": false,
"created_at": "2019-05-10T18:37:48.260Z",
"updated_at": "2019-05-10T22:11:50.739Z"
}
Ensure that your server responds to the webhook call within 15 seconds. Responses that take longer than that may time out.