Search Documentation
Search for a documentation page...
Products
Browse, create, update, and delete products using the Commerce SDK.
Browse Products
Fetch a paginated list of products:
Parameters
| Parameter | Type | Description |
|---|---|---|
limit | number | Max items to return (default: 20) |
offset | number | Number of items to skip |
collectionSlug | string | Filter by collection |
categorySlug | string | Filter by category |
Get a Product
Fetch a single product by ID or slug:
Response
Displaying Prices
Prices are stored net. Every variant also carries a gross twin — priceGross, plus originalPriceGross, calculatedPriceGross, and prePromotionPriceGross — so the storefront never computes tax itself. Which one to render is decided by the store's tax behavior:
inclusive means shoppers see gross prices with tax included; exclusive means they see net prices and tax is added at checkout. With no tax rate assigned, gross equals net. See Prices and tax for the full field list.
Create a Product
Update a Product
Delete a Product
Working with Variants
Products have variants for different options (size, color, etc.). Manage variants with dedicated methods: