menu_items[].id.menu_items[].condiments[].id.menu_items[].name.menu_items[].unit_amount.| Parameter | Default | Description | Required |
|---|---|---|---|
| menu_items[] | contains order items | REQUIRED | |
| menu_items[].id | ordered menu item id | ||
| menu_items[].quantity | 1 | ordered menu item quantity | |
| menu_items[].name | ordered menu item name for custom menu item | ||
| menu_items[].unit_amount | ordered menu item amount for custom menu item | ||
| menu_items[].notes[] | ordered item notes | ||
| menu_items[].condiments[] | ordered condiments | ||
| menu_items[].condiments[].id | condiment id | REQUIRED | |
| menu_items[].combo_items[] | ordered combo items | ||
| menu_items[].combo_items[].id | menu item id | REQUIRED | |
| menu_items[].combo_items[].combo_group_item_id | combo group item id | REQUIRED |
curl --location 'https://api.simpra.app/apps/api/v1/checks//check_items' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json' \
--data '{
"menu_items": [
{
"id": "6fdbd6b4-d459-427a-8c83-0df669322715",
"quantity": 2,
"notes": [
"hot"
],
"condiments": [
{
"id": "19f7b0f5-fa49-4918-98c4-142ad2a14730"
}
],
"combo_items": [
{
"id": "3213d733-5311-440b-ad41-92640a7250ff",
"combo_group_item_id": "4d0a869e-7bee-4c58-ae25-6d3bf20622f8"
}
],
"name": "TeaWithCoffee",
"unit_amount": 10
}
]
}'{
"check_item_ids": [
"c2cb6f75-88c1-4ab6-99af-a9d6b7822993"
]
}