---
updatedAt: 2026-07-21T00:05:03.000Z
agentTools:
  projectIndex: https://developer.veem.com/llms.txt
---

# editAccount

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Veem REST API",
    "version": "v1.2.1",
    "title": "Veem API v1.2"
  },
  "tags": [
    {
      "name": "open-account-controller",
      "description": "Open Account Controller"
    }
  ],
  "paths": {
    "/veem/v1.2/account/{accountId}": {
      "patch": {
        "tags": [
          "open-account-controller"
        ],
        "summary": "editAccount",
        "operationId": "editAccountUsingPATCH",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountRequest"
              }
            }
          },
          "description": "request",
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetUpAccountResponse"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "servers": [
    {
      "url": "//sandbox-api.veem.com"
    }
  ],
  "components": {
    "schemas": {
      "Address": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "province": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetSecondary": {
            "type": "string"
          }
        },
        "title": "Address"
      },
      "SetUpAccountResponse": {
        "type": "object",
        "properties": {
          "accountSetUpStatus": {
            "type": "string"
          },
          "clientId": {
            "type": "string"
          },
          "clientSecret": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "missingInformation": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "token": {
            "type": "string"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          },
          "verificationStatus": {
            "type": "string"
          }
        },
        "title": "SetUpAccountResponse"
      },
      "UpdateAccountRequest": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "businessName": {
            "type": "string"
          },
          "dialCode": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "subIndustry": {
            "type": "string"
          },
          "taxIdNumber": {
            "type": "string"
          },
          "businessEntity": {
            "type": "string"
          },
          "isoCountryCode": {
            "type": "string"
          }
        },
        "title": "UpdateAccountRequest"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  }
}
```