Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

addCustomMetadata():AddCustomMetadata

Add CustomMetadata values to a supported parent (Asset | WorkspaceProject). 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 AddCustomMetadataInput
parentIds: [ID!]!

Set of parent Ids to which CustomMetadata should be added.

customMetadata: [CustomMetadataInput!]!

CustomMetadata property and respective values to add to the given set of parents.

Fields of AddCustomMetadata
parentIds:[ID!]!

List of the parent Ids where the new CustomMetadata values were added.