POST /v4/dietary-restrictions/query
(Last updated: 24/10/2025)
Request
Method
POST
URL
https://api.au.medipim.com/v4/dietary-restrictions/query
Headers
Body
filter: one of the filters below; filters can be combined usingand,or¬. (optional)
| Filter | Description | Parameters | Examples |
|---|---|---|---|
{"id": ...} |
Matches dietary restriction by Medipim ID. | One or more IDs | {"id": "bio"} or {"id": ["bio", ...]} |
{"and": [...]} |
Matches dietary restrictions that match all of the given filters. | A list of filters. | {"and": [{"id": "bio"}, ...]} |
{"or": [...]} |
Matches dietary restrictions that match any of the given filters. | A list of filters. | {"or": [{"id": "bio"}, ...]} |
{"not": ...} |
Matches dietary restrictions that do not match the given filter. | A filter. | {"not": {"id": "bio"}} |
Response
Body
-
meta:total: total number of results (integer)
-
results[]:id: Medipim ID of the dietary restriction (string, unique)name.{...}: Name of the dietary restriction (string, localized)