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.

Show input fields

Was this section helpful?

Anchor to CollectionUnpublishPayload returnsCollectionUnpublishPayload returns

•Collection

The collection that has been unpublished.

Show fields
•Shop!
non-null

The shop associated with the collection.

Show fields
•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?