api_call_0
api_call
get_menu_items
api_call_0
request
{"query": "Latte "}
api_response_0
api_response
get_menu_items
api_response_0
response
{"menu_items":[{"menu_item_id":"latte-6605 ","name":"Latte "}]}
api_call_1
api_call
get_addons
api_call_1
request
{"query": "Non-Fat milk OR Caramel Sauce", "menu_item_id": "latte-6605 "}
api_response_1
api_response
get_addons
api_response_1
response
{"attributes": [{"attribute_id": "milk-options", "attribute_name": "Milk", "options":["Whole Milk","2% Milk", "Non-fat Milk", "Oat Milk","2% Lactose Free Milk", "Almond Milk"]}], "addons": [{"addon_id": "caramel-sauce-633", "name": "Caramel Sauce", "default": "NO", "options": ["NO", "ADD"]}]}
api_call_2
api_call
add_order_item
api_call_2
request
{"menu_item_id": "latte-6605 ","quantity": "1", "attributes": [{"attribute_id": "milk-options", "option":"Non-Fat Milk"}], "addons": [{"addon_id": "caramel-sauce-633", "option":"ADD"}]}
api_response_2
api_response
add_order_item
api_response_2
response
{"order_id": "72377","order_item_id":"17856"}
api_call_3
api_call
get_order_details
api_call_3
request
{"order_id": "72377"}
api_response_3
api_response
get_order_details
api_response_3
response
{"order_id": "72377", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "king of clubs"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "17856", "menu_item_id": "latte-6605 ", "menu_item_name": "Latte ", "addons": [{"addon_id": "caramel-sauce-633", "option":"ADD"}], "attributes": [{"attribute_id": "milk-options", "option":"Non-Fat Milk"}]}]}
user
I'd like to order a non-fat caramel latte please.
assistant
Sure, just confirm your order and I'll send it to the coffee bar. Is this the correct order?
api_call_4
api_call
finish_order
api_call_4
request
{"order_id": "72377"}
api_response_4
api_response
finish_order
api_response_4
response
{"success":true}
user
Yes, that's right.
assistant
Great, your order will be ready soon.