Menu
GET Getting menu
Path
/api/menu
Возвращает список блюд
Click to expand to see the details
cURL example:
curl --location 'https://barakat.tekmates.pro/api/menu'
--header 'Authorization: Bearer <token>' \
--header 'Content-Language: RU' \
Response Body:
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"categoryId": "fbb40943-9060-d344-0191-c7d7827c6964",
"imafeUrl": "https://i.pinimg.com/enabled/564x/d3/09/f9/d309f9159167adacefdc4bb8ff30b78f.jpg",
"title": "Котлетка с пюрешкой",
"description": "пюре, котлета",
"price": 1000.20,
"portionWeightGrams": 170
}
]
GET Getting product categories
Path
/api/menu/categories
Возвращает список категорий блюд
Click to expand to see the details
cURL example:
curl --location 'https://barakat.tekmates.pro/api/menu/categories'
--header 'Authorization: Bearer <token>' \
--header 'Content-Language: RU' \
Response Body:
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Горячее блюдо"
}
]
Edited by Aleksandr Kosorukov