Skip to main content
object

A group of products and collections that are published to an app.

Each publication manages which products and collections display on its associated Channel. Merchants can automatically publish products when they're created if autoPublish is enabled, or manually control publication through publication records.

Publications support scheduled publishing through future publish dates for online store channels, allowing merchants to coordinate product launches and promotional campaigns. The catalog field links to pricing and availability rules specific to that publication's context.

•Boolean!
non-null

Whether new products are automatically published to this publication.

•Catalog

The catalog associated with the publication.

Anchor to collectionPublicationsV3collectionPublicationsV3
•ResourcePublicationConnection!
non-null

The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel).

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•CollectionConnection!
non-null

The list of collections published to the publication.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•Boolean!
non-null

Whether the collection is available to the publication.

Arguments

•ID!
required

Collection ID to check.


•ID!
non-null

A globally-unique ID.

•ProductConnection!
non-null

The list of products included, but not necessarily published, in the publication.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•PublicationOperation

A background operation associated with this publication.

Anchor to productPublicationsV3productPublicationsV3
•ResourcePublicationConnection!
non-null

The product publications for the list of products published to the publication.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•ProductConnection!
non-null

The list of products published to the publication.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


Anchor to supportsFuturePublishingsupportsFuturePublishing
•Boolean!
non-null

Whether the publication supports future publishing.

Deprecated fields

•App!
non-nullDeprecated
•String!
non-nullDeprecated

Was this section helpful?

•query

Retrieves a Publication by ID.

Returns null if the publication doesn't exist.

Arguments

•ID!
required

The ID of the Publication to return.


•query

Returns a paginated list of Publication.

Filter publications by CatalogType.

Arguments

•CatalogType

Filter publications by catalog type.

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?

•mutation

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

When to create a publication

Publications are optional for catalogs. Only create a publication if you need to control which products are visible in a specific catalog context. When a publication isn't associated with a catalog, product availability is determined by the sales channel.

Create a publication if you need to:

  • Restrict product visibility to a subset of your inventory for a specific market or company location
  • Publish different product selections to different contexts

Do NOT create a publication if:

  • You want product availability determined by the sales channel
  • You only need custom pricing (use a price list on the catalog instead)

Configuration options

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.

Arguments

•PublicationCreateInput!
required

The input fields to use when creating the publication.


•mutation

Updates a Publication.

You can add or remove products from the publication, with a maximum of 50 items per operation. The autoPublish field determines whether new products automatically display in this publication.

Arguments

•ID!
required

The ID of the publication to update.

•PublicationUpdateInput!
required

The input fields to use when updating the publication.



Was this section helpful?

•interface

Was this section helpful?