Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Sapta-TS

API to decrease stock of a product from inventory?

Question

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.

Edited by Paul2009

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

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' vote.jpg.c260784ece77aec852b0e3049c77a607.jpg (top-left)

Share this post


Link to post
  • 0

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?

Share this post


Link to post
  • 0

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?

Share this post


Link to post
  • 0

Whilst viewing the Product Detail page, view the code behind the variants drop-down. You'll see the IDs listed in 'data-variants'.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...