About the 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.
The checkoutAndAccountsConfigurationUpdate mutation styles checkout, customer accounts, and sign-in through a single, unified API. This guide introduces the API's data structures, queries, and mutations, and maps them to their counterparts in the Checkout Branding API.
The Checkout Branding API (using checkoutBrandingUpsert) remains supported for checkout-only styling tied to a checkout profile. Use the Checkout and Accounts Configuration API when you want a single configuration to drive checkout, customer accounts, and sign-in.
The Checkout Branding API (using checkoutBrandingUpsert) remains supported for checkout-only styling tied to a checkout profile. Use the Checkout and Accounts Configuration API when you want a single configuration to drive checkout, customer accounts, and sign-in.
Anchor to Data structuresData structures
The Checkout and Accounts Configuration API's branding object is structured around three pillars:
-
designTokens: Sets global brand values including a color palette (up to 20 hex colors), typography (primary and secondary font groups, base size and ratio), and corner radius variables (small, base, large pixel values). Equivalent todesignSystemin the Checkout Branding API. -
components: Styles shared UI elements that apply across all surfaces: buttons, text fields, selects, checkboxes, form controls, header, footer, main area, heading levels, merchandise thumbnails, dividers, favicon, and shared overrides (semantic colors, global corner radius, typography). Equivalent tocustomizationsin the Checkout Branding API. -
surfaces: A new concept with no equivalent in the Checkout Branding API. Provides surface-specific component overrides for three distinct surfaces:- Checkout: the richest surface, with header (including cart link, sticky positioning), footer, main, buyer journey breadcrumbs, express checkout, order summary, and content container.
- Customer Accounts: header (with logo), footer, and main with section styling.
- Sign-In: the most minimal surface, with header (logo and padding only) and main (with background image support and full color role control).
The following example shows the API structure:
Branding configuration structure
Anchor to Retrieving a configurationRetrieving a configuration
Instead of checkout profiles, the Checkout and Accounts Configuration API uses configuration IDs. Use the checkoutAndAccountsConfigurations query to retrieve available configurations:
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL query
Anchor to Updating a configurationUpdating a configuration
Use the checkoutAndAccountsConfigurationUpdate mutation:
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
GraphQL mutation
Query variables
Anchor to Mapping from the Checkout Branding APIMapping from the Checkout Branding API
Checkout Branding API (checkoutBrandingUpsert) | Checkout and Accounts Configuration API (checkoutAndAccountsConfigurationUpdate) |
|---|---|
checkoutProfileId parameter | id parameter (configuration ID) |
designSystem.colors.global | branding.designTokens.colors.palette + branding.components.shared.colors |
designSystem.colors.schemes | branding.surfaces.*.components.*.colors (per-surface color roles) |
designSystem.typography | branding.designTokens.typography |
designSystem.cornerRadius | branding.designTokens.cornerRadius |
customizations.primaryButton | branding.components.primaryButton |
customizations.header | branding.components.header + branding.surfaces.checkout.components.header |
customizations.footer | branding.components.footer + branding.surfaces.checkout.components.footer |
customizations.main | branding.surfaces.checkout.components.main |
customizations.orderSummary | branding.surfaces.checkout.components.orderSummary |
customizations.favicon | branding.components.favicon |
customizations.control | branding.components.control |
| N/A | branding.surfaces.customerAccounts (new) |
| N/A | branding.surfaces.signIn (new) |
Anchor to Get startedGet started
Apply Checkout and Accounts Configuration styling with the following tutorials: