veganedge Posted December 7, 2022 Share Posted December 7, 2022 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. Link to comment
Beyondspace Posted December 7, 2022 Share Posted December 7, 2022 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. 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment