product
product.variant.update
Update variant.
put/product.variant.update.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.variant.update.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"store_id": "1",
"name": "Bag Green L",
"description": "Product variant",
"short_description": "Short description. This is very short description",
"model": "bag_01",
"sku": "bag_01",
"visible": "catalog",
"status": "disabled",
"backorder_status": "true",
"low_stock_threshold": 1,
"is_default": true,
"is_free_shipping": true,
"in_stock": true,
"warehouse_id": "1",
"quantity": 6,
"increase_quantity": 4,
"reduce_quantity": 4,
"prices_inc_tax": true,
"price": 99.9,
"special_price": 56.9,
"retail_price": 6.9,
"old_price": 99.9,
"cost_price": 65.9,
"fixed_cost_shipping_price": 5.5,
"sprice_create": "2018-08-25 23:56:12",
"sprice_expire": "2018-08-25 23:56:12",
"measure_unit": "Piece",
"unit_price": 10.5,
"weight": 23.69,
"barcode": "9770317847001",
"width": 56.12,
"weight_unit": "lb",
"height": 56.12,
"length": 56.12,
"gtin": "12345678912345",
"upc": "9770317847001",
"mpn": "9770317847001",
"ean": "5901234123457",
"isbn": "9783161484100",
"harmonized_system_code": "123456",
"country_of_origin": "123456",
"meta_title": "category,test",
"meta_description": "category,test",
"meta_keywords": "category,test",
"manufacturer": "Samsung",
"idempotency_key": "098f6bcd4621d373cade4e832627b4f6"
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.