Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

updateBrandEssentialsColorBlockColorRepresentation():UpdateBrandEssentialsColorBlockColorRepresentation
Beta

Adds or replaces a representation of a custom BrandEssentialsColorBlockColor. Requires basic:write scope to be accessible and Project permission level EDIT.

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 UpdateBrandEssentialsColorBlockColorRepresentationInput
colorId: ID!
Beta

The block color to update. Colors linked to a brand essentials color cannot be updated.

The key of the representation to store. The HEX representation is derived from RGBA and cannot be set.

The value to store. It replaces the representation with the same key, or is added when the color has no representation with that key yet. Its color space must match the key.

Fields of UpdateBrandEssentialsColorBlockColorRepresentation
brandEssentialsColorBlock:BrandEssentialsColorBlock!
Beta

The brand essentials color block after updating the color representation.