Add Product Variants

View as Markdown
Adds new variants to an existing product. The request body must be an array of variant objects, each requiring a unique SKU.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

productIdstringRequiredformat: "int64"

Request

The product variants to add to product

Response

Created
created_ondatetimeOptional
Timestamp when the product was created
idlongOptional
Unique identifier for the product
namestring or nullOptional
Product name
taxonomyobjectOptional
Product categorization information including category hierarchy
typestring or nullOptional

Product type (e.g., ‘Regular’ or ‘Bundle’)

updated_ondatetime or nullOptional
Timestamp when the product was last updated
user_idlongOptional
ID of the user who owns this product
variantslist of objects or nullOptional
List of variants belonging to this product. Each variant represents a specific SKU.