> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# brandKitUpdate

> Change the store's brand kit. Only the fields you supply change; leave a field out to keep it. A button or input style is replaced whole. The change is audited as an API edit, as in the app. Returns the brand kit after the change. Fails with BAD_USER_INPUT (400), and saves nothing, for a value the Brand kit page would refuse or for a null, which only `logoUrl`, `faviconUrl` and a style's `backgroundColor` accept.

**Required scopes:** [`account_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-account_write)

## Arguments

**input** `[BrandKitUpdateInput!](/docs/api-reference/v3/reference/account/brand-kit-update-input)` *required*

The brand kit values to change.

**fields**

**buttons** `[BrandKitButtonsInput](/docs/api-reference/v3/reference/account/brand-kit-buttons-input)`

The button styles to change. Not null.

**fields**

**primary** `[BrandKitButtonStyleInput](/docs/api-reference/v3/reference/account/brand-kit-button-style-input)`

The main call to action. Not null.

**secondary** `[BrandKitButtonStyleInput](/docs/api-reference/v3/reference/account/brand-kit-button-style-input)`

A supporting action. Not null.

**tertiary** `[BrandKitButtonStyleInput](/docs/api-reference/v3/reference/account/brand-kit-button-style-input)`

The least prominent action. Not null.

**colors** `[BrandKitColorsInput](/docs/api-reference/v3/reference/account/brand-kit-colors-input)`

The colors to change. Not null.

**fields**

**accent** `String`

The accent color, as a hex color like #1a2b3c. Not null.

**background** `String`

The background color, as a hex color like #1a2b3c. Not null.

**faviconUrl** `String`

The store's favicon as an https URL. Null removes it.

**fonts** `[BrandKitFontsInput](/docs/api-reference/v3/reference/account/brand-kit-fonts-input)`

The font families to change. Not null.

**fields**

**bodyFontFamily** `String`

The font family of body text. Not null.

**headerFontFamily** `String`

The font family of headings. Not null.

**inputStyle** `[BrandKitInputStyleInput](/docs/api-reference/v3/reference/account/brand-kit-input-style-input)`

The form input style to replace. Not null.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Left out or null, the element has no fill.

**border** `[BrandKitBorderInput!](/docs/api-reference/v3/reference/account/brand-kit-border-input)` *required*

The element's edge.

**errorColor** `String!` *required*

The color of an input's error state, as a hex color.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels, at least 0.

**textColor** `String!` *required*

The text color, as a hex color.

**logoUrl** `String`

The store's logo as an https URL. Null removes it.

## Returns

**brandKitUpdate** `[BrandKit!](/docs/api-reference/v3/reference/account/brand-kit)` *required*

How the store's brand looks on the emails, portals and pages Redo sends in its name. These are the settings on the merchant app's Brand kit page, except the SMS contact card, social links, customer-facing domain and custom font files, which are edited there only.

**fields**

**buttons** `[BrandKitButtons!](/docs/api-reference/v3/reference/account/brand-kit-buttons)` *required*

The button styles.

**fields**

**primary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The main call to action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**secondary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

A supporting action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**tertiary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The least prominent action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**colors** `[BrandKitColors!](/docs/api-reference/v3/reference/account/brand-kit-colors)` *required*

The brand's colors.

**fields**

**accent** `String!` *required*

The accent color, as a hex color.

**background** `String!` *required*

The background color, as a hex color.

**faviconUrl** `String`

The store's favicon. Null when none is set.

**fonts** `[BrandKitFonts!](/docs/api-reference/v3/reference/account/brand-kit-fonts)` *required*

The brand's font families.

**fields**

**bodyFontFamily** `String!` *required*

The font family of body text.

**headerFontFamily** `String!` *required*

The font family of headings.

**inputStyle** `[BrandKitInputStyle!](/docs/api-reference/v3/reference/account/brand-kit-input-style)` *required*

The form input style.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fields**

**cornerRadiusPx** `Float!` *required*

How rounded the corners are, in pixels.

**stroke** `[BrandKitBorderStroke!](/docs/api-reference/v3/reference/account/brand-kit-border-stroke)` *required*

The outline.

**errorColor** `String!` *required*

The color of an input's error state, as a hex color.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**logoUrl** `String`

The store's logo. Null when none is set.

## Example

```graphql theme={null}
mutation {
  brandKitUpdate(input: { ... }) {
    faviconUrl
    logoUrl
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.