Medipim FR - API V4

Developer documentation

/v4/product/attributes/query

(Last updated: 03/10/2023)

Request

Method

POST

URL

https://api.medipim.fr/v4/product/attributes/query

Headers

Body

Filter Description Parameters Examples
{"id": ...} Matches attributes by Medipim ID. One or more Medipim IDs {"id": 1} or {"id": [1, 2]}
{"code": ...} Matches attributes by code. One or more attribute codes {"id": "color"} or {"id": ["color", "galenic_shape"]}
{"and": [...]} Matches attributes that match all of the given filters. A list of filters. {"and": [{"id": 1}, {"id": 2}]}
{"or": [...]} Matches attributes that match any of the given filters. A list of filters. {"or": [{"id": 1}, {"id": [2, 3]}]}
{"not": ...} Matches attributes that do not match the given filter. A filter. {"not": {"id": 1}}
Sorting Description Parameters Examples
{"id": ...} Sort by Medipim ID "ASC" or "DESC" {"id": "ASC"} or {"id": "DESC"}
{"name": ...} Sort by name "ASC" or "DESC" {"name": "ASC"} or {"name": "DESC"}

Response

Body

Notice

The meta page section will only be returned if you added a page in the request body.