Update company address

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Use this method to update an existing company address on a company applicant.

Only the fields supplied in the request body are changed — omitted fields keep their current values. The method returns the applicant's updated profile.

Required permissions

To use this method, your app token must have the Change applicant's personal data permission.

Use case

Use this method to correct or refresh a single company address — for example, updating the postCode after a verified move, or attaching a new imageId once a fresh proof-of-address document has been uploaded — without having to resend the whole address object.

📘

Notes

  • This is a partial update: fields you do not include in the body are left untouched.
  • companyAddressId is the id returned for this address by Add company address (or read back via the applicant profile) — not the imageId or any other identifier.
  • To replace address, send the full address object — individual sub-fields of address
    cannot be updated independently.

Request example

curl -X PATCH
     'https://api.sumsub.com/resources/applicants/5f649369aee05c75ea500000/fixedInfo/companyAddresses/9d759173-b4a4-4e9f-b168-07e29de1a2op' \
     -H 'X-App-Token: <your-app-token>' \
     -H 'X-App-Access-Sig: <your-signature>' \
     -H 'X-App-Access-Ts: <unix-timestamp>' \
     -H 'Content-Type: application/json' \
     -d '{
           "address": {
             "street": "Piilipuuntie 3 E 85",
             "town": "Espoo",
             "postCode": "02251",
             "stateCode": "FI-18",
             "country": "FIN",
             "formattedAddress": "Piilipuuntie 3 E 85, Espoo, Finland, 02251"
           },
           "addressTypes": [
             "trade"
           ],
           "main": true,
           "imageId": 123456789
         }'

Response explained

The response is a JSON object that represents the applicant data with the updated company
address list.

The fields specifically updated by this method are documented below.

companyAddresses[] element fields

FieldTypeDescription
idStringAddress identifier. Generated by the service when the address is created.
addressTypesArray of stringsAddress types assigned to this address. Possible values:
  • trade — trade point address.
  • legal — legal registration address.
  • postal — postal or office address.
addressObjectStructured company address. See address attributes below.
mainBooleanIndicates whether this address is the main one within its address type.
imageIdIntegerIdentifier of an uploaded proof-of-address image, if one was attached.

companyAddresses[].address attributes

FieldTypeDescription
streetStringStreet and building.
townStringTown or city.
postCodeStringPostal code.
stateCodeStringState code based on the address, in the ISO 3166-2 format (for example, TR-34, AD-07).
countryString3-letter ISO 3166-1 alpha-3 country code (for example, FIN).
formattedAddressStringFull address as a single string.

Response examples

If the request is processed successfully, you will get an object representing the applicant profile with the updated fields shown in the example below:

{
...
    {
      "companyAddresses": [
        {
          "id": "9d759173-b4a4-4e9f-b168-07e29de1a2bd",
          "addressTypes": [
            "trade"
          ],
          "main": true,
          "address": {
            "street": "Piilipuuntie 3 E 85",
            "town": "Espoo",
            "postCode": "02250",
            "stateCode": "FI-18",
            "country": "FIN",
            "formattedAddress": "Piilipuuntie 3 E 85, Espoo, Finland, 02250"
          }
        }
      ]
    }
...
}

If the request fails, you will receive an HTTP response containing an error code along with a
message explaining the error. For example:

{
  "description": "Company address 9d759173-b4a4-4e9f-b168-07e29de1a2bd not found",
  "code": 404,
  "correlationId": "b628a7fbdf4fa487b26406e79e76f3f7"
}

Response codes

StatusDescription
200Address updated; returns the updated applicant profile — see Response examples.
400Invalid request — for example, a malformed country/stateCode, or an unrecognized addressTypes value.
404No company address with the given companyAddressId exists on this applicant.
Path Params
string
required

Unique identifier of the company applicant in the Sumsub system.

This identifier is a random combination of 24 digits and lowercase Latin characters. It is automatically generated when the applicant profile is created on the Sumsub side, and can be found in the Dashboard.

If the applicantId is unknown to you, use the Get applicant data (externalUserId) method to fetch it.

string
required

Identifier (id) of the company address to update. Generated by the service when the address is created.

Body Params
address
object
required

Structured company address.

addressTypes
array of strings

One or more address types: trade (trade point address), legal (legal registration
address), postal (postal or office address).

addressTypes
boolean

Marks this address as the main one (true) within its type.

int32

Identifier of an uploaded proof-of-address image.

Response
200
Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!