Skip to main content
Anchor to OnlineStoreThemeConnection

OnlineStoreThemeConnection

connection

An auto-generated type for paginating through multiple OnlineStoreThemes.

Anchor to Queries with this connectionQueries with this connection

•query

Returns a paginated list of OnlineStoreTheme objects for the online store. Themes control the appearance and layout of the storefront.

You can filter themes by role to find specific theme types, such as MAIN for the published theme and UNPUBLISHED for draft themes.

Arguments

•[ThemeRole!]

The theme roles to filter by.

•[String!]

The theme names to filter by. Use '*' to match zero or more characters.

•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?

•[OnlineStoreThemeEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

•[OnlineStoreTheme!]!
non-null

A list of nodes that are contained in OnlineStoreThemeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?