collectionUnpublish - admin-graphql - MUTATION
Version: unstable
Description:
Unpublishes a collection.
Access Scopes
`write_publications` access scope. Also: The user must have a permission to unpublish a collection.
Arguments
-
input:
CollectionUnpublishInput! -
Specify a collection to unpublish and the sales channels to remove it from.
Returns
-
collection:
Collection
The collection that has been unpublished.
-
shop:
Shop!
The shop associated with the collection.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples