How to Add New Product in Bigcommerce via API V2

Bigcommerce is revolutionary ready eCommerce platform. Its allow to create e-store instantly with latest features. Bigcommerce has own web service, which provide to access store data outside or to integrate with any third party service.

Adding New Product in Bigcommerce via API

For Add new product in Bigcommerce account. You need to pass required product parameter in json encoded form.

First create an array of product required parameters.

Than you have to encode the $data_array in json form.


Using php curl code you can post the API request in bigcommerce. Check below curl code to add new product in bigcommerce via its api.

$headers = array(
“Content-type: application/json”

Use json content application in curl header request.

In this curl code, use your bigcommerce admin username and api key to access the api request. After post this request new product is added in account.

You can also add new product with SKU, for that use this api request url :{product_id}/sku.

22 thoughts on “How to Add New Product in Bigcommerce via API V2

    • Hi Zacaca

      To add image for product just need to pass “image_file” parameter as image path value. Its use Basic POST curl code to this request URL : /api/v2/products/{product_id}/images.

      Place your product id in request URL.


      • Hi Harish
        you demo for me ?
        $data_array = array(
        ‘name’=>’product name’,
        “type”=> “physical”,
        ‘description’ =>’description of product’,
        ‘price’ =>’21.98′,
        ‘retail_price’ =>’21.98′,
        ‘weight’ =>’0.5′,
        ‘depth’ =>’12’,
        “categories” => [23],
        “availability”=> “available”,
        ‘inventory_level’ =>’0′,
        “videos” => “”,
        “image_file” => “”



  1. Hello HARISH,
    As per per last discussion for webhooks. Can you send me the example of webhooks when new products created.. because as i checked i am not able to get solution for that . please help me for that.

    • Hi Saurabh,

      Same code works to add product image. Just check product object properties in BigCommerce Official API documentation.

      Their is parameter explained in Product Reference.


    • If you are adding products first than follow above mentioned post. After adding you will get product ID, which you can pass along with create new order API request parameters.

      And if products already exist in store, than also get that product ID and pass in order API request.


Leave a Comment