Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

repositionBrandEssentialsColor():RepositionBrandEssentialsColor
Beta

Reposition a brand essentials color within its palette.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of RepositionBrandEssentialsColorInput
colorId: ID!
Beta

The Id of the color to reposition.

newPosition: Int!
Beta

The new position of the color within its palette (0-based).

Fields of RepositionBrandEssentialsColor
colorPalette:BrandEssentialsColorPalette!
Beta

The color palette with the repositioned color.