> ## 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 application

> Use the updateAcceptorApplication GraphQL mutation to add or modify information on an existing acceptor application before submission.

Use updateAcceptorApplication to add or update missing information in the application. Like the create mutation, this mutation does not perform validation on the application data - validation only occurs when you submit the application.

### Update application fields

You can update any field in the application through updateAcceptorApplication.

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

  A developer at Clearpath Payments needed to follow up with Maple Street Coffee to confirm their registered legal entity name. They can use the updateAcceptorApplication mutation to add the legal entity name before resubmitting.
</Callout>

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
    updateAcceptorApplication(input: $input) {
      acceptorApplication {
        applicationIdentity {
          legalEntityName
        }
      }
      errors {
        ... on Error {
          message
          __typename
        }
      }
    }
  }
  ```

  ```json Variables lines theme={null}
  {
    "input": {
      "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
      "applicationIdentity": {
        "legalEntityName": "Maple Street Coffee LLC"
      }
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines theme={null}
  {
    "data": {
      "updateAcceptorApplication": {
        "acceptorApplication": {
          "applicationIdentity": {
            "legalEntityName": "Maple Street Coffee LLC"
          }
        }
      }
    }
  }
  ```
</ResponseExample>
