Create a dish and define the dish’s details.
The client app will display the name
, description
, and price
and will use the category
to determine where to display the dish in the menu. The server will check the dish’s ingredient_id
to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app).
The KDS will use the station
, preparation_time
, and ingredients
array when prioritizing and prepping the dish.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The request body to create a new dish in the client app requires the following properties:
category
description
image_name
ingredients
ingredients.ingredient_id
ingredients.is_essential
preparation_time
name
price
station
The body is of type object
.
Dish successfully created
The response is of type object
.