POST /v3/products/export
This endpoint works the same as POST /v3/products/search, except there is no pagination; all results are returned immediately.
Request
Method
POST
URL
https://api.medipim.be/v3/products/export
Headers
Body
filter
: see POST /v3/products/searchsorting
: see POST /v3/products/search
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", ...}}
{"meta": {"total": 2, "index": 1}, "result": {"id": "MXXXXXXXXX", ...}}
-
meta
total
: Total number of results.index
: Index of this result in the entire resultset.
-
result
id
,name
, ...: product information (same as product search results)
If no results are found matching the filter, the response will have status 204 (= no content).