【发布时间】:2015-12-19 00:54:44
【问题描述】:
我正在尝试使用 Shopify API 从集合中删除产品。
在文档 (https://docs.shopify.com/api/collect) 概述中说:
DELETE /admin/collects/#{id}.json
Remove a Collect from the database
当您跳转到描述时,它会说:
Remove a product from a collection
Destroy the link between a product an a collection
DELETE /admin/collects/#{id}.json
那么我可以使用它从集合中删除产品或从数据库中删除集合吗?
如果可以从集合中删除产品 - 我想要做什么 - 我应该传递集合 ID 还是产品 ID - 实际上我认为我必须同时通过两者,否则它将如何工作?
感谢您的帮助!
【问题讨论】: