api_call_0
api_call
get_menu_items
api_call_0
request
{"query": "Macchiato"}
api_response_0
api_response
get_menu_items
api_response_0
response
{"menu_items":[{"menu_item_id":"macchiato-1262","name":"Macchiato"}]}
api_call_1
api_call
add_order_item
api_call_1
request
{"menu_item_id": "macchiato-1262","quantity": "1"}
api_response_1
api_response
add_order_item
api_response_1
response
{"order_id": "33009","order_item_id":"25486"}
api_call_2
api_call
get_order_details
api_call_2
request
{"order_id": "33009"}
api_response_2
api_response
get_order_details
api_response_2
response
{"order_id": "33009", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "Jack of Spades"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "25486", "menu_item_id": "macchiato-1262", "menu_item_name": "Macchiato"}]}
user
Hi, good day! I am getting one Macchiato, and my name is Julia.
assistant
Sure thing, now Julia I want to make sure we have your order correct. Does this look good to you?
api_call_3
api_call
get_addons
api_call_3
request
{"query": "decaf", "menu_item_id":"macchiato-1262"}
api_response_3
api_response
get_addons
api_response_3
response
{"attributes": [{"attribute_id": "caffeine", "attribute_name": "Caffeine", "options":["Caff","Decaf"]}]}
api_call_4
api_call
update_order_item
api_call_4
request
{"order_item_id": "25486","attributes": [{"attribute_id": "caffeine", "option":"Decaf"}]}
api_response_4
api_response
update_order_item
api_response_4
response
{"order_item_id":"25486"}
api_call_5
api_call
get_order_details
api_call_5
request
{"order_id": "33009"}
api_response_5
api_response
get_order_details
api_response_5
response
{"order_id": "33009", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "Jack of Spades"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "25486", "menu_item_id": "macchiato-1262", "menu_item_name": "Macchiato", "attributes": [{"attribute_id": "caffeine", "option":"Decaf"}]}]}
user
No, I am sorry but can I get that decaf please?
assistant
I get it, let me change that quickly please. Now is everything good for your order before I send it to the Coffee Bar?
api_call_6
api_call
finish_order
api_call_6
request
{"order_id": "33009"}
api_response_6
api_response
finish_order
api_response_6
response
{"success":true}
user
Yes, it looks good.
assistant
Thank you very much. If you would go over our coffee bar, it will be prepared shortly.