theme
Requires access scope.
Returns an by its ID. Use this query to retrieve theme metadata and access the theme's files, which include templates, assets, translations, and configuration files.
Anchor to Possible returnsPossible returns
- OnlineStoreTheme (OnlineStoreTheme)
- Anchor to OnlineStoreThemeOnline•Online
Store Theme Store Theme A theme for display on the storefront. Themes control the visual appearance and functionality of the online store through templates, stylesheets, and assets that determine how products, collections, and other content display to customers.
Each theme has a role that indicates its status. Main themes are live on the storefront, unpublished themes are inactive, demo themes require purchase before publishing, and development themes are temporary for previewing during development. The theme includes translations for multi-language support.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the theme was created.
- Anchor to filesfiles•Online
Store Theme File Connection The files in the theme.
- Anchor to filenamesfilenames•[String!]
The filenames of the theme files. At most 50 filenames can be specified. Use '*' to match zero or more characters.
- Anchor to firstfirst•IntDefault:50
Returns at most the first n files for this theme. Fewer than n files may be returned to stay within the payload size limit, or when the end of the list is reached. At most 2500 can be fetched at once.
- Anchor to afterafter•String
A cursor for use in pagination.
Arguments
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the theme, set by the merchant.
- Anchor to prefixprefix•String!non-null
The prefix of the theme.
- Anchor to processingprocessing•Boolean!non-null
Whether the theme is processing.
- Anchor to processingFailedprocessing•Boolean!
Failed non-null Whether the theme processing failed.
- Anchor to rolerole•Theme
Role! non-null The role of the theme.
- Anchor to themeStoreIdtheme•Int
Store Id The theme store ID.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to localelocale•String!required
Filters translations locale.
- Anchor to marketIdmarket•ID
Id Filters translations by market ID. Use this argument to retrieve content specific to a market.
Arguments
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the theme was last updated.