Put Product Variant Update

PUT {{baseUrl}}/product.variant.update.json?store_id=<string>&id=<integer>&product_id=<string>&warehouse_id=<string>&reserve_quantity=<number>&quantity=<number>&increase_quantity=<number>&reduce_quantity=<number>&price=<number>&special_price=<object>&sprice_create=<string>&sprice_expire=<string>&manage_stock=<string>&in_stock=<boolean>&name=<string>&description=<string>&sku=<string>&meta_title=<string>&meta_description=<string>&meta_keywords=<string>&short_description=<string>&visible=<boolean>&status=<string>&weight=<number>

Update variant.

Request Params

KeyDatatypeRequiredDescription
store_idstringDefines store id where the webhook should be assigned
idstringWebhook id
product_idstringDefines the product where the price has to be deleted
warehouse_idstringThis parameter is used for selecting a warehouse where you need to set/modify a product quantity.
reserve_quantitystringThis parameter allows to reserve/unreserve product quantity.
quantitystringDefines new product's quantity
increase_quantitystringDefines the incremental changes in product quantity
reduce_quantitystringDefines the decrement changes in product quantity
pricestringDefines new product's price
special_pricestringDefines new product's special price
sprice_createstringDefines the date of special price creation
sprice_expirestringDefines the term of special price offer duration
manage_stockstringDefines inventory tracking for product
in_stockstringSet stock status
namestringCoupon name
descriptionstringThe user-friendly description
skustringFilter by product's sku
meta_titlestringDefines unique meta title for each entity
meta_descriptionstringDefines unique meta description of a entity
meta_keywordsstringDefines unique meta keywords for each entity
short_descriptionstringDefines short description
visiblestringSet visibility status
statusstringDefines product's status
weightstringWeight