Get extras
This API method retrieves all extras for a given product ID
https://api.e-food.nl/v2/extras/{cityName}/{storeName}/{productId}
GET Request
The request contains the store and city name as identifier, and the product ID for which the extras should be returned.
| Field name | Type | Required | Description |
|---|---|---|---|
CityName |
string | Y | The name of the city |
StoreName |
string | Y | The name of the store |
ProductId |
int | Y | The ID of the product |
Sample request
This sample request fetches all extras for product 12345 in store bar in city foo
https://api.e-food.nl/v2/extras/foo/bar/12345
Response
The response contains a collection of ProductExtraDto if any extras are present.
Sample response
[
{
"id": 915689,
"number": "L40017100112",
"name": "Portie Mayonaise",
"price": 40.0
},
{
"id": 915690,
"number": "L40017100117",
"name": "Portie Speciaal",
"price": 75.0
}
]