CreateCustomFieldInput
InputAutogenerated input type of CreateCustomField
mutation { organization(id: $organizationId) { createCustomField } }
Example
mutation CreateCustomField(
$organizationId: ID!
$input: CreateCustomFieldInput!
) {
organization(id: $organizationId) {
createCustomField(input: $input) {
customField
errors
}
}
}Fields
| Field | Type | Description |
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. |
| customFieldFieldsetId | ID! | — |
| customFieldLayoutId | ID! | — |
| description | String | — |
| fieldType | String! | — |
| id | ID! | — |
| key | String | — |
| mutationMetadata | JSON | — |
| name | String! | — |
| now | ISO8601DateTime | — |
| position | Int | — |
| required | Boolean | — |
| settings | CustomFieldSettingsInput | — |
| visible | Boolean | — |