> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidoc-v1.maniscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidoc-v1.maniscloud.com/_mcp/server.

# Update customer info

PUT https://api/v1/customers/%7BcustomerId%7D
Content-Type: application/json

This API is used to update customer information in the Manis database, as well as that of PSP customers.

**Path variable**

- `customerId:` Identifier of the customer
    

**Request Body:**

| Field | Type | Required For | Description |
| --- | --- | --- | --- |
| `type` | string | All providers | Customer type. Acceptable values: `INDIVIDUAL` or `COMPANY`. |
| `accountUsagePurpose` | string | Finmo only | Purpose of the account usage (required by Finmo). |
| `firstName` | string | All providers | Customer’s first name. |
| `lastName` | string | All providers | Customer’s last name. |
| `dob` | string | Finmo only | Date of birth in `YYYY-MM-DD` format. |
| `countryOfResidence` | string | Finmo only | Country where the customer resides (ISO 3166-1 alpha-2 code). |
| `email` | string | Finmo only | Customer's email address. |
| `phoneCountryCode` | string | Finmo only | Country code for the phone number (e.g., `+1`). |
| `phoneNumber` | string | Finmo only | Customer’s phone number. |
| `addressCountry` | string | All providers | Country of the address (ISO 3166-1 alpha-2 code). |
| `addressZipCode` | string | All providers | ZIP or postal code. |
| `addressCity` | string | All providers | City of the address. |
| `addressState` | string | All providers | State or province. |
| `addressStreet` | string | All providers | Street name and number. |
| `addressLocation` | string | All providers | Additional location info (e.g., building, floor). |
| `identificationType` | string | Finmo only | Type of ID document (e.g., `PASSPORT`, `NATIONAL_ID`). |
| `identificationValue` | string | Finmo only | ID number as shown in the identification document. |
| `identificationDocumentId` | string | Finmo only | Document ID from **Upload Customer Document API** for identification. |
| `addressProofDocumentId` | string | Finmo only | Document ID from **Upload Customer Document API** for address proof. |
| `companyInfo` | object | Required if `type = COMPANY` | Company details block. Required when creating a company-type customer. |

`Comapny Information:`

| Field | Type | Required For `type = COMPANY` | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Legal name of the company. |
| `website` | string | Yes | Company website URL. |
| `registrationNumber` | string | Yes | Company registration number. |
| `incorporationCountry` | string | Yes | Country where the company is incorporated (ISO 3166-1 alpha-2 code). |
| `incorporationDate` | string | Yes | Incorporation date in `YYYY-MM-DD` format. |
| `email` | string | Yes | Company contact email. |
| `phoneCountryCode` | string | Yes | Country code for the company phone number. |
| `phoneNumber` | string | Yes | Company phone number. |
| `addressCountry` | string | Yes | Company address country. |
| `addressZipCode` | string | Yes | ZIP or postal code. |
| `addressCity` | string | Yes | City of the company address. |
| `addressState` | string | yes | State or province. |
| `addressStreet` | string | Yes | Street address. |
| `addressLocation` | string | Yes | Additional address details (e.g., unit, building). |
| `incorporationCertificateDocumentId` | string | Yes | Document ID for the incorporation certificate (from Upload API). |
| `addressProofDocumentId` | string | Yes | Document ID for company address proof (from Upload API). |

Response Body

200 OK

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Identifier of the customer in Manis |
| `type` | string | Customer type. Acceptable values: `INDIVIDUAL` or `COMPANY`. |
| `accountUsagePurpose` | string | Purpose of the account usage (required by Finmo). |
| `firstName` | string | Customer’s first name. |
| `lastName` | string | Customer’s last name. |
| `dob` | string | Date of birth in `YYYY-MM-DD` format. |
| `countryOfResidence` | string | Country where the customer resides (ISO 3166-1 alpha-2 code). |
| `email` | string | Customer's email address. |
| `phoneCountryCode` | string | Country code for the phone number (e.g., `+1`). |
| `phoneNumber` | string | Customer’s phone number. |
| `addressCountry` | string | Country of the address (ISO 3166-1 alpha-2 code). |
| `addressZipCode` | string | ZIP or postal code. |
| `addressCity` | string | City of the address. |
| `addressState` | string | State or province. |
| `addressStreet` | string | Street name and number. |
| `addressLocation` | string | Additional location info (e.g., building, floor). |
| `identificationType` | string | Type of ID document (e.g., `PASSPORT`, `NATIONAL_ID`). |
| `identificationValue` | string | ID number as shown in the identification document. |
| `identificationDocumentId` | string | Document ID from **Upload Customer Document API** for identification. |
| `addressProofDocumentId` | string | Document ID from **Upload Customer Document API** for address proof. |
| `companyInfo` | object | Company details block. Required when creating a company-type customer. |
| `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
| `createdBy` | string |  |
| `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
| `updatedBy` | string |  |
| `pspResults` | object | result from each PSP registed customer |
| └─`pspId` | string | Identifier of the PSP |
| └─`pspName` | string | Name of the PSP |
| └─`success` | boolean | Status of request update to PSP registed |

