storefrontThemeVersions
Requires permission storefront:storefront:read.
The storefront's published versions, newest first (the 50 most recent).
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:
- GraphQL
- cURL
query StorefrontThemeVersions {
storefrontThemeVersions {
id
number
publishedByName
publishedAt
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query StorefrontThemeVersions {\n storefrontThemeVersions {\n id\n number\n publishedByName\n publishedAt\n }\n}"
}
EOF
Response:
{
"data": {
"storefrontThemeVersions": [
{
"id": "id",
"number": 0,
"publishedByName": "string",
"publishedAt": "2025-01-15T00:00:00Z"
}
]
}
}
storefrontThemeVersions: [StorefrontThemeVersionSummary!]!
Type
StorefrontThemeVersionSummary object
A published version of the storefront theme. Immutable: rolling back points the store at an older one.