Skip to main content
PUT
/
api
/
external
/
customer
/
{id}
Update a customer
curl --request PUT \
  --url https://api-prod.blaaiz.com/api/external/customer/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-blaaiz-api-key: <api-key>' \
  --data '
{
  "first_name": "Oluwatobi",
  "last_name": "Ishola",
  "business_name": "Blaaiz",
  "email": "[email protected]",
  "phone": "+2348012345678",
  "country": "NG",
  "id_type": "passport",
  "id_number": "A123456789",
  "tin": "12345-ABCDE",
  "dob": "1996-08-21",
  "street": "12 Admiralty Way",
  "city": "Lagos",
  "state": "Lagos",
  "zip_code": "101233",
  "id_expiry_date": "2030-12-31",
  "id_issue_date": "2020-01-15"
}
'
{
  "status": true,
  "message": "Customer updated successfully",
  "data": {
    "id": "customer_123456789",
    "type": "individual",
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "phone_number": "+2348098765432",
    "status": "verified",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
}

Authorizations

x-blaaiz-api-key
string
header
required

Path Parameters

id
string
required

Customer ID

Body

application/json
first_name
string
last_name
string
business_name
string
email
string<email>
phone
string
country
string

Country code (e.g., NG, CA, US).

id_type
enum<string>

ID type; certificate_of_incorporation only valid for business.

Available options:
drivers_license,
passport,
id_card,
resident_permit,
certificate_of_incorporation
id_number
string
tin
string

Tax identification number (varies by country).

dob
string<date>
street
string
city
string
state
string
zip_code
string
id_expiry_date
string<date>
id_issue_date
string<date>

Response

Customer updated successfully

status
boolean
required
message
string
required
data
object
required