The list products endpoint returns a paginated collection of all products in the catalogue. You can control which page to fetch and how many results to return per page, and optionally restrict results to active products only. No authentication is required — this endpoint is fully public.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/floriansalvi/HEIG-VD_Ocha-api/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
This endpoint is public. No
Authorization header is required.Query parameters
The page number to return. Must be a positive integer.
The number of products to return per page. Must be a positive integer.
When set to
true, only products where isActive is true are returned. Omit this parameter to return all products regardless of active status.Response
200 OKA human-readable confirmation message, e.g.
"List of products".The current page number as requested.
The total number of pages available given the current
limit.The total count of products matching the applied filter.
Array of product objects.
Error codes
| Status | Meaning |
|---|---|
500 | Internal server error — an unexpected error occurred. |