Basic overview
Setting up webhooks from BRM broadly consists of 2 steps.
- Create an endpoint for the webhook on your server.
- Register this endpoint in BRM and select the events you want to send to it.
Step 1: Creating a webhook endpoint
The expertise of a web developer will be required for this step. Get in touch with support@bikerentalmanager.com if you have any questions.
Step 2: Configuring webhooks in BRM
Once you and an endpoint to receive webhooks, you can move on to configuring this in BRM.
Go to Settings > Integrations > Webhooks and click the "Add hook" button to register a new webhook.
Enter the URL of your endpoint in the Web URL field.
Select the events you'd like to receive notifications of, the choices are,
- Customer create
- Customer update
- Reservation create
- Reservation update
Check the enabled checkbox and click create to finish setup.
From now on, data will be sent to your endpoint in JSON format whenever a webhook is triggered. For example, if you selected reservation create and update as events, whenever a reservation is created or updated, the reservation data will be sent from BRM to the endpoint URL.