Skip to main content
mutation

Requires write_publications access scope. Also: The user must have a permission to create and edit catalogs.

Creates a Publication that controls which Product and Collection customers can access through a Catalog.

You can create an empty publication and add products later, or prepopulate it with all existing products. The autoPublish field determines whether the publication automatically adds newly created products.

•PublicationCreateInput!
required

The input fields to use when creating the publication.


Was this section helpful?

Anchor to PublicationCreatePayload returnsPublicationCreatePayload returns

•Publication

The publication that's been created.

•[PublicationUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?