githubEdit

customFieldUpdate

Graphql fields and variables for the customFieldUpdate mutation

Update a custom field definition

Scope required: admin:write

For a complete list of input attributes see the CustomFieldAttributes type

mutation customFieldUpdate ($id: ID!, $attributes: CustomFieldAttributes!) {
  customFieldUpdate (id: $id, attributes: $attributes) {
      customField {
        createdAt
        fieldType
        formColumn
        graphqlFieldName
        id
        label
        name
        parentObject
        position
        required
        size
        updatedAt
      }
      errors
  }
}

Arguments

Name
Type
Description

id

ID

Response

Name
Type
Description

customField

errors

List (String)

Last updated

Was this helpful?