Get Products List
AI-generatedSummary
Retrieve a list of products from the Otto Market API with control over API version, environment, and result count.
Inputs
- Environment (required) — Choose between the Production or Sandbox (Testing) API environment.
- API Version (required) — Select the products API version to use: V5 (recommended) or V4 (legacy).
- Return All — Decide whether to fetch all available products or limit the number of results.
- Limit — Specify the maximum number of products to return when not returning all; valid range is 1 to 1000.
Output shape
a single JSON object containing metadata and a list of product objects
The returned JSON includes success status, API version, environment, and products array. If returning a limited number, it includes the requested limit, count of returned products, and a hasMore flag indicating if more products exist. Results are fetched via multiple requests if needed, with safety limits on paging.
Examples
Example 1: Fetch up to 200 products from the production environment using V5 API version.
Set Environment to Production, API Version to V5, Return All to false, and Limit to 200.