Skip to main content
Best answer

As I am trying to create a product on Bigcommerce using Sheets with the help of Webhooks, I am confused about what fields to fill in.

  • December 14, 2022
  • 8 replies
  • 132 views

Forum|alt.badge.img+1

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

Best answer by Todd Harper

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>

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

8 replies

Todd Harper
Forum|alt.badge.img+8
  • Zapier Solution Partner
  • December 14, 2022

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 :)

 


Forum|alt.badge.img+1
  • Author
  • Beginner
  • December 14, 2022

still facing error 

 


Todd Harper
Forum|alt.badge.img+8
  • Zapier Solution Partner
  • Answer
  • December 14, 2022

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>


Forum|alt.badge.img+1
  • Author
  • Beginner
  • December 14, 2022

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


Todd Harper
Forum|alt.badge.img+8
  • Zapier Solution Partner
  • December 14, 2022

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.


Forum|alt.badge.img+1
  • Author
  • Beginner
  • December 15, 2022

so, In which form should I send the data?

please help me for this

 


GetUWired
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • December 15, 2022

Hi @RahulGupta 

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


Forum|alt.badge.img+1
  • Author
  • Beginner
  • December 16, 2022

@GetUWired & @Todd Harper  thank you so much