Skip to main content
Use one of the following inputs to update an existing stakeholder:
  • updatePersonStakeholderInput
  • updateBusinessStakeholderInput
You must include the stakeholder’s id in the update input.
ScenarioAfter submitting his application, Ben realizes he mistyped his business partner’s Social Security Number. He needs to update the stakeholder information with the correct SSN before the application can be properly validated.
mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
  updateAcceptorApplication(input: $input) {
    acceptorApplication {
      applicationStatus
      stakeholders {
        id
        ownershipPercentage
        ... on PersonStakeholderOutput {
          id
          identificationNumber {
            type
            last4
          }
        }
      }
    }
    errors {
      ... on Error {
        message
        __typename
      }
    }
  }
}
{
  "data": {
    "updateAcceptorApplication": {
      "acceptorApplication": {
        "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
        "applicationStatus": "CREATED",
        "stakeholders": [
          {
            "id": "1012d1e1-521a-4086-a1ae-9551b9ba28cf",
            "taxIdentificationNumber": {
              "type": "TIN",
              "last4": "8934"
            }
          }
        ]
      }
    }
  }
}
Run in Playground