> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateCustomFieldAnswer

> Set a member's response to a profile field: the argument matching the field's
response type, or the selected options for dropdown fields. A location
response takes `text`, `latitude`, and `longitude` together; a multi location
response takes `locations`. On the public API, setting another member's
response additionally requires the `host:write:network_members` OAuth scope.
Tag and badge fields take no response and are rejected; assign them with
`createTagMemberships` and `createBadgeMemberships`.

**Required scopes:** `write:profile`, `host:write:network_members` (any one)



**mutation** `updateCustomFieldAnswer(input: UpdateCustomFieldAnswerInput!): UpdateCustomFieldAnswerPayload`

## Arguments

**`input`**: `UpdateCustomFieldAnswerInput!` (required)

Parameters for UpdateCustomFieldAnswer

## Returns

`UpdateCustomFieldAnswerPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`response`**: `MemberCustomFieldResponse`

## Examples

```graphql Mutation
mutation UpdateCustomFieldAnswer($input: UpdateCustomFieldAnswerInput!) {
  updateCustomFieldAnswer(input: $input) {
    clientMutationId
    errors
    response {
      booleanValue
      customField {
        allowAdHoc
        answers {
          __typename
        }
        collectsContactDetails
        createdAt
        description
        id
      }
      date
      day
      endDate
      lastEditedAt
    }
  }
}
```

```json Variables
{
  "input": {
    "customFieldId": "id",
    "memberId": "id"
  }
}
```

```json Response
{
  "data": {
    "updateCustomFieldAnswer": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "response": {
        "booleanValue": true,
        "customField": {
          "allowAdHoc": true,
          "answers": {
            "__typename": "CustomFieldAnswerConnection"
          },
          "collectsContactDetails": true,
          "createdAt": "value",
          "description": "string",
          "id": "id"
        },
        "date": "value",
        "day": 1,
        "endDate": "value",
        "lastEditedAt": "value"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.