Skip to main content
mutation

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

Publishes a resource, such as a Product or Collection, to one or more publications.

For products to be visible in a channel, they must have an active ProductStatus. Products sold exclusively on subscription (requiresSellingPlan: true) can only be published to online stores.

You can schedule future publication by providing a publish date. Only online store channels support scheduled publishing.

•ID!
required

The resource to create or update publications for.

•[PublicationInput!]!
required

Specifies the input fields required to publish a resource.


Was this section helpful?

Anchor to PublishablePublishPayload returnsPublishablePublishPayload returns

•Publishable

Resource that has been published.

•Shop!
non-null

The user's shop.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?