GET
/
dishes
/
{id}
/
ingredients
{
  "results": [
    {
      "id": "674d0bf5c28b69001f8e03a1",
      "created_at": "2024-04-22T10:00:00Z",
      "updated_at": "2024-04-22T10:00:00Z",
      "name": "Carrot",
      "in_stock_qty": 3,
      "price": 999
    }
  ],
  "total_results": 1
}

Path Parameters

id
string
required

The unique ingredient identifier, generated when the ingredient was created.

Query Parameters

sort
string

Determine which property to sort the list by. Used with the order parameter.

order
string

Used with the sort parameter. Set to asc for ascending order or desc for descending order.

fields
string

Restrict which properties are returned in the response.

filter
string

Filter your response to include only items that have properties that equal the specified value.

Example:

"created_at.gt~2024-05-07|in_stock_qty.gt~3"

limit
integer

Limit the number of objects in the response.

Required range: x <= 30
offset
integer

Offsets the start of the list by the set value. Defaults to 0.

Example:

0

Response

200
application/json

Request successful

The response is of type object.