Jump to content

403 Forbidden error when using Inventory API

Recommended Posts

Does anybody have experience with the API's?  Trying to get any response from the Inventory API and I keep getting 403 Forbidden response.   I made the API key and using JS fetch().    See photo for code (ignore green as those are commented out trying different things.).      "token" variable is defined above this photo with the API key.

Screen Shot 2022-12-06 at 6.41.42 PM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

11 hours ago, veganedge said:

Does anybody have experience with the API's?  Trying to get any response from the Inventory API and I keep getting 403 Forbidden response.   I made the API key and using JS fetch().    See photo for code (ignore green as those are commented out trying different things.).      "token" variable is defined above this photo with the API key.

Screen Shot 2022-12-06 at 6.41.42 PM.png

You can get reference from here: https://developers.squarespace.com/commerce-apis/authentication-and-permissions

We have a step to run Authenticating requests and get the API key

Hope it makes sense

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.