Skip to main content

storefrontTheme

Requires permission storefront:storefront:read.

The organization's storefront theme: its saved draft and the version buyers see.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query StorefrontTheme {
storefrontTheme {
draft
liveDraftUpdatedAt
updatedAt
liveVersion {
id
number
publishedByName
publishedAt
}
}
}

Response:

{
"data": {
"storefrontTheme": {
"draft": {},
"liveDraftUpdatedAt": "string",
"updatedAt": "2025-01-15T00:00:00Z",
"liveVersion": {
"id": "id",
"number": 0,
"publishedByName": "string",
"publishedAt": "2025-01-15T00:00:00Z"
}
}
}
}
storefrontTheme: StorefrontThemeState!

Type​

StorefrontThemeState object​

The organization's storefront theme: its saved draft and the version buyers see.