Search Documentation
Search for a documentation page...
Variants API
REST API endpoints for managing product variants (SKU, price, stock, options).
Product variants represent the purchasable versions of a product — different sizes, colors, or configurations. Each variant has its own SKU, price, stock level, and optional image.
Get Variant
Returns a variant by UUID or SKU code, including product info, price, stock level, and option combinations.
Update Variant
Partially updates a variant by UUID or SKU. Only the provided fields are changed.
Request Body
| Field | Type | Description |
|---|---|---|
sku | string | New SKU code |
title | string | Variant display name (e.g. Large / Red) |
priceCents | number | Price in cents (e.g. 2999 = $29.99) |
imageUrl | string | null | Variant image URL (null to remove) |
stock | number | Inventory quantity |
Delete Variant
Permanently deletes a variant by UUID or SKU. Cannot delete the last variant of a product.
Returns 204 No Content on success.