POST
/
products
/
{productId}
/
variants
/
{variantId}

Path Parameters

productId
string
required

Product Id

variantId
string
required

Variant Id

Body

application/json
quantity
integer
required

Product quantity

variantAttributeValues
object[]
required

attributes and corresponding options

weight
integer
required

Weight(kg)

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)

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