Enterprise| Parameter | Default | Description |
|---|---|---|
| page | 1 | |
| per_page | 50 | |
| updated_at | 0 | This value when zero returns all menu items. Format unix time. |
| status | Value when active returns only active menu items else all. | |
| property_ids | Simpra Access Token must be enterprise level token to use this parameter. If it is nil or empty, all properties data will be returned. | |
| sku |
curl --location 'https://api.simpra.app/v2/menu_items?page=undefined&per_page=undefined&updated_at=undefined&status=undefined&property_ids=undefined&sku=undefined' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json'{
"meta": {
"has_next_page": true,
"current_page": 1,
"per_page_count": 50,
"total_count": 160,
"total_page": 4
},
"menu_items": [
{
"id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"sku": "123456",
"active": true,
"updated_at": 1555503616,
"receipe_menu_item": true,
"unit_type": "item",
"barcodes": [
"64466446"
],
"menu_item_group_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"translations": [
{
"name": "Su",
"locale": "tr"
}
],
"metafields": [
{
"id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"key": "UberEats",
"value": false,
"value_type": "boolean",
"updated_at": 1562576660
}
],
"condiment_groups": [
{
"required": true,
"min_count": null,
"max_count": null,
"multiple": false,
"condiment_group_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"menu_item_condiment_group_mapping_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"updated_at": 1555503616,
"translations": [
{
"name": "Su",
"locale": "tr"
}
]
}
],
"item_image": {
"id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"name": "Su",
"raw_url_path": "https://..",
"small_image_url": "https://..",
"thumbnail_image_url": "https://..",
"medium_image_url": "https://..",
"large_image_url": "https://.."
}
}
]
}