stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Mutation > collectionRemoveProducts

AdminTypes.Mutation.collectionRemoveProducts property

Removes a set of products from a given collection. The mutation can take a long time to run. Instead of returning an updated collection the mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). For use with manual collections only.

Signature:

collectionRemoveProducts?: Maybe<CollectionRemoveProductsPayload>;