Skip to main content

API PATH: https://api.bigcommerce.com/stores/**********/

CLIENT ID: ga4r71*******223ad2un**************g

ACCESS TOKEN: qsnx04u**********8***cool

 

I have these all but I don't know what to fill in which field

Should be as in the screenshot below (no Client ID required). Also, for the full list of options to include in the “Data” area, visit https://developer.bigcommerce.com/api-reference/366928572e59e-create-a-product

Let me know whether this works for you :)

 


still facing error 

 


Can you confirm that you got your access token by creating an API account in your BigCommerce control panel. According to the API reference docs, BigCommerce expects a number, and you’re giving it a string with a mix of numbers and letters (ie “qsnx04...”).

If you’re sure you are entering the correct access token, perhaps try wrapping the description field in <p> and <span> html tags (see example below)...shouldn’t be required, but let’s test the heck out of it.

<p><span>Description Text</span></p>


ok I’ll try this, but can u  tell me what is payload type and what is the work of this ? 


Ah, good question. Payload type is how the information is sent to the app. Form means that the data is encoded and sent as a URL (ie. https://api.bigcommerce...X-Auth-Token=qsnx04...&price=5) while JSON is encoded and sent as { "X-Auth-Token": "qsnx04...", "price”: 5 }. If the above suggestions above don’t work, it could be worth trying to send it in a JSON payload format.


so, In which form should I send the data?

please help me for this

 


Hi @RahulGupta 

According to the BigCommerce Docs, your payload needs to be JSON not form


@GetUWired & @Todd Harper  thank you so much