Hi Taylan,
It’s possible that it might be easier to use the collectionRemoveProducts mutation, which is part of the GraphQL API - however you’ll still need to provide product IDs. Would this work for you?
Removing all products from a custom (manual) collection via API and bulk updating its contents.
Note: Code snippets demonstrating the REST payload were central to identifying the limitation and the switch to GraphQL.
Hi Taylan,
It’s possible that it might be easier to use the collectionRemoveProducts mutation, which is part of the GraphQL API - however you’ll still need to provide product IDs. Would this work for you?