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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. 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, 2023 Share 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 Link to comment
paul2009 Posted January 6, 2023 Share 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 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. 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