bobby215 Posted October 10, 2022 Share Posted October 10, 2022 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? Link to comment
Solution paul2009 Posted October 10, 2022 Solution Share Posted October 10, 2022 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. 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
bobby215 Posted October 11, 2022 Author Share Posted October 11, 2022 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. Link to comment
dd01 Posted January 6 Share Posted January 6 (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 January 6 by dd01 Link to comment
paul2009 Posted January 6 Share Posted January 6 (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 January 6 by paul2009 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment