I'm trying to use the Shopify API to remove products from a collection.
In the docs (https://docs.shopify.com/api/collect) overview it says:
DELETE /admin/collects/#{id}.json
Remove a Collect from the database
While when you jump to the description it says:
Remove a product from a collection
Destroy the link between a product an a collection
DELETE /admin/collects/#{id}.json
So can I use this to remove a product form a collection or remove a collection from the DB?
And if it's possible to remove a product from a collection - what I want to do - shall I pass the collection ID or the product ID - actually I think I have to pass both, or how shall it work otherwise?
Thanks for your help!