product
product.add
Add new product to store.
post/product.add.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.add.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"name": "Bag",
"model": "bag_01",
"description": "Product description",
"price": 99.9,
"sku": "bag_01",
"short_description": "Short description. This is very short description",
"type": "configurable",
"status": "disabled",
"visible": "search",
"categories_ids": "23,56",
"product_class": "Shirts",
"product_type": "BICYCLE",
"downloadable": true,
"store_id": "1",
"stores_ids": "1,2",
"old_price": 99.9,
"special_price": 56.9,
"wholesale_price": 56.12,
"cost_price": 65.9,
"fixed_cost_shipping_price": 5.5,
"buyitnow_price": 65.9,
"reserve_price": 65.9,
"measure_unit": "Piece",
"unit_price": 10.5,
"prices_inc_tax": true,
"retail_price": 6.9,
"quantity": 6,
"in_stock": true,
"warehouse_id": "1",
"backorder_status": "true",
"min_order_quantity": 1,
"max_order_quantity": 1,
"low_stock_threshold": 1,
"weight": 23.69,
"weight_unit": "lb",
"width": 56.12,
"height": 56.12,
"length": 56.12,
"dimensions_unit": "cm",
"barcode": "9770317847001",
"upc": "9770317847001",
"ean": "5901234123457",
"isbn": "9783161484100",
"gtin": "12345678912345",
"mpn": "9770317847001",
"asin": "97703178470",
"product_reference": "5901234123457",
"external_product_link": "http://example.com/t-shirt",
"harmonized_system_code": "123456",
"country_of_origin": "123456",
"manufacturer": "Samsung",
"manufacturer_id": "1",
"brand_name": "Abidas",
"image_url": "https://docs.api2cart.com/img/logo.png",
"image_name": "abibas.png",
"related_products_ids": "4,5",
"up_sell_products_ids": "4,5",
"cross_sell_products_ids": "4,5",
"attribute_set_name": "Shoes",
"attribute_name": "Color,Manufacturer",
"search_keywords": "key1,key2,key3",
"tags": "tag1,tag2",
"avail_from": "2029-10-25T15:54:37-0500",
"sprice_create": "2018-08-25 23:56:12",
"sprice_modified": "2018-12-05 13:46:20",
"sprice_expire": "2018-08-25 23:56:12",
"created_at": "2014-08-09 13:13:13",
"when_made": "2020_2025",
"meta_title": "category,test",
"meta_keywords": "category,test",
"meta_description": "category,test",
"url": "/product_slug",
"seo_url": "some seo url",
"condition": "Like New",
"condition_description": "Almost perfect condition, a few scratches",
"paypal_email": "paypall@mail.com",
"shipping_template_id": 40256592690,
"is_free_shipping": true,
"delivery_code": "24uurs-23",
"delivery_type": "PARCEL",
"delivery_time": 1,
"delivery_option_ids": "6956548250505111111,6956548250505111112",
"listing_duration": "Days_3",
"listing_type": "Auction",
"category_type": "Apparel",
"return_accepted": true,
"auction_confidentiality_level": "public",
"production_partner_ids": "4,5",
"marketplace_item_properties": "{\"color\":[\"Silver\"],\"manufacturer\":\"Philips\",\"features\":[\"3 way\"],\"countPerPack\":1,\"watts\":{\"unit\":\"W\",\"measure\":40}}",
"viewed_count": 9,
"ordered_count": 15,
"vendor_id": "1",
"shop_section_id": 12345678,
"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.