themes
Requires access scope.
Returns a paginated list of 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 for the published theme and for draft themes.
OnlineStoreThemeConnection arguments
- after (String)
- before (String)
- first (Int)
- last (Int)
- names ([String!])
- reverse (Boolean)
- roles ([ThemeRole!])
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to namesnames•[String!]
The theme names to filter by. Use '*' to match zero or more characters.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to rolesroles•[Theme
Role!] The theme roles to filter by.
Anchor to Possible returnsPossible returns
- edges ([OnlineStoreThemeEdge!]!)
- nodes ([OnlineStoreTheme!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Online
Store Theme Edge!]! non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.
- Anchor to nodesnodes•[Online
Store Theme!]! 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.
- Anchor to pageInfopage•Page
Info Info! non-null An object that’s used to retrieve cursor information about the current page.