Anchor to section titled 'undefined'

collectionRemoveProducts
mutation

Requires write_products access scope. Also: The user must have a permission to remove products from a collection.

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. For use with manual collections only.


Anchor to id
id
required

The ID of the collection to remove products from. The ID must reference an existing manual collection.

Anchor to productIds
productIds
required

The IDs of products to remove from the collection. The mutation doesn't validate that the products belong to the collection or whether the products exist.


Was this section helpful?

The asynchronous job removing the products.

The list of errors that occurred from executing the mutation.


Was this section helpful?