更新时间:2023-10-25 19:12:46
收集是一个产品和集合之间的许多一对多的关系连接表。它有自己的ID。从集合中删除产品,你只是删除加入,所以你只需要使用收集ID而不是产品ID或集合ID。
Collect is the join table for a many-to-many relationship between a product and a collection. It has its own id. To remove the product from a collection you are just removing the join so you only have to use the collect id not the product id or the collection id.
如果您有产品ID和集合ID就可以得到通过收集ID:
If you have the product id and the collection id you can get the collect id via:
GET /admin/collects.json?product_id=1925263361&collectionid=29722105