Skip to main content

Overview

Access product data through two methods:
  • getStore() - Returns all products in the store (included in store response)
  • getProduct() - Fetch a single product by ID or slug
  • getProductReviews() - Get paginated reviews for a product

Get All Products

Products are included in the store response:

Get Single Product

Fetch a product by ID or slug:

Parameters

string
required
The product’s unique ID (UUID) or URL slug

Example

Product Object

Variants

Every product has one or more variants. Each variant has its own price, stock, and settings:

Stock Calculation Mode

The stockMode field determines how stock availability is calculated: See the Stock Calculation Mode enum for full details.

Displaying Images

Product and variant imageNames contain filenames, not full URLs. See the Images page for how to construct full image URLs.

Display Variants

Variant Selection

Product Reviews

Get paginated reviews for a product:

Parameters

string
required
The product’s unique ID
number
required
Page number (1-indexed)

Returns

Returns PaginatedApiResponse<Review>:

Display Reviews

Product Images

Product images are referenced by filename. Construct the full URL:

Stock Handling

Check stock availability before adding to cart:

Complete Example

Next Steps

Currency Formatting

Format prices in your store’s currency

Basket Management

Add products to the shopping cart
Last modified on July 31, 2026