---
title: "Update a customer"
method: PATCH
path: "/customers/{id}"
---

# Update a customer

`PATCH /customers/{id}`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `update:customers`

## Path parameters

- `id` string, required

## Request body

- object
  - `firstName` string: Customer's first name
  - `lastName` string: Customer's last name
  - `email` string: Customer's email address
  - `phoneNumber` string: Customer's phone number
  - `type` 'BUSINESS' | 'PRIVATE': Type of customer
  - `psuIdType` string: Type of PSU ID
  - `nationalId` string: Customer's national ID
  - `nationalIdIssueDate` string, date: The date when the national ID was issued
  - `birthDate` string, date: Customer's birth date
  - `businessId` string: Business ID if the customer is a business
  - `businessName` string: Business name if the customer is a business
  - `businessType` 'LicensedOperator' | 'Company' | 'CreditServiceProvider' | '': Type of business
  - `businessEstablishedDate` string, date: The date when the business was established
  - `activityArea` string: Area of business activity
  - `geoArea` 'North' | 'Sharon' | 'TelAviv' | 'Center' | 'South' | 'Lowlands' | 'JudahAndSamaria' | '': Geographical area of the business

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
