Skip to main content

Query dietary restrictions.

POST 

/dietary-restrictions/query

Returns dietary restrictions, optionally filtered. Dietary restrictions indicate whether a product is suitable for certain diets or contains specific allergens.

Filter

The optional filter object must have exactly one key when present. It can be:

  • A property filter id: a single dietary restriction ID (string) or an array of IDs (match any). Allowed values are the restriction codes, e.g. gluten_free, vegan, halal, dairy_free, sugar_free, etc.
  • A compound filter with key and (array of filter objects; all must match), or (array of filter objects; at least one must match), or not (single filter object to negate).

Request

Responses

Successful operation. Returns a list of dietary restrictions.