Variant Categories
Variant categories group related variants together (e.g., “Size” or “Color”).List Variant Categories
Retrieve all variant categories for a product.Path Parameters
The unique identifier of the product
Response
Whether the request was successful
Array of variant category objects
Get Variant Category
Retrieve details for a specific variant category.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
Response
Whether the request was successful
The variant category object
Create Variant Category
Create a new variant category for a product.Path Parameters
The unique identifier of the product
Body Parameters
The name of the variant category (e.g., “Size”, “Color”, “Edition”)
Response
Whether the request was successful
The created variant category object
Update Variant Category
Update an existing variant category.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
Body Parameters
The new name for the variant category
Response
Whether the request was successful
The updated variant category object
Delete Variant Category
Delete a variant category and all its variants.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
Response
Whether the request was successful
Variants
Variants represent individual options within a variant category.List Variants
Retrieve all variants for a variant category.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
Response
Whether the request was successful
Array of variant objects
Get Variant
Retrieve details for a specific variant.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
The unique identifier of the variant
Response
Whether the request was successful
The variant object
Create Variant
Create a new variant within a variant category.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
Body Parameters
The name of the variant (e.g., “Small”, “Red”, “Digital Edition”)
Optional description for the variant
Price difference from the base product price in cents. Can be negative (discount) or positive (premium).
Maximum inventory available for this variant (omit for unlimited)
Response
Whether the request was successful
The created variant object
Update Variant
Update an existing variant.Path Parameters
The unique identifier of the product
The unique identifier of the variant category
The unique identifier of the variant
Body Parameters
The new name for the variant
The new description for the variant
New price difference in cents
New maximum inventory count
Response
Whether the request was successful
The updated variant object
Delete Variant
Soft delete a variant (marks as deleted but preserves data).Path Parameters
The unique identifier of the product
The unique identifier of the variant category
The unique identifier of the variant
Response
Whether the request was successful
Error Codes
400
Bad Request - Missing required parameters or invalid values
401
Unauthorized - Invalid or missing access token
403
Forbidden - Insufficient permissions (requires
edit_products scope for create/update/delete)404
Not Found - Product, variant category, or variant not found
422
Unprocessable Entity - Invalid variant parameters (e.g., price difference makes product price invalid)