Explanation of the event
The kitchenCompleteCourse event occurs whenever a kitchen employee completes preparation of a specific course in an order, and the course is ready to be served to the guest.
Part of the Kitchen Food Preparation flow
The kitchenCompleteCourse event is step one in a three-step flow that involves the following events:
(1) kitchenStartCourse, (2) kitchenCompleteCourse and (3) kitchenServeCourse.
kitchenCompleteCourse Preparation of a course was completed
Request
POST https://www.example.com/webhooks/kitchenStartCourse
X-Mplus-Subscription-Id: example_subscription
X-Mplus-Signature: uZucqk+xPZii7TmP1IHOKPoS4/K+8ejNwl7EyxnEzs4=
Content-Type: application/json
Accept: application/json
{
    "event": { ... }, // the usual event data
    "sender": { ... }, // the usual sender data
    "cafeteriaOrder": {
        "orderId": "5bf3dd11-33a5-4a80-a1d8-d63ccf7c786f",
        "year": 2018,
        "number": 6540,
        "ticketNumber": 40
    },
    "tableOrder": {
        "orderId": "5eea25d4-4188-43b8-9a66-8086561d590c",
        "year": 2018,
        "number": 85214
    },
    "table": {
        "number": 12,
        "subNumber": 2,
        "tableName": "J. Smith",
        "numberOfGuests": 1
    },
    "course": {
      "courseNumber": 1,
      "name": "First",
      "abbreviation": "F",
      "sequenceNumber": 1,
      "expectedPreparationTime": 60,
      "actualPreparationTime": 58
    }
}
| Property | Type | Explanation | 
|---|---|---|
| tableOrder.orderId | uuid | The table order’s UUID. | 
| tableOrder.year | uuid | The table order’s year. | 
| tableOrder.number | uuid | The table order’s number. | 
| table.number | bigint (optional) | The table number of the order. | 
| table.subNumber | bigint (optional) | The table sub number of the order. | 
| course.courseNumber | int | The course’s number. | 
| course.name | string | The course’s full name. | 
| course.abbreviation | string | The course’s abbreviation. | 
| course.sequenceNumber | string | The course’s ordering in the full list of courses. |