BookingDoneEvent
The BookingDoneEvent webhook notifies subscribers when a booking has been successfully completed within the Sodtrack platform.
POST with Content-Type: application/json to the endpoint configured for your tenant. See webhooks overview for delivery and security guidance.Payload
{
"timestamp": "string",
"userTriggererEmail": "string",
"forced": "boolean",
"booking": {
"id": "number",
"reference": "string",
"createdDate": "Date",
"serviceVariantTotalPrice": "number",
"serviceVariantTotalCost": "number",
"serviceName": "string",
"totalAddonsCost": "number",
"totalAddonsPrice": "number",
"totalAddonsDuration": "number",
"status": "string",
"variantDuration": "number",
"transportCost": "number",
"quantity": "number",
"date": "Date",
"doneDate": "Date",
"periodStartTime": "Date",
"periodEndTime": "Date",
"finalCost": "number",
"finalPrice": "number",
"totalDuration": "number",
"category": {
"id": "number",
"name": "string"
},
"saleChannel": {
"id": "number",
"name": "string"
},
"shoppingCartId": "number",
"serviceVariant": {
"id": "number",
"name": "string",
"skus": [
{
"id": "number",
"sku": "string"
}
]
},
"addons": [
{
"id": "number",
"quantity": "number",
"name": "string",
"duration": "number",
"totalCost": "number",
"totalPrice": "number",
"unitCost": "number",
"unitPrice": "number"
}
],
"products": [
{
"id": "number",
"quantity": "number",
"productPromisedDeliveryDate": "Date",
"sku": "string",
"name": "string",
"description": "string",
"price": "number",
"unit": {
"id": "number",
"serialNumber": "string"
}
}
],
"dynamicFieldValues": [
{
"id": "number",
"value": "string"
}
],
"dynamicFormFields": [
{
"reference": "string",
"value": "string"
}
]
},
"customer": {
"id": "number",
"name": "string",
"identificationNumber": "string",
"lastName": "string",
"email": "string",
"phoneNumber": "string"
},
"address": {
"id": "number",
"coordinates": {
"lng": "number",
"lat": "number"
},
"address": "string",
"formattedAddress": "string",
"areas": [
{
"id": "number",
"name": "string",
"reference": ""
}
]
},
"professional": {
"id": "number",
"isCompany": "boolean",
"reference": "string",
"name": "string",
"lastName": "string",
"email": "string",
"phoneNumber": "string"
}
}Purpose
The BookingDoneEvent webhook notifies subscribers when a booking has been successfully completed within the Sodtrack platform.
This event is triggered once a booking’s lifecycle reaches the “done” status — typically after the assigned technician or provider has finalized the job, submitted the completion report, or confirmed the service outcome.
Integrating this webhook allows client systems to automatically synchronize booking statuses, trigger post-service workflows (e.g., invoicing, customer feedback collection, or ERP updates), and maintain real-time operational consistency with Sodtrack.
Trigger Condition
This webhook is triggered when:
-
A booking’s status transitions to
"done" -
The booking completion is successfully recorded in the Sodtrack system.
Only bookings that have been fully processed and validated by the system generate this event.
Example Use Cases
-
Automatically update booking statuses in external CRMs, ERPs, or scheduling systems.
-
Trigger post-completion workflows such as invoice generation, customer satisfaction surveys, or performance analytics.
-
Maintain synchronized service completion records between Sodtrack and third-party platforms.
Body
The body of this webhook inherits the standard Sodtrack webhook structure, which includes:
-
The common shared webhook fields
-
The booking objects
Event-Specific Fields
In addition to the shared webhook fields and the standard booking object, this event includes the following additional field:
| Field | Type | Description | Always |
|---|---|---|---|
forced | boolean | Indicates whether the booking was forcefully marked as completed. | ✅ |