publication
Retrieves a Publication by .
Returns null if the publication doesn't exist.
Arguments
- id (ID!)
- •ID!required
The ID of the Publication to return.
Anchor to Possible returnsPossible returns
- Publication (Publication)
- Anchor to PublicationPublication•Publication
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 ifis 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
catalogfield links to pricing and availability rules specific to that publication's context.- Anchor to autoPublishauto•Boolean!
Publish non-null Whether new products are automatically published to this publication.
- Anchor to catalogcatalog•Catalog
The catalog associated with the publication.
- Anchor to collectionPublicationsV3collection•Resource
Publications V3 Publication Connection! non-null The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel).
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to collectionscollections•Collection
Connection! non-null The list of collections published to the publication.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to hasCollectionhas•Boolean!
Collection non-null Whether the collection is available to the publication.
- •ID!required
Collection ID to check.
Arguments
- •ID!
- •ID!non-null
A globally-unique ID.
- Anchor to includedProductsincluded•Product
Products Connection! non-null The list of products included, but not necessarily published, in the publication.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to operationoperation•Publication
Operation A background operation associated with this publication.
- Anchor to productPublicationsV3product•Resource
Publications V3 Publication Connection! non-null The product publications for the list of products published to the publication.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to productsproducts•Product
Connection! non-null The list of products published to the publication.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to supportsFuturePublishingsupports•Boolean!
Future Publishing non-null Whether the publication supports future publishing.
- •App!non-nullDeprecated
- Anchor to namename•String!non-nullDeprecated