Jump to content

Assigning categories to products using APIs.

Go to solution Solved by paul2009,

Recommended Posts

Posted

Site URL: http://thirstydice.com

Hi,

I posted this in the wrong forum earlier and it was deleted, so I respectfully request to ask this again (this time hopefully in the correct plact):

 

How can I use the API to assign products to a category? I have/will have hundreds of items uploaded/removed at various times but I can only see how to assign tags using either the Products API or the Inventory API.

Categories are crucial to any online store, and I would argue that if the API is to be useful at all then it should allow category assignations like it does tags. I'm perfectly fine with adding categories before or after, but the ability to associate them with a product is pretty important.

Am I missing something here?

 

 

  • Replies 4
  • Views 659
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted
25 minutes ago, bobby215 said:

How can I use the API to assign products to a category?

This isn't possible using an API. The Products API does not allow store categories to be managed. 

 

 

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.

Posted

Thanks for the confirmation. 😕

Sadly, this makes a product API mostly useless since it can't control the most basic means of sorting products in a Squarespace store. 

  • 2 months later...
Posted (edited)

Is there any way to read the categories assigned to a product through the API, even if writing is not supported?

 

And if not, is there a way to request this feature be added?

Edited by dd01
Posted (edited)
8 minutes ago, dd01 said:

Is there any way to read the categories assigned to a product through the API?

You can read tags but not categories. 

To make a feature request, please contact Squarespace Customer Care using a support ticket. 

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

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.

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.