api_call_0
api_call
get_menu_items
api_call_0
request
{"query": "Cortado "}
api_response_0
api_response
get_menu_items
api_response_0
response
{"menu_items":[{"menu_item_id":""cortado-3621"","name":"Cortado "}]}
api_call_1
api_call
add_order_item
api_call_1
request
{"menu_item_id": ""cortado-3621"","quantity": "1"}
api_response_1
api_response
add_order_item
api_response_1
response
{"order_id": "79340","order_item_id":"88151"}
api_call_2
api_call
get_addons
api_call_2
request
{"query": "to go", "scope": "order"}
api_response_2
api_response
get_addons
api_response_2
response
{"attributes":[{"attribute_id": "order-type", "attribute_name": "Order Type", "options": ["Here", "Togo", "Delivery"]}]}
api_call_3
api_call
update_order
api_call_3
request
{"order_id": "79340", "attributes": [{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "Togo"}] }
api_response_3
api_response
update_order
api_response_3
response
{"order_id": "79340"}
api_call_4
api_call
get_order_details
api_call_4
request
{"order_id": "79340"}
api_response_4
api_response
get_order_details
api_response_4
response
{"order_id": "79340", "attributes": [{"attribute_id": "Name", "attribute_name": "Name", "option": "five of hearts"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "Togo"}], "menu_items": [{"order_item_id": "88151", "menu_item_id": ""cortado-3621"", "menu_item_name": "Cortado "}]}
user
Hi. I'll have one Cortado, that's one Cortado to carry out.
assistant
OK. Just confirm the order all looks correct and I'll send it off to be made for you.
api_call_5
api_call
finish_order
api_call_5
request
{"order_id": "79340"}
api_response_5
api_response
finish_order
api_response_5
response
{"success":true}
user
Lets see. Yep, that's it.
assistant
Ok, thanks. You can pick it up at the coffee bar. Its should be ready in a few minutes.