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