Update color settings with Checkout and Accounts Configuration API
Checkout styling customizations are available only to Shopify Plus merchants.
Checkout styling customizations are available only to Shopify Plus merchants.
This guide shows how to manage colors through the Checkout and Accounts Configuration API. Instead of color schemes, the API uses a flat color palette in branding.designTokens.colors and direct color role assignments at the component and per-surface level.
For an introduction to the API, see About the Checkout and Accounts Configuration API. For the equivalent guide using checkoutBrandingUpsert, see Update color settings.
Anchor to RequirementsRequirements
- You're authenticated with the GraphQL Admin API.
- Your app has access to the
read_checkout_and_accounts_configurationsandwrite_checkout_and_accounts_configurationsaccess scopes. - You have a Checkout and Accounts Configuration ID. To learn how to retrieve one, see About the Checkout and Accounts Configuration API.
Anchor to Set the color paletteSet the color palette
The palette accepts up to 20 named colors in designTokens.colors.palette:
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL mutation
Query variables
Instead of global brand or accent colors, use components.shared.colors for semantic color roles:
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL mutation
Query variables
Anchor to Apply colors to specific surfacesApply colors to specific surfaces
Set colors directly on each surface's components (for example, the checkout header, main section, order summary, and footer):
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL mutation
Query variables
Anchor to Set colors on Customer Accounts and Sign-In surfacesSet colors on Customer Accounts and Sign-In surfaces
The API enables independent color customization for customer accounts and sign-in, capabilities not available with the Checkout Branding API:
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL mutation
Query variables
Anchor to Differences from the Checkout Branding APIDifferences from the Checkout Branding API
| Checkout Branding API | Checkout and Accounts Configuration API |
|---|---|
designSystem.colors.global (brand, accent) | branding.components.shared.colors (accent, button, control, etc.) |
designSystem.colors.schemes (scheme1–3) | branding.surfaces.*.components.*.colors (direct per-surface color roles) |
Color schemes applied via customizations.*.colorScheme | Colors set directly on each surface's components |
| Same colors across all surfaces | Independent colors per surface (checkout, customer accounts, sign-in) |
designSystem.colors.schemes.scheme1.base.background | branding.surfaces.checkout.components.main.colors.base.background |
| N/A | branding.designTokens.colors.palette — a flat palette of up to 20 hex colors |
Anchor to Next stepsNext steps
- Explore the GraphQL Admin API to learn more about customizing colors across checkout, customer accounts, and sign-in.