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

Path Parameters

storeId
string
required

Store ID for this resource request

productId
string
required

Product Id

variantId
string
required

Variant Id

Body

application/json
salesPrice
string
required

Sales price

regularPrice
string
required

Actual price

quantity
integer
required

Product quantity

variantAttributeValues
object[]
required

attributes and corresponding options

weight
integer
required

Weight(kg)

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

slug
string

Slug

salesPrice
string

Sales price

regularPrice
string

Actual price

quantity
integer

Product quantity

description
string

Product description

shortDescription
string

Product short description

hide
boolean

Hide this product

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