customerStorefrontChrome
Requires a customer (portal or buyer app) session.
This store's LIVE storefront theme's look and phone chrome as the buyer app reads them (never the draft): the theme's colours, fonts, text size and corners, and the seller's bottom bar, tab-page headings and logo placement.
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 CustomerStorefrontChrome {
customerStorefrontChrome {
app
liveVersion
theme
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerStorefrontChrome {\n customerStorefrontChrome {\n app\n liveVersion\n theme\n }\n}"
}
EOF
Response:
{
"data": {
"customerStorefrontChrome": {
"app": {},
"liveVersion": 0,
"theme": {}
}
}
}
customerStorefrontChrome: StorefrontAppChrome!
Type
StorefrontAppChrome object
The LIVE storefront theme's look and phone chrome as the buyer app reads them (never the draft; the basic default theme's when nothing is published): its colours, fonts, text size and corners, and the bottom bar, tab-page headings and logo placement the seller set.