servicePackageType will no longer mandatoryserviceCategory field which is mandatoryservices[] array for flexible service selection{
"serviceCategory": "service",
"services": [
{
"catalogId": "68b7bf3f6210580c57363a94",
"catalogCode": "logbook",
"category": "service",
"title": "Logbook Service",
},
{
"catalogId": "507f1f77bcf86cd799439011",
"catalogCode": "roadworthy",
"category": "others",
"title": "Roadworthy",
"cost": 150,
}
],
}{
"servicePackageType": "logbook"
}serviceCategory in booking requests (optional)service, tyres, repair, others)catalogId and catalogCode from your service catalog// Input: Partner sends booking request
{
"serviceCategory": "service", // Optional - validated or derived
"services": [
{
"catalogId": "68b7bf3f6210580c57363a94",
"catalogCode": "logbook",
"title": "Logbook Service", // Can be overridden
"cost": 150
},
{
"title": "Custom Brake Service", // Custom service not in catalog
"category": "repair",
"cost": 200
}
]
}
// Output: System processes and enriches
{
"serviceCategory": "service", // Validated/derived
"services": [
{
"catalogId": "68b7bf3f6210580c57363a94",
"catalogCode": "logbook",
"title": "Logbook Service - Full Synthetic Oil Change & 47-Point Inspection", // Enriched from catalog
"category": "service",
"icon": "clipboard", // Added from catalog
"color": "blue", // Added from catalog
"cost": 150,
"maxCost": 200, // Added from catalog
"source": "catalog"
},
{
"title": "Custom Brake Service", // Stored as-is
"category": "repair",
"cost": 200,
"source": "custom"
}
]
}bookingId that can be used to track or reference the booking."skipNotification": true