Skip to main content

Stream Medipim product ids matching a filter

POST 

/products/stream-ids

Stream matching Medipim product ids using the same filters and sorting as /products/stream. Unlike /products/query-ids, this endpoint has no result limit.

Each line's result contains only the Medipim product id. No regional code and no product document is returned.

When to use: Use this endpoint when:

  • You only need Medipim product ids
  • Your query matches more than 10,000 products
  • The /products/query-ids endpoint returns totalExceedsLimit: true

The response is streamed as newline-delimited JSON (NDJSON).

Request​

Responses​

Successful operation. The response body is streamed as newline-delimited JSON: one JSON object per line, each containing a meta envelope and a result with only the Medipim product id.