Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

addAssetMetadataFieldValue():AddAssetMetadataFieldValue
Deprecated

DEPRECATED Add a new relation between an existing Asset and an existing MetadataField with its value. The value will be automatically created and linked to its MetadataField. Requires basic:write scope to be accessible and Asset permission level EDIT. This field will be removed. Use addCustomMetadata instead. | Date: 2025-01-01T00:00:00.000+00:00

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 AddAssetMetadataFieldValueInput
assetId: ID!

Asset Id.

metadataFieldId: ID!

Metadata field Id.

value: String!

Value to be assigned to Asset and Metadata Field.

Fields of AddAssetMetadataFieldValue
id:ID!

MetadataValue Id.

creator:User!

User who created the MetadataValue.

createdAt:DateTime!

DateTime of the MetadataValue creation.

modifier:User

User who last modified the MetadataValue.

modifiedAt:DateTime

DateTime of the MetadataValue last modification.

metadataField:MetadataField!

MetadataField related to the MetadataValue.

value:String!

MetadataValue value.