product
product.update
This method can be used to update certain product data. The list of supported parameters depends on the specific platform. Please transmit only those parameters that are supported by the particular platform. Please note that to update the product quantity, it is recommended to use relative parameters (increase_quantity or reduce_quantity) to avoid unexpected overwrites on heavily loaded stores.
put/product.update.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.update.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"model": "bag_01",
"sku": "bag_01",
"name": "Pancil",
"description": "New product description",
"short_description": "Short description. This is very short description",
"prices_inc_tax": true,
"price": 99.9,
"old_price": 99.9,
"special_price": 56.9,
"sprice_create": "2018-08-25 23:56:12",
"sprice_expire": "2018-08-25 23:56:12",
"cost_price": 65.9,
"fixed_cost_shipping_price": 5.5,
"retail_price": 6.9,
"reserve_price": 65.9,
"buyitnow_price": 65.9,
"type": "simple",
"status": "disabled",
"condition": "Like New",
"visible": "search",
"in_stock": true,
"avail_from": "2029-10-25T15:54:37-0500",
"product_class": "Shirts",
"brand_name": "Abidas",
"measure_unit": "Piece",
"unit_price": 10.5,
"stores_ids": "1,2",
"store_id": "1",
"quantity": 6,
"backorder_status": "true",
"increase_quantity": 4,
"reduce_quantity": 4,
"low_stock_threshold": 1,
"min_order_quantity": 1,
"max_order_quantity": 1,
"warehouse_id": "1",
"weight": 23.69,
"weight_unit": "lb",
"height": 56.12,
"length": 56.12,
"width": 56.12,
"dimensions_unit": "cm",
"is_free_shipping": true,
"gtin": "12345678912345",
"upc": "9770317847001",
"mpn": "9770317847001",
"ean": "5901234123457",
"isbn": "9783161484100",
"barcode": "9770317847001",
"manufacturer": "Samsung",
"manufacturer_id": "1",
"vendor_id": "1",
"categories_ids": "23,56",
"related_products_ids": "4,5",
"up_sell_products_ids": "4,5",
"cross_sell_products_ids": "4,5",
"meta_title": "category,test",
"meta_keywords": "category,test",
"meta_description": "category,test",
"seo_url": "some seo url",
"search_keywords": "key1,key2,key3",
"tags": "tag1,tag2",
"delivery_code": "24uurs-23",
"country_of_origin": "123456",
"harmonized_system_code": "123456",
"shipping_template_id": 40256592690,
"when_made": "2020_2025",
"downloadable": true,
"production_partner_ids": "4,5",
"report_request_id": "105245017661",
"shop_section_id": 12345678,
"external_product_link": "http://example.com/t-shirt",
"marketplace_item_properties": "{\"color\":[\"Silver\"],\"manufacturer\":\"Philips\",\"features\":[\"3 way\"],\"countPerPack\":1,\"watts\":{\"unit\":\"W\",\"measure\":40}}",
"manufacturer_ids": "1,2,3",
"responsible_person_ids": "1,2,3",
"idempotency_key": "098f6bcd4621d373cade4e832627b4f6"
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.