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
Key | Datatype | Required | Description |
---|---|---|---|
store_id | string | Defines store id where the webhook should be assigned | |
id | string | Webhook id | |
product_id | string | Defines the product where the price has to be deleted | |
warehouse_id | string | This parameter is used for selecting a warehouse where you need to set/modify a product quantity. | |
reserve_quantity | string | This parameter allows to reserve/unreserve product quantity. | |
quantity | string | Defines new product's quantity | |
increase_quantity | string | Defines the incremental changes in product quantity | |
reduce_quantity | string | Defines the decrement changes in product quantity | |
price | string | Defines new product's price | |
special_price | string | Defines new product's special price | |
sprice_create | string | Defines the date of special price creation | |
sprice_expire | string | Defines the term of special price offer duration | |
manage_stock | string | Defines inventory tracking for product | |
in_stock | string | Set stock status | |
name | string | Coupon name | |
description | string | The user-friendly description | |
sku | string | Filter by product's sku | |
meta_title | string | Defines unique meta title for each entity | |
meta_description | string | Defines unique meta description of a entity | |
meta_keywords | string | Defines unique meta keywords for each entity | |
short_description | string | Defines short description | |
visible | string | Set visibility status | |
status | string | Defines product's status | |
weight | string | Weight |