Product
Update a variant.
Update a variant.
PATCH
/
{storeId}
/
products
/
{productId}
/
variants
/
{variantId}
Path Parameters
storeId
string
requiredStore ID for this resource request
productId
string
requiredProduct Id
variantId
string
requiredVariant Id
Body
application/json
salesPrice
string
requiredSales price
regularPrice
string
requiredActual price
quantity
integer
requiredProduct quantity
variantAttributeValues
object[]
requiredattributes and corresponding options
weight
integer
requiredWeight(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
200 - 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