Integrations | Webhook Integration

  • Updated

Your Golf Booking supports admin users setting up their own webhooks to receive events when changes are made on the platform.

Supported Events

Currently we support the following webhook events:

  • Purchase Update - Triggered whenever a purchase is created or modified. The payload includes the updated purchase object. In YGB, a purchase may contain multiple line items, including bookings.
  • Purchase Paid - VA specific type of purchase update, triggered only when a purchase’s status changes to paid.
  • Booking Update -Triggered when a booking is created or modified. The payload contains the updated booking object. You can choose to use this event or the Purchase Update event, depending on whether your focus is solely on bookings or the broader purchase context (which includes bookings).
  • User Update - Triggered when a user is created or updated. The payload includes the updated user object.

How To Set Up A Webhook

  • To set up a webhook, please head to your "Admin panel" > "Settings" > "Manage integrations".
  • If you're unable to access this page, you may not have the appropriate permissions.
  • Once here, you should see the "Create new integration" button shown below.

  • After clicking the button, you'll be prompted to name your integration and choose its type - select Webhook in this case.
  • Once the integration is created, you can define the endpoint where your event data should be sent and select the specific event you'd like to track from the options listed above.

  • Your webhook will not start sending events until the status slider shown above is set to Active.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request