`Comapny Information:`

| Field | Type | Description |
| --- | --- | --- |
| `name` | string | Legal name of the company. |
| `website` | string | Company website URL. |
| `registrationNumber` | string | Company registration number. |
| `incorporationCountry` | string | Country where the company is incorporated (ISO 3166-1 alpha-2 code). |
| `incorporationDate` | string | Incorporation date in `YYYY-MM-DD` format. |
| `email` | string | Company contact email. |
| `phoneCountryCode` | string | Country code for the company phone number. |
| `phoneNumber` | string | Company phone number. |
| `addressCountry` | string | Company address country. |
| `addressZipCode` | string | ZIP or postal code. |
| `addressCity` | string | City of the company address. |
| `addressState` | string | State or province. |
| `addressStreet` | string | Street address. |
| `addressLocation` | string | Additional address details (e.g., unit, building). |
| `incorporationCertificateDocumentId` | string | Document ID for the incorporation certificate (from Upload API). |
| `addressProofDocumentId` | string | Document ID for company address proof (from Upload API). |
| `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
| `createdBy` | string |  |
| `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
| `updatedBy` | string |  |

400 BAD REQUEST - 403 FORBIDDEN - 401 UNAUTHORIZED - 500 INTERNAL ERROR

| **Field** | type |
| --- | --- |
| timestamp | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |
| title | string |
| type | string |
| status | number |
| soaCode | string |
| detail | string |

Reference: https://apidoc-v1.maniscloud.com/manis-unified-api-v-1-0/customer/update-customer-info

## Servers

