Product
Create a new Variant of the specified base product.
Create a new Variant of the specified base product.
POST
/
products
/
{productId}
/
variants
/
{variantId}
Path Parameters
productId
string
requiredProduct Id
variantId
string
requiredVariant Id
Body
application/json
quantity
integer
requiredProduct quantity
variantAttributeValues
object[]
requiredattributes and corresponding options
prices
object[]
Price Information across various channels
description
string
Product description
shortDescription
string
Product short description
active
boolean
Active indicator
outOfStock
boolean
Out of stock product
width
integer
Width(cm)
height
integer
Height(cm)
depth
integer
Depth(cm)
weight
integer
requiredWeight(kg)
isShippingEnabled
boolean
Enable to enter shipping details
seo
object
SEO metadata for this product
images
object[]
Product images
Response
201 - application/json
id
string
Unique identifier for the resource
names
any[]
Name
sku
string
Stock keeping Unit
slug
string
Slug
quantity
integer
Product quantity
description
string
Product description
shortDescription
string
Product short description
active
boolean
Active indicator
outOfStock
boolean
Out of stock product
width
integer
Width(cm)
height
integer
Height(cm)
depth
integer
Depth(cm)
weight
integer
Weight(kg)
isShippingEnabled
boolean
Enable to enter shipping details
seo
object
SEO metadata for this product
images
object[]
Product images
date_created
string
Created date
date_modified
string
Modified date
prices
object[]
Price Information across various channels