Skip to main content
PUT
/
update
/
{customerId}
cURL
curl --request PUT \
  --url https://gateway.7exchange.io/customer/1.0.0/update/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "customerType": "<string>",
  "customerName": "<string>",
  "externalCustomerId": "<string>",
  "customerStatus": "<string>",
  "categorization": "<string>",
  "person": {
    "firstName": {
      "name": "<string>",
      "order": 123,
      "abbreviation": "<string>",
      "language": "<string>",
      "native": "<string>",
      "suffix": "<string>",
      "prefix": "<string>"
    },
    "lastName": {
      "name": "<string>",
      "order": 123,
      "abbreviation": "<string>",
      "language": "<string>",
      "native": "<string>",
      "suffix": "<string>",
      "prefix": "<string>"
    },
    "gender": "<string>",
    "dateOfBirth": "<string>",
    "placeOfBirth": "<string>",
    "nationality": "<string>",
    "pinCode": "<string>",
    "password": "<string>",
    "fullName": "<string>",
    "email": "<string>",
    "groupId": "<string>",
    "documents": [
      {
        "purpose": "<string>",
        "name": "<string>",
        "verificationResponse": "<any>",
        "documentType": "<string>",
        "location": "<string>",
        "status": "<string>",
        "metadata": [
          {
            "name": "<string>",
            "type": "<string>",
            "value": "<string>"
          }
        ]
      }
    ],
    "telephoneNumbers": [
      {
        "phoneType": "<string>",
        "operator": "<string>",
        "encoding": "<string>",
        "country": "<string>",
        "number": "<string>",
        "purpose": "<string>"
      }
    ],
    "SecretQuestion": [
      {
        "question": "<string>",
        "answer": "<string>"
      }
    ],
    "addresses": [
      {
        "addresspurpose": "<string>",
        "address": {
          "country": "<string>",
          "area": "<string>",
          "city": "<string>",
          "zipCode": "<string>",
          "street": "<string>",
          "streetNumber": [
            "<string>"
          ],
          "building": "<string>",
          "apartment": "<string>",
          "entrance": "<string>",
          "floor": "<string>",
          "doorNumber": "<string>",
          "geoPosition": {
            "latitude": 123,
            "longitude": 123,
            "altitude": 123
          },
          "alternative": {
            "word1": "<string>",
            "word2": "<string>",
            "word3": "<string>"
          },
          "relatedToAddress": [
            {
              "relationType": "<string>"
            }
          ],
          "additionalData": [
            {
              "name": "<string>",
              "type": "<string>",
              "value": "<string>"
            }
          ]
        }
      }
    ]
  },
  "notifications": [
    {
      "notificationType": "<string>",
      "isEnabled": true
    }
  ],
  "isB2B": true,
  "sharePercentage": 123,
  "ultimatePercentage": 123,
  "isDirector": true
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Path Parameters

customerId
string
required

Body

application/json
customerType
string | null
customerName
string | null
externalCustomerId
string | null
customerStatus
string | null
categorization
string | null
person
object
notifications
object[]
isB2B
boolean
sharePercentage
integer | null
ultimatePercentage
integer | null
isDirector
boolean

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer

Relevant HTTP status code