- `https:/` (https://{url}, default)
- `https:/` (https://{devurl})

## Request

### Body (application/json)

- `dob` (date, required)
- `type` (string, required)
- `email` (string, required)
- `lastName` (string, required)
- `firstName` (string, required)
- `addressCity` (string, required)
- `companyInfo` (object, required)
  - `name` (string, required)
  - `email` (string, required)
  - `website` (string, required)
  - `addressCity` (string, required)
  - `phoneNumber` (string, required)
  - `addressState` (string, required)
  - `addressStreet` (string, required)
  - `addressCountry` (string, required)
  - `addressZipCode` (string, required)
  - `addressLocation` (string, required)
  - `phoneCountryCode` (string, required)
  - `incorporationDate` (date, required)
  - `registrationNumber` (string, required)
  - `incorporationCountry` (string, required)
  - `addressProofDocumentId` (string, required)
  - `incorporationCertificateDocumentId` (string, required)
- `phoneNumber` (string, required)
- `addressStreet` (string, required)
- `addressCountry` (string, required)
- `addressZipCode` (string, required)
- `addressLocation` (string, required)
- `phoneCountryCode` (string, required)
- `countryOfResidence` (string, required)
- `accountUsagePurpose` (string, required)

## Response

### 200

OK

- `id` (string, required)
- `dob` (date, required)
- `type` (string, required)
- `email` (string, required)
- `lastName` (string, required)
- `createdAt` (datetime, required)
- `createdBy` (string, required)
- `firstName` (string, required)
- `updatedAt` (datetime, required)
- `updatedBy` (string, required)
- `pspResults` (list of object, required)
  - `pspId` (string, required)
  - `pspName` (string, required)
  - `success` (boolean, required)
  - `errorMessage` (string, required)
- `addressCity` (string, required)
- `phoneNumber` (string, required)
- `addressStreet` (string, required)
- `addressCountry` (string, required)
- `addressZipCode` (string, required)
- `addressLocation` (string, required)
- `phoneCountryCode` (string, required)
- `countryOfResidence` (string, required)

## Examples

### 200: campany customer

**Request**

```json
undefined
```

**Response**

```json
{
  "id": "14f5cba4-6ea2-4bbf-aa20-593232f193d4",
  "dob": "1999-01-31",
  "type": "COMPANY",
  "email": "string101@mail.com",
  "lastName": "string",
  "createdAt": "2025-06-11T09:41:39.838Z",
  "createdBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "firstName": "string",
  "updatedAt": "2025-06-11T09:41:39.838Z",
  "updatedBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "pspResults": [
    {
      "pspId": "finmo",
      "pspName": "Finmo",
      "success": true,
      "errorMessage": "string"
    },
    {
      "pspId": "nium",
      "pspName": "Nium",
      "success": false,
      "errorMessage": "The function has not been supported yet"
    }
  ],
  "addressCity": "string",
  "phoneNumber": "920192912",
  "addressStreet": "string",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA",
  "companyInfo": {
    "name": "EGS",
    "email": "string101@mail.com",
    "website": "string.com",
    "createdAt": "2025-06-11T09:41:39.838Z",
    "createdBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
    "updatedAt": "2025-06-11T09:41:39.838Z",
    "updatedBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
    "addressCity": "string",
    "phoneNumber": "920192912",
    "addressState": "string",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "incorporationDate": "1998-01-01",
    "registrationNumber": "112",
    "incorporationCountry": "US",
    "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
    "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
  }
}
```

**SDK Code**

```python 200: campany customer
import requests

url = "https://https/api/v1/customers/%7BcustomerId%7D"

response = requests.put(url)

print(response.json())
```

```javascript 200: campany customer
const url = 'https://https/api/v1/customers/%7BcustomerId%7D';
const options = {method: 'PUT'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go 200: campany customer
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/customers/%7BcustomerId%7D"

	req, _ := http.NewRequest("PUT", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby 200: campany customer
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/customers/%7BcustomerId%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)

response = http.request(request)
puts response.read_body
```

```java 200: campany customer
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://https/api/v1/customers/%7BcustomerId%7D")
  .asString();
```

```php 200: campany customer
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://https/api/v1/customers/%7BcustomerId%7D');

echo $response->getBody();
```

```csharp 200: campany customer
using RestSharp;

var client = new RestClient("https://https/api/v1/customers/%7BcustomerId%7D");
var request = new RestRequest(Method.PUT);
IRestResponse response = client.Execute(request);
```

```swift 200: campany customer
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/customers/%7BcustomerId%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### 200: update individual customer

**Request**

```json
undefined
```

**Response**

```json
{
  "id": "dedd40da-fb4d-41b5-88e1-f2351d7f36f1",
  "dob": "1999-01-30",
  "type": "INDIVIDUAL",
  "email": "sssss3@mail.com",
  "lastName": "string",
  "createdAt": "2025-06-11T09:41:39.838Z",
  "createdBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "firstName": "string",
  "updatedAt": "2025-06-11T09:41:39.838Z",
  "updatedBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "pspResults": [
    {
      "pspId": "nium",
      "pspName": "Nium",
      "success": false,
      "errorMessage": "The function has not been supported yet"
    }
  ],
  "addressCity": "string1",
  "phoneNumber": "920192912",
  "addressStreet": "string2",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string2",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA"
}
```

**SDK Code**

```python 200: update individual customer
import requests

url = "https://https/api/v1/customers/%7BcustomerId%7D"

response = requests.put(url)

print(response.json())
```

```javascript 200: update individual customer
const url = 'https://https/api/v1/customers/%7BcustomerId%7D';
const options = {method: 'PUT'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go 200: update individual customer
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/customers/%7BcustomerId%7D"

	req, _ := http.NewRequest("PUT", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby 200: update individual customer
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/customers/%7BcustomerId%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)

response = http.request(request)
puts response.read_body
```

```java 200: update individual customer
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://https/api/v1/customers/%7BcustomerId%7D")
  .asString();
```

```php 200: update individual customer
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://https/api/v1/customers/%7BcustomerId%7D');

echo $response->getBody();
```

```csharp 200: update individual customer
using RestSharp;

var client = new RestClient("https://https/api/v1/customers/%7BcustomerId%7D");
var request = new RestRequest(Method.PUT);
IRestResponse response = client.Execute(request);
```

```swift 200: update individual customer
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/customers/%7BcustomerId%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Customer_Update customer info_example

**Request**

```json
{
  "dob": "1999-01-31",
  "type": "COMPANY",
  "email": "string101@mail.com",
  "lastName": "string",
  "firstName": "string",
  "addressCity": "string",
  "companyInfo": {
    "name": "EGS",
    "email": "string101@mail.com",
    "website": "string.com",
    "addressCity": "string",
    "phoneNumber": "920192912",
    "addressState": "string",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "incorporationDate": "1998-01-01",
    "registrationNumber": "112",
    "incorporationCountry": "US",
    "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
    "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
  },
  "phoneNumber": "920192912",
  "addressStreet": "string",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA",
  "accountUsagePurpose": "string1"
}
```

**Response**

```json
{
  "id": "14f5cba4-6ea2-4bbf-aa20-593232f193d4",
  "dob": "1999-01-31",
  "type": "COMPANY",
  "email": "string101@mail.com",
  "lastName": "string",
  "createdAt": "2025-06-11T09:41:39.838Z",
  "createdBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "firstName": "string",
  "updatedAt": "2025-06-11T09:41:39.838Z",
  "updatedBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
  "pspResults": [
    {
      "pspId": "finmo",
      "pspName": "Finmo",
      "success": true,
      "errorMessage": "string"
    },
    {
      "pspId": "nium",
      "pspName": "Nium",
      "success": false,
      "errorMessage": "The function has not been supported yet"
    }
  ],
  "addressCity": "string",
  "phoneNumber": "920192912",
  "addressStreet": "string",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA",
  "companyInfo": {
    "name": "EGS",
    "email": "string101@mail.com",
    "website": "string.com",
    "createdAt": "2025-06-11T09:41:39.838Z",
    "createdBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
    "updatedAt": "2025-06-11T09:41:39.838Z",
    "updatedBy": "7eea1a78-6e23-49e4-a6c7-31d3181edb56",
    "addressCity": "string",
    "phoneNumber": "920192912",
    "addressState": "string",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "incorporationDate": "1998-01-01",
    "registrationNumber": "112",
    "incorporationCountry": "US",
    "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
    "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
  }
}
```

**SDK Code**

```python Customer_Update customer info_example
import requests

url = "https://https/api/v1/customers/%7BcustomerId%7D"

payload = {
    "dob": "1999-01-31",
    "type": "COMPANY",
    "email": "string101@mail.com",
    "lastName": "string",
    "firstName": "string",
    "addressCity": "string",
    "companyInfo": {
        "name": "EGS",
        "email": "string101@mail.com",
        "website": "string.com",
        "addressCity": "string",
        "phoneNumber": "920192912",
        "addressState": "string",
        "addressStreet": "string",
        "addressCountry": "US",
        "addressZipCode": "100",
        "addressLocation": "string",
        "phoneCountryCode": "+1",
        "incorporationDate": "1998-01-01",
        "registrationNumber": "112",
        "incorporationCountry": "US",
        "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
        "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
    },
    "phoneNumber": "920192912",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "countryOfResidence": "CA",
    "accountUsagePurpose": "string1"
}
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript Customer_Update customer info_example
const url = 'https://https/api/v1/customers/%7BcustomerId%7D';
const options = {
  method: 'PUT',
  headers: {'Content-Type': 'application/json'},
  body: '{"dob":"1999-01-31","type":"COMPANY","email":"string101@mail.com","lastName":"string","firstName":"string","addressCity":"string","companyInfo":{"name":"EGS","email":"string101@mail.com","website":"string.com","addressCity":"string","phoneNumber":"920192912","addressState":"string","addressStreet":"string","addressCountry":"US","addressZipCode":"100","addressLocation":"string","phoneCountryCode":"+1","incorporationDate":"1998-01-01","registrationNumber":"112","incorporationCountry":"US","addressProofDocumentId":"org_doc_9482e9d80ff143beaf52328fb6956058","incorporationCertificateDocumentId":"org_doc_9482e9d80ff143beaf52328fb6956058"},"phoneNumber":"920192912","addressStreet":"string","addressCountry":"US","addressZipCode":"100","addressLocation":"string","phoneCountryCode":"+1","countryOfResidence":"CA","accountUsagePurpose":"string1"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Customer_Update customer info_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/customers/%7BcustomerId%7D"

	payload := strings.NewReader("{\n  \"dob\": \"1999-01-31\",\n  \"type\": \"COMPANY\",\n  \"email\": \"string101@mail.com\",\n  \"lastName\": \"string\",\n  \"firstName\": \"string\",\n  \"addressCity\": \"string\",\n  \"companyInfo\": {\n    \"name\": \"EGS\",\n    \"email\": \"string101@mail.com\",\n    \"website\": \"string.com\",\n    \"addressCity\": \"string\",\n    \"phoneNumber\": \"920192912\",\n    \"addressState\": \"string\",\n    \"addressStreet\": \"string\",\n    \"addressCountry\": \"US\",\n    \"addressZipCode\": \"100\",\n    \"addressLocation\": \"string\",\n    \"phoneCountryCode\": \"+1\",\n    \"incorporationDate\": \"1998-01-01\",\n    \"registrationNumber\": \"112\",\n    \"incorporationCountry\": \"US\",\n    \"addressProofDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\",\n    \"incorporationCertificateDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\"\n  },\n  \"phoneNumber\": \"920192912\",\n  \"addressStreet\": \"string\",\n  \"addressCountry\": \"US\",\n  \"addressZipCode\": \"100\",\n  \"addressLocation\": \"string\",\n  \"phoneCountryCode\": \"+1\",\n  \"countryOfResidence\": \"CA\",\n  \"accountUsagePurpose\": \"string1\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Customer_Update customer info_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/customers/%7BcustomerId%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"dob\": \"1999-01-31\",\n  \"type\": \"COMPANY\",\n  \"email\": \"string101@mail.com\",\n  \"lastName\": \"string\",\n  \"firstName\": \"string\",\n  \"addressCity\": \"string\",\n  \"companyInfo\": {\n    \"name\": \"EGS\",\n    \"email\": \"string101@mail.com\",\n    \"website\": \"string.com\",\n    \"addressCity\": \"string\",\n    \"phoneNumber\": \"920192912\",\n    \"addressState\": \"string\",\n    \"addressStreet\": \"string\",\n    \"addressCountry\": \"US\",\n    \"addressZipCode\": \"100\",\n    \"addressLocation\": \"string\",\n    \"phoneCountryCode\": \"+1\",\n    \"incorporationDate\": \"1998-01-01\",\n    \"registrationNumber\": \"112\",\n    \"incorporationCountry\": \"US\",\n    \"addressProofDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\",\n    \"incorporationCertificateDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\"\n  },\n  \"phoneNumber\": \"920192912\",\n  \"addressStreet\": \"string\",\n  \"addressCountry\": \"US\",\n  \"addressZipCode\": \"100\",\n  \"addressLocation\": \"string\",\n  \"phoneCountryCode\": \"+1\",\n  \"countryOfResidence\": \"CA\",\n  \"accountUsagePurpose\": \"string1\"\n}"

response = http.request(request)
puts response.read_body
```

```java Customer_Update customer info_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://https/api/v1/customers/%7BcustomerId%7D")
  .header("Content-Type", "application/json")
  .body("{\n  \"dob\": \"1999-01-31\",\n  \"type\": \"COMPANY\",\n  \"email\": \"string101@mail.com\",\n  \"lastName\": \"string\",\n  \"firstName\": \"string\",\n  \"addressCity\": \"string\",\n  \"companyInfo\": {\n    \"name\": \"EGS\",\n    \"email\": \"string101@mail.com\",\n    \"website\": \"string.com\",\n    \"addressCity\": \"string\",\n    \"phoneNumber\": \"920192912\",\n    \"addressState\": \"string\",\n    \"addressStreet\": \"string\",\n    \"addressCountry\": \"US\",\n    \"addressZipCode\": \"100\",\n    \"addressLocation\": \"string\",\n    \"phoneCountryCode\": \"+1\",\n    \"incorporationDate\": \"1998-01-01\",\n    \"registrationNumber\": \"112\",\n    \"incorporationCountry\": \"US\",\n    \"addressProofDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\",\n    \"incorporationCertificateDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\"\n  },\n  \"phoneNumber\": \"920192912\",\n  \"addressStreet\": \"string\",\n  \"addressCountry\": \"US\",\n  \"addressZipCode\": \"100\",\n  \"addressLocation\": \"string\",\n  \"phoneCountryCode\": \"+1\",\n  \"countryOfResidence\": \"CA\",\n  \"accountUsagePurpose\": \"string1\"\n}")
  .asString();
```

```php Customer_Update customer info_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://https/api/v1/customers/%7BcustomerId%7D', [
  'body' => '{
  "dob": "1999-01-31",
  "type": "COMPANY",
  "email": "string101@mail.com",
  "lastName": "string",
  "firstName": "string",
  "addressCity": "string",
  "companyInfo": {
    "name": "EGS",
    "email": "string101@mail.com",
    "website": "string.com",
    "addressCity": "string",
    "phoneNumber": "920192912",
    "addressState": "string",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "incorporationDate": "1998-01-01",
    "registrationNumber": "112",
    "incorporationCountry": "US",
    "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
    "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
  },
  "phoneNumber": "920192912",
  "addressStreet": "string",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA",
  "accountUsagePurpose": "string1"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Customer_Update customer info_example
using RestSharp;

var client = new RestClient("https://https/api/v1/customers/%7BcustomerId%7D");
var request = new RestRequest(Method.PUT);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"dob\": \"1999-01-31\",\n  \"type\": \"COMPANY\",\n  \"email\": \"string101@mail.com\",\n  \"lastName\": \"string\",\n  \"firstName\": \"string\",\n  \"addressCity\": \"string\",\n  \"companyInfo\": {\n    \"name\": \"EGS\",\n    \"email\": \"string101@mail.com\",\n    \"website\": \"string.com\",\n    \"addressCity\": \"string\",\n    \"phoneNumber\": \"920192912\",\n    \"addressState\": \"string\",\n    \"addressStreet\": \"string\",\n    \"addressCountry\": \"US\",\n    \"addressZipCode\": \"100\",\n    \"addressLocation\": \"string\",\n    \"phoneCountryCode\": \"+1\",\n    \"incorporationDate\": \"1998-01-01\",\n    \"registrationNumber\": \"112\",\n    \"incorporationCountry\": \"US\",\n    \"addressProofDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\",\n    \"incorporationCertificateDocumentId\": \"org_doc_9482e9d80ff143beaf52328fb6956058\"\n  },\n  \"phoneNumber\": \"920192912\",\n  \"addressStreet\": \"string\",\n  \"addressCountry\": \"US\",\n  \"addressZipCode\": \"100\",\n  \"addressLocation\": \"string\",\n  \"phoneCountryCode\": \"+1\",\n  \"countryOfResidence\": \"CA\",\n  \"accountUsagePurpose\": \"string1\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Customer_Update customer info_example
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "dob": "1999-01-31",
  "type": "COMPANY",
  "email": "string101@mail.com",
  "lastName": "string",
  "firstName": "string",
  "addressCity": "string",
  "companyInfo": [
    "name": "EGS",
    "email": "string101@mail.com",
    "website": "string.com",
    "addressCity": "string",
    "phoneNumber": "920192912",
    "addressState": "string",
    "addressStreet": "string",
    "addressCountry": "US",
    "addressZipCode": "100",
    "addressLocation": "string",
    "phoneCountryCode": "+1",
    "incorporationDate": "1998-01-01",
    "registrationNumber": "112",
    "incorporationCountry": "US",
    "addressProofDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058",
    "incorporationCertificateDocumentId": "org_doc_9482e9d80ff143beaf52328fb6956058"
  ],
  "phoneNumber": "920192912",
  "addressStreet": "string",
  "addressCountry": "US",
  "addressZipCode": "100",
  "addressLocation": "string",
  "phoneCountryCode": "+1",
  "countryOfResidence": "CA",
  "accountUsagePurpose": "string1"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/customers/%7BcustomerId%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```