Search products
GET/products
Relays product-discovery GET /products with the search filters q, categoryId, inStock, priceMin, priceMax, sort and the page parameters limit and cursor. An undeclared parameter answers 400 unknown-query-parameter; the answer is the provider's page {items, facets, categorySuggestions, nextCursor}.
Request
Responses
- 200
- 400
- 422
- 503
- 504
One page of products, with the provider's facets and category suggestions.
A 400 problem: idempotency-key-required, idempotency-key-invalid, unknown-query-parameter, invalid-limit, invalid-cursor (relayed from the provider) or malformed-request (a NUL character in the query string or body, or an unreadable body).
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.