This webhook endpoint facilitates real-time menu hours updates and supports critical workflows, including:
Menu Hours Update triggered by POS system
When the menu hours are updated, the POS system notifies Khumbu, which then sends a webhook to the integration partner. This webhook includes the updated menu and its new timings.
Integration Partner Webhook Requirements
Integration partners are encouraged to implement this webhook to enable real-time menu hours update.
1. Webhook Specification
- Endpoint: HTTPs
- RequestType: POST
- RequestBody: Please see below sample request body
2. Webhook Request
Khumbu will send following request object to Menu Hours update webhook endpoint.
Please refer to the Menu Hours Update Webhook Payload guide for a detailed explanation of each parameter and its required format.
{
"providerName": "standardprovider",
"partnerName": "simphony",
"marketName": "plkpl",
"storeInformation": {
"providerStoreId": "99999",
"partnerStoreId": "12345"
},
"menuHours": {
"menuId": "123",
"menuDayTime": [
{
"day": "MONDAY",
"startTime": "00:00:00",
"endTime": "23:59:59"
},
{
"day": "TUESDAY",
"startTime": "06:00:00",
"endTime": "21:00:00"
}
]
}
}3. Webhook Response
Response Body
HTTP code :
- Success (HTTP code - 200)
- Failure ( any other HTTP code, along with error message)