orderType field mentioned above, in these orders we have the "takeout" group containing the following information:modetakeoutDateTime"takeout": {
"mode": "DEFAULT / PICKUP_AREA:",
"takeoutDateTime": "2020-01-01T00:00:00.000Z"
}PICKUP_AREA_ASSIGNED event and in the PICKUP_AREA_CODE field you will have the spot number.This should be the number displayed on your application screen so that the attendant can locate the customer and bring the order to them.Example:{
"id": "d585214c-b95a-4c4d-9d05-16f7d8f99999",
"code": "PAA",
"fullCode": "PICKUP_AREA_ASSIGNED",
"orderId": "169e6c99-93e9-43b2-981a-498817088888",
"createdAt": "2020-01-01T00:00:00.000Z",
"metaData": {
"PICKUP_AREA_CODE": "1",
"PICKUP_AREA_TYPE": "NUMBER"
}
}category field in the order details with the value: FOOD_SELF_SERVICE.This marker indicates that the order follows the self-service flow for the FOOD category (see lifecycle here).For orders with category = FOOD_SELF_SERVICE, use the orderType field in the order details to direct the service:TAKEOUT — “Take-out” order: the server must pack for the customer to take away.DINE_IN — “Dine-in” order: the server must prepare for consumption on-site.orderType = DINE_INdineIn in the order details:deliveryDateTime