title: Shopify: Remove product from collection via API call
body: <p>I'm trying to use the Shopify API to remove products from a collection.</p>
  
  <p>In the docs (<a href="https://docs.shopify.com/api/collect" rel="nofollow">https://docs.shopify.com/api/collect</a>) overview it says: </p>
  
  <pre><code>DELETE /admin/collects/#{id}.json
  Remove a Collect from the database
  </code></pre>
  
  <p>While when you jump to the description it says: </p>
  
  <pre><code>Remove a product from a collection
  Destroy the link between a product an a collection
  DELETE /admin/collects/#{id}.json
  </code></pre>
  
  <p>So can I use this to remove a product form a collection or remove a collection from the DB?</p>
  
  <p>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?</p>
  
  <p>Thanks for your help!</p>