Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

setCustomMetadata():SetCustomMetadata
Beta

BETA Set CustomMetadataProperty values to any supported parent (WorkspaceProject | Asset). Attention: Existing CustomMetadataProperty values for the selected parents will be overwritten and/or removed. Requires basic:write scope to be accessible and permission level EDIT for the respective parent.

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 SetCustomMetadataInput
parentIds: [ID!]!

List of parentIds where CustomMetadata should be set.

customMetadata: [CustomMetadataInput!]!

CustomMetadata to be set to the list of parentIds.

Fields of SetCustomMetadata
parentIds:[ID!]!

List of parentIds with newly CustomMetadata values set.