selfServiceDesignUpdate Mutation

Updates the Prepared Version of the Self Service design of the current account, and activates it when activate is true. The first update creates the design.

Input Argument

selfServiceDesignUpdate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

accentColorDark (String)

Sets the accent color in dark mode of the Prepared Version.

accentColorLight (String)

Sets the accent color in light mode of the Prepared Version.

accessibilityColorDark (String)

Sets the accessibility color in dark mode of the Prepared Version.

accessibilityColorLight (String)

Sets the accessibility color in light mode of the Prepared Version.

activate (Boolean)

Set to true to promote the Prepared Version to the Active Version. If there was an Active Version, it will be Archived.

backgroundDark (String)

Sets the background color in dark mode of the Prepared Version.

backgroundLight (String)

Sets the background color in light mode of the Prepared Version.

buttonColorDark (String)

Sets the button color in dark mode of the Prepared Version.

buttonColorLight (String)

Sets the button color in light mode of the Prepared Version.

buttonTextColorDark (String)

Sets the button text color in dark mode of the Prepared Version.

buttonTextColorLight (String)

Sets the button text color in light mode of the Prepared Version.

clientMutationId (String)

A unique identifier for the client performing the mutation.

css (String)

Sets the CSS stylesheet of the Prepared Version.

font (String)

Sets the font family of the Prepared Version.

fonts (String)

Sets the CSS that loads the fonts of the Prepared Version, such as @font-face rules.

html (String)

Sets the HTML of the Prepared Version. This is a Liquid template that must contain the <self-service-header> and <self-service-homepage> top-level elements.

showSupportChat (Boolean)

Sets whether the Prepared Version shows the support chat.

supportChatDisclaimerCustom (Boolean)

Set to true to show supportChatDisclaimerMessage as the disclaimer, instead of the default disclaimer.

supportChatDisclaimerMessage (String)

Sets the custom disclaimer of the support chat of the Prepared Version, at most 180 characters. It is required when both supportChatShowDisclaimer and supportChatDisclaimerCustom are true.

supportChatShowDisclaimer (Boolean)

Sets whether the support chat of the Prepared Version shows a disclaimer below its message field.

supportChatTitle (String)

Sets the title of the support chat of the Prepared Version.

supportChatWelcomeMessage (String)

Sets the welcome message of the support chat of the Prepared Version. {{first_name}} is replaced by the first name of the person who opens the chat, and {{last_name}} by their last name.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

selfServiceDesign (SelfServiceDesign)

Record after mutation.