Skip to main content
Anchor to publishablePublishToCurrentChannel

publishablePublishToCurrentChannel

mutation

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

Publishes a resource to the current Channel associated with the requesting app. The system determines the current channel by the app's API client ID. Resources include Product and Collection objects that implement the Publishable interface.

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

ID!
required

The resource to create or update publications for.


Was this section helpful?

Anchor to PublishablePublishToCurrentChannelPayload returnsPublishablePublishToCurrentChannelPayload 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?