Get Product by SKU
AI-generatedSummary
Retrieve a single product's detailed information from the Otto Market API by specifying its SKU.
Inputs
- Environment — Select the API environment: Production or Sandbox (Testing). Defaults to Production.
- API Version — Choose the Products API version to use: V5 (Recommended) or V4 (Legacy). Defaults to V5.
- SKU (required) — The exact product SKU (Stock Keeping Unit) to look up, e.g., 'ABC-123'.
Output shape
A single JSON object containing the retrieved product's information along with metadata (success status, API version, environment, and SKU).
The output JSON includes 'success' (boolean), 'apiVersion', 'environment', 'sku', and 'product' fields with the product data as returned by the Otto Market API. Errors during execution result in a JSON object with 'success' set to false and an 'error' message. Authentication credentials (Client ID and Client Secret) must be configured for operation.
Examples
Example 1: Fetch product details for SKU 'ABC-123' in the Production environment using API v5
Set Environment to 'Production', API Version to 'V5', and SKU to 'ABC-123'. Provide required credentials for Otto Market API.