Skip to main content
mutation

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

Deprecated. Use publishablePublish instead.

Publishes a collection to a channel.

•CollectionPublishInput!
required

Specify a collection to publish and the sales channels to publish it to.

Show input fields

Was this section helpful?

Anchor to CollectionPublishPayload returnsCollectionPublishPayload returns

•Collection

The published collection.

Show fields
Anchor to collectionPublicationscollectionPublications
•[CollectionPublication!]

The channels where the collection has been published.

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?