BookingAcceptedEvent
The BookingAcceptedEvent webhook notifies subscribers when a booking has been accepted by a service provider 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",
"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 BookingAcceptedEvent webhook notifies subscribers when a booking has been accepted by a service provider within the Sodtrack platform.
This event is triggered when a provider confirms their availability and commitment to fulfill a service request — typically when a technician or professional accepts a booking assignment with a scheduled date, when a booking with an assigned provider is scheduled by the customer, or a provider and date is assigned directly.
The booking transitions to "accepted" status, indicating that a provider is committed to delivering the service at a specific date and time.
Integrating this webhook allows client systems to automatically track provider confirmations, trigger post-acceptance workflows (e.g., customer notifications, schedule confirmations, resource preparation, calendar updates), and maintain real-time operational consistency with Sodtrack.
Trigger Condition
This webhook is triggered when:
-
The booking has an assigned provider.
-
The booking has a scheduled date and time assigned.
-
The booking status transitions to "accepted" in the Sodtrack system.
Example Use Cases
-
Automatically send confirmation notifications to customers when a provider accepts their booking with a scheduled date.
-
Synchronize provider acceptance records with external workforce management or scheduling systems.
-
Trigger preparation workflows such as resource allocation, equipment assignment, or route optimization.
-
Update calendar systems with confirmed appointments for both customers and providers.
-
Track provider performance metrics based on acceptance patterns and response times.
-
Maintain synchronized booking status 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