Publication

A publication is a group of products and collections that is published to an app. A publication can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.

Show definition

# A publication is a group of products and collections that is published to an

app. A publication can be a platform or marketplace such

as Facebook or Pinterest, an online store, or POS.

type Publication implements Node { # The app associated with the publication. app: App!

# The collection publications for the list of collections published to the publication. collectionPublicationsV3( # Returns the elements that come after the specified cursor. after: String

# Returns the elements that come before the specified cursor. before: String

# Returns up to the first n elements from the list. first: Int

# Returns up to the last n elements from the list. last: Int

# Reverse the order of the underlying list. reverse: Boolean = false ): ResourcePublicationConnection!

# The list of collections published to the publication. collections( # Returns the elements that come after the specified cursor. after: String

# Returns the elements that come before the specified cursor. before: String

# Returns up to the first n elements from the list. first: Int

# Returns up to the last n elements from the list. last: Int

# Reverse the order of the underlying list. reverse: Boolean = false ): CollectionConnection!

# Whether the collection is available to the publication. hasCollection( # Collection ID to check. id: ID! ): Boolean!

# Globally unique identifier. id: ID!

# Name of the publication. name: String!

# The product publications for the list of products published to the publication. productPublicationsV3( # Returns the elements that come after the specified cursor. after: String

# Returns the elements that come before the specified cursor. before: String

# Returns up to the first n elements from the list. first: Int

# Returns up to the last n elements from the list. last: Int

# Reverse the order of the underlying list. reverse: Boolean = false ): ResourcePublicationConnection!

# The list of products published to the publication. products( # Returns the elements that come after the specified cursor. after: String

# Returns the elements that come before the specified cursor. before: String

# Returns up to the first n elements from the list. first: Int

# Returns up to the last n elements from the list. last: Int

# Reverse the order of the underlying list. reverse: Boolean = false ): ProductConnection!

# Whether or not this publication supports future publishing. supportsFuturePublishing: Boolean! }

Implements

Connections

collectionPublicationsV3   (ResourcePublicationConnection!)

The collection publications for the list of collections published to the publication.

Argument Type Default Description
after

String

Returns the elements that come after the specified cursor.

before

String

Returns the elements that come before the specified cursor.

first

Int

Returns up to the first n elements from the list.

last

Int

Returns up to the last n elements from the list.

reverse

Boolean

false

Reverse the order of the underlying list.

collections   (CollectionConnection!)

The list of collections published to the publication.

Argument Type Default Description
after

String

Returns the elements that come after the specified cursor.

before

String

Returns the elements that come before the specified cursor.

first

Int

Returns up to the first n elements from the list.

last

Int

Returns up to the last n elements from the list.

reverse

Boolean

false

Reverse the order of the underlying list.

productPublicationsV3   (ResourcePublicationConnection!)

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

Argument Type Default Description
after

String

Returns the elements that come after the specified cursor.

before

String

Returns the elements that come before the specified cursor.

first

Int

Returns up to the first n elements from the list.

last

Int

Returns up to the last n elements from the list.

reverse

Boolean

false

Reverse the order of the underlying list.

products   (ProductConnection!)

The list of products published to the publication.

Argument Type Default Description
after

String

Returns the elements that come after the specified cursor.

before

String

Returns the elements that come before the specified cursor.

first

Int

Returns up to the first n elements from the list.

last

Int

Returns up to the last n elements from the list.

reverse

Boolean

false

Reverse the order of the underlying list.

Fields

app   (App!)

The app associated with the publication.

hasCollection   (Boolean!)

Whether the collection is available to the publication.

Argument Type Default Description
id

required

ID!

Collection ID to check.

id   (ID!)

Globally unique identifier.

name   (String!)

Name of the publication.

supportsFuturePublishing   (Boolean!)

Whether or not this publication supports future publishing.

Sign up for a Partner account to get started.

Sign up