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

# Update existing stakeholder

> Update person or business stakeholder details on an acceptor application using the updateAcceptorApplication mutation.

Use one of the following inputs to update an existing stakeholder:

* updatePersonStakeholderInput

* updateBusinessStakeholderInput

You must include the stakeholder's `id` in the update input.

<Callout icon="clapperboard-play" color="#6938EF" type="scenario">
  **Scenario**

  After submitting the application, a developer at Clearpath Payments realizes they entered an incorrect Social Security Number for the Maple Street Coffee owner, Alex Chen. They need to update the stakeholder information with the correct SSN before the application can be properly validated.
</Callout>

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
    updateAcceptorApplication(input: $input) {
      acceptorApplication {
        applicationStatus
        stakeholders {
          id
          ownershipPercentage
          ... on PersonStakeholderOutput {
            id
            identificationNumber {
              type
              last4
            }
          }
        }
      }
      errors {
        ... on Error {
          message
          __typename
        }
      }
    }
  }
  ```

  ```json Variables lines expandable theme={null}
  {
    "input": {
      "id": "2cb18ac4-8c10-4b2a-9ade-aa135e8cd0c1",
      "stakeholders": [
        {
          "updatePersonStakeholderInput": {
            "id": "fce88f89-2ba5-46c4-b99f-5000d71d71aa",
            "identificationNumber": {
              "type": "SSN",
              "value": "283-99-2911"
            }
          }
        }
      ]
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines expandable theme={null}
  {
    "data": {
      "updateAcceptorApplication": {
        "acceptorApplication": {
          "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
          "applicationStatus": "CREATED",
          "stakeholders": [
            {
              "id": "1012d1e1-521a-4086-a1ae-9551b9ba28cf",
              "taxIdentificationNumber": {
                "type": "TIN",
                "last4": "8934"
              }
            }
          ]
        }
      }
    }
  }
  ```
</ResponseExample>
