Sapta-TS Posted August 28, 2019 Share Posted August 28, 2019 Does Square Space provide APIs to decrease stocks of a product from inventory?We looked at Adjusting Stock Levels API on this page but are not able to decrease stock of a product externally using API despite passing the credentials. Could this API be for other purpose? In that case what would be the correct API to decrease stocks. Thanks. Link to comment
brandon Posted August 28, 2019 Share Posted August 28, 2019 Are you getting a response back from your API request? If so, what is the response? If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' (top-left) Link to comment
Sapta-TS Posted August 28, 2019 Author Share Posted August 28, 2019 Thank you so much. We troubleshoot and found that we are missing the VARIANTID. So the question now is now how do we get the VARIANTID of a product? Link to comment
Sapta-TS Posted August 28, 2019 Author Share Posted August 28, 2019 Thank you so much. We troubleshoot and found that we are missing the VARIANTID. So the question now is now how do we get the VARIANTID of a product? Link to comment
brandon Posted August 28, 2019 Share Posted August 28, 2019 See answer here: https://answers.squarespace.com/questions/284397/getting-varaintid.html If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' (top-left) Link to comment
paul2009 Posted August 28, 2019 Share Posted August 28, 2019 Whilst viewing the Product Detail page, view the code behind the variants drop-down. You'll see the IDs listed in 'data-variants'. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.