Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
id | Int | Id of the allergen |
name | String | Name of the allergen (translated) |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
id | Int | Id of the allergen |
name | String | Name of the allergen (translated) |
The available allergens are defined below.
Allergen ID | Name |
---|---|
1 | Gluten |
2 | Crustaceans |
3 | Egg |
4 | Fish |
5 | Peanut |
6 | Soy |
7 | Milk |
8 | Nuts |
9 | Celery |
10 | Mustard |
11 | Sesame |
12 | Sulphite |
13 | Lupine |
14 | Mollusc |
15 | Lactose |
{
"id": 14,
"name": "Mustard"
}