Skip to main content
mutation

Requires write_publications access scope. Also: The user must have a permission to unpublish a collection.

Deprecated. Use publishableUnpublish instead.

Unpublishes a collection.

CollectionUnpublishInput!required

Specify a collection to unpublish and the sales channels to remove it from.


Was this section helpful?

Anchor to CollectionUnpublishPayload returnsCollectionUnpublishPayload returns

Collection

The collection that has been unpublished.

Shop!non-null

The shop associated with the collection.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?