> ## 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.

# helpCenterThemeUpdate

> Change how the store's help center looks. Fields you omit keep what shoppers see now, and the whole theme is then saved, as the dashboard's theme editor saves it. Returns the theme after the change.

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

## Arguments

**input** `[HelpCenterThemeInput!](/docs/api-reference/v3/reference/support/help-center-theme-input)` *required*

**fields**

**actionButtons** `[\[HelpCenterActionButtonInput!\]](/docs/api-reference/v3/reference/support/help-center-action-button-input)`

The home page's buttons, in order. Replaces the list. At most 20; otherwise BAD\_USER\_INPUT.

**fields**

**enabled** `Boolean!` *required*

**iconName** `String`

Omit for the built-in icon.

**id** `String`

Identifies a CUSTOM button among several.

**label** `String`

The button's text. Omit for the built-in label; a CUSTOM button needs one, otherwise BAD\_USER\_INPUT.

**type** `[HelpCenterActionButtonType!](/docs/api-reference/v3/reference/support/help-center-action-button-type)` *required*

**url** `String`

Where the button goes: an http, https, mailto or tel URL, or a path starting with /. Omit for the built-in destination; a CUSTOM button needs one, otherwise BAD\_USER\_INPUT.

**collectionBackgroundColor** `String`

**collectionBorderColor** `String`

**collectionCornerRadius** `Float`

**customCss** `String`

Custom CSS for the help center: at most 100,000 characters, with balanced braces; otherwise BAD\_USER\_INPUT. An empty string removes it.

**displayCollectionIcon** `Boolean`

**displayCollectionSubtext** `Boolean`

**headingSectionPadding** `[HelpCenterPaddingInput](/docs/api-reference/v3/reference/support/help-center-padding-input)`

**fields**

**betweenElements** `Float`

**bottom** `Float`

**left** `Float`

**right** `Float`

**top** `Float`

**headlineText** `String`

**headlineTextColor** `String`

**homeBackgroundImageUrl** `String`

An empty string removes the background image.

**navigationDescription** `String`

**navigationTitle** `String`

**overlayColor** `String`

**overlayOpacity** `Float`

**pageBackgroundColor** `String`

**selectedItemOverlayColor** `String`

**showArticleCount** `Boolean`

**showArticleCountInSidebar** `Boolean`

**showArticleDescription** `Boolean`

**useBrandKitPageBackground** `Boolean`

## Returns

**helpCenterThemeUpdate** `[HelpCenterTheme!](/docs/api-reference/v3/reference/support/help-center-theme)` *required*

How the store's help center looks. A field the store hasn't set reads as the default shoppers see. Colors are CSS colors such as #ffffff.

**fields**

**actionButtons** `[\[HelpCenterActionButton!\]!](/docs/api-reference/v3/reference/support/help-center-action-button)` *required*

The buttons on the home page, in order.

**fields**

**enabled** `Boolean!` *required*

Whether shoppers see the button.

**iconName** `String`

The icon shown on the button. Null means the built-in icon.

**id** `String`

Identifies a CUSTOM button among several. Null for built-in buttons.

**label** `String`

The button's text. Null means the built-in label; a CUSTOM button always has one.

**type** `[HelpCenterActionButtonType!](/docs/api-reference/v3/reference/support/help-center-action-button-type)` *required*

What the button does.

**url** `String`

Where the button goes. Null means the built-in destination; a CUSTOM button always has one.

**collectionBackgroundColor** `String!` *required*

The collection cards' background.

**collectionBorderColor** `String!` *required*

The collection cards' border.

**collectionCornerRadius** `Float!` *required*

The collection cards' corner radius, in pixels.

**customCss** `String!` *required*

Custom CSS the store applies to its help center. Empty when none is set.

**displayCollectionIcon** `Boolean!` *required*

Whether collection cards show an icon.

**displayCollectionSubtext** `Boolean!` *required*

Whether collection cards show their description.

**headingSectionPadding** `[HelpCenterPadding!](/docs/api-reference/v3/reference/support/help-center-padding)` *required*

Space around the home page's heading section.

**fields**

**betweenElements** `Float!` *required*

Space between the heading's elements.

**bottom** `Float!` *required*

Space below.

**left** `Float!` *required*

Space to the left.

**right** `Float!` *required*

Space to the right.

**top** `Float!` *required*

Space above.

**headlineText** `String!` *required*

The home page's headline.

**headlineTextColor** `String!` *required*

The headline's color.

**homeBackgroundImageUrl** `String`

The home page's background image. Null when the store has none.

**navigationDescription** `String!` *required*

The text under that heading.

**navigationTitle** `String!` *required*

The heading over the list of collections.

**overlayColor** `String!` *required*

The color laid over the background image.

**overlayOpacity** `Float!` *required*

The overlay's opacity in percent, 0 to 100.

**pageBackgroundColor** `String!` *required*

The page background, unless `useBrandKitPageBackground` is true.

**selectedItemOverlayColor** `String!` *required*

The highlight on the selected collection in the sidebar.

**showArticleCount** `Boolean!` *required*

Whether collection cards show how many articles they hold.

**showArticleCountInSidebar** `Boolean!` *required*

Whether the sidebar shows each collection's article count.

**showArticleDescription** `Boolean!` *required*

Whether article lists show a preview of each article.

**useBrandKitPageBackground** `Boolean!` *required*

Whether the page background comes from the store's brand kit, when it has one, instead of `pageBackgroundColor`.

## Errors

Besides the [errors any request can return](https://developers.redo.com/docs/api-reference/v3/errors.md), this operation fails with these codes in `extensions.code`.

| Code | HTTP status | Meaning | Retry |
| - | - | - | - |
| `API_TOKEN_REQUIRED` | `403` | The credential has no API token to attribute the change to, such as a first-party token. Nothing was sent. | Call with a store API token. |
| `BAD_USER_INPUT` | `400` | An argument is invalid, or names something the store doesn't have. The message says which. Nothing was written. | Fix the input the message names, then send it again. |
| `INTERNAL_SERVER_ERROR` | `500` | Something failed on Redo's side. The change may or may not have been made. | Read the record to see whether the change was made before sending it again. A send with an idempotencyKey is safe to retry with the same key. |

## Example

```graphql theme={null}
mutation {
  helpCenterThemeUpdate(input: { ... }) {
    collectionBackgroundColor
    collectionBorderColor
    collectionCornerRadius
    customCss
    displayCollectionIcon
    displayCollectionSubtext
    headlineText
    headlineTextColor
    # ...
  }
}
```


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