Create Variant
Variants
Create Variant
Create a new Variant for a product.
Authentication Required: Requires variant:write permission.
POST
Create Variant
Path Parameters
Cookies
Body
application/json
Response
Successful Response
Response model for a single Variant.
MongoDB ObjectId as string
Variant key, unique within a product
Product type reference
Key of the parent Product
Creation timestamp
User who created this
Published status
Last modification timestamp
User who last modified this
Variant data keyed by PropertyDefinition key
Per-property metadata
Number of properties with values