GET /v3/products/minimum-content
This endpoint returns all products that have at least one photo or one description.
The response has no pagination so all results are returned immediately.
Request
Method
GET
URL
https://api.medipim.be/v3/products/minimum-content
Response
Each line of the response contains a single result. The response should be read line by line and each line JSON decoded separately. Each line ends with a newline character (\n
).
Each succesful result is formatted like this:
{"meta": {"total": 2, "index": 0}, "result": {"id": "MXXXXXXXXX", "cnk": "...}}<br />{"meta": {"total": 2, "index": 1}, "result": {"id": "MXXXXXXXXX", "cnk": "...}}
-
meta
total
: Total number of results.index
: Index of this result in the entire resultset.
-
results[]
id
: Medipim ID (integer, unique)cnk
: CNK code (⚠️ not every product has a CNK) (string)