The Booking Events API allows suppliers to send real-time driver and booking event updates to Suntransfers. This enables tracking of transfer progress and improves customer experience.
Base URL (Staging): https://supplierhub-api.suntransfers.biz
Endpoint: POST /api/v1/suppliers/{supplierCode}/bookings/{bookingReference}/events
Authentication: Basic Authentication (credentials provided separately)
| Field | Type | Required | Description | Validation | Example |
|---|---|---|---|---|---|
| eventType | string | Yes | Type of event (see Event Types below) | One of: DRIVER_DEPARTED_TO_PICKUP, DRIVER_ARRIVED_AT_PICKUP, DRIVER_SUBMITTED_CUSTOMER_NO_SHOW, DRIVER_DEPARTED_TO_DROPOFF, DRIVER_ARRIVED_AT_DROPOFF, DRIVER_LIVE_LOCATION |
DRIVER_ARRIVED_AT_PICKUP |
| occurredAt | datetime | Yes | When the event occurred | ISO 8601 format | 2025-12-24T14:30:00Z or2025-12-24T16:30:00+02:00 |
| latitude | number | No* | Event location latitude | Range: -90 to 90 | 41.3851 |
| longitude | number | No* | Event location longitude | Range: -180 to 180 | 2.1734 |
*Both latitude and longitude must be provided together or both omitted. We strongly encourage you to always provide
it. Always required for the DRIVER_LIVE_LOCATION event.
DRIVER_DEPARTED_TO_PICKUP - Driver has left to pick up the customerDRIVER_ARRIVED_AT_PICKUP - Driver has arrived at pickup locationDRIVER_SUBMITTED_CUSTOMER_NO_SHOW - Customer was not at pickup locationDRIVER_DEPARTED_TO_DROPOFF - Driver has left pickup with customerDRIVER_ARRIVED_AT_DROPOFF - Driver has arrived at destinationDRIVER_LIVE_LOCATION - Real-time driver location updateThis call will execute silently with no response.
curl -X POST https://supplierhub-api.suntransfers.biz/api/v1/suppliers/YOUR_CODE/bookings/SUNTR_AB1234/events \
-H "Content-Type: application/json" \
-H "Authorization: Basic $(echo -n 'username:password' | base64)" \
-d '{
"eventType": "DRIVER_DEPARTED_TO_PICKUP",
"occurredAt": "2025-12-24T14:30:00Z",
"latitude": 41.3851,
"longitude": 2.1734
}'
Note: When an error occurs, the response will include a trace ID that you can provide to our support team for troubleshooting.
We understand that every integration is unique. Contact us if you:
We'll implement a custom solution with minimal effort on your side.
If you're looking to implement the full Suntransfers Supplier API (Bookings, Amendments, Cancellations, Quotes, and Booking Events), refer to our Full Integration docs.
Contact The Supplier Hub Team.