All things Shopify and commerce
Hello everyone, I am currently having trouble calling the Remove product from collect/collection. I noticed that there is a missing property product id.
Is there a way to call the API differently ?
Thanks in advance.
The collect is actually the relationship specifically between the product and the custom collection. So by the time you have a collect_id, you already have within that the specific product_id in question.
What you probably need to do is get the collect_id by querying the list of collects for the given product_id and collection_id:
https://shopify.dev/docs/api/admin-rest/2023-04/resources/collect#get-collects
Thanks.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024