Jump to content

API to decrease stock of a product from inventory?

Recommended Posts

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
  • Replies 5
  • Created
  • Last Reply

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

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Archived

This topic is now archived and is closed to further replies.

Ă—
Ă—
  • 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.