Skip to main content

Branding Themes

A branding theme is a named colour palette — and optional logos and font — you attach to a product's checkout styles. Attach it with branding_theme_id on Update Product Styles.

The list contains themes you created for this store. Built-in dashboard palettes are not included and cannot be addressed by UUID.

Overview

Themes are not nested on Get store. Storefront theme_id is a different field and does not apply this palette.

Default

At most one theme per store has is_default: true. Setting is_default to true on create or update clears the previous default. Setting it to false, or deleting the current default, is allowed — a store may have no default. Nothing is promoted automatically.

Colours

Theme colour fields accept null or # plus exactly 6 hex digits (#aabbcc). Values are stored and returned lowercase. transparent and 3-digit hex (#abc) return 422. This is stricter than product style colours.

The six colour fields are brand_color, background_color, text_color, card_background_color, card_text_color, and border_color. A theme has no main_background_color, main_border_color, price_text_color, or shadow tokens.

Attaching to a product

Send branding_theme_id on live or draft Update Product Styles. Attach copies a colour or logo onto the product only when the theme value is non-null — the product's existing colour or logo stays when the theme field is null. See Checkout appearance.

Delete

Delete removes the theme from the public list. Products that pointed at it keep their copied colour tokens; their styles branding_theme_id is cleared. The same id cannot be reused.

Branding Theme Object

FieldTypeNullableDescription
idstringNoServer-minted UUID.
namestringNoLabel, 1–255 characters.
is_defaultbooleanNoAt most one per store. See Default.
fontstringYesFont name, max 255.
logo_urlstringYesLogo URL.
logo_square_urlstringYesSquare logo URL.
brand_colorstringYesHex colour. See Colours.
background_colorstringYesHex colour. Copied onto product background_color on attach.
text_colorstringYesHex colour.
card_background_colorstringYesHex colour.
card_text_colorstringYesHex colour.
border_colorstringYesHex colour.