m2pfintech

Update Customer Entity V2

Updates customer entity details (v2) including personal info, contact, email, KYC, address, date, bank, and nominee information. Returns a boolean success flag.

POST
/credit-customer/business-entity-manager/updateentityv2

Header Parameters

TENANT*string

Tenant identifier

Request Body

application/json

entityId*string

Entity ID of the customer to update

title?string
Value in"MR" | "MRS" | "MS" | "DR" | "PROF"
firstName?string

First name

Lengthlength <= 100
middleName?string

Middle name

Lengthlength <= 100
lastName?string

Last name

Lengthlength <= 100
gender?string
Value in"MALE" | "FEMALE" | "OTHER"
isNRICustomer?boolean

NRI customer flag

isMinor?boolean

Minor flag

isDependant?boolean

Dependant flag

staffIndicator?boolean

Staff indicator flag

preferredLanguage?string

Preferred language

Lengthlength <= 100
maritalStatus?string
Value in"SINGLE" | "MARRIED" | "DIVORCED" | "WIDOWED"
employmentIndustry?string
Value in"AGRICULTURE" | "BANKING" | "EDUCATION" | "GOVERNMENT" | "HEALTHCARE" | "IT" | "MANUFACTURING" | "RETAIL" | "OTHERS"
employmentType?string
Value in"SALARIED" | "SELF_EMPLOYED" | "BUSINESS" | "RETIRED" | "STUDENT" | "UNEMPLOYED"
fatherName?string

Father's name

Lengthlength <= 100
motherName?string

Mother's name

Lengthlength <= 100
spouseName?string

Spouse's name

Lengthlength <= 100
nationality?string

Nationality

Lengthlength <= 100
employeeId?string

Employee ID

Lengthlength <= 100
ucic?string

Unique customer identification code

externalEntityId?string

External entity ID

primaryContactInfo?
additionalContact1Info?
additionalContact2Info?
primaryEmailInfo?
additionalEmail1Info?
additionalEmail2Info?
panInfo?
aadharInfo?
drivingLicenseInfo?
passportInfo?
nationalIdInfo?
dateOfBirthInfo?
dateOfMarriageInfo?
dateOfNREBecomingInfo?
deliveryAddress?
communicationAddress?
repaymentPercentage?number

Minimum repayment percentage

Formatdouble
repaymentBankDetail?
disbursementBankDetail?
nomineeDetailList?

Nominee list

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.m2pfintech.com/credit-customer/business-entity-manager/updateentityv2" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "CUST20260617001",    "firstName": "Priya",    "lastName": "Sharma",    "contactNo": "9876543211",    "emailId": "priya.updated@example.com"  }'
{
  "result": true,
  "exception": null,
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_400",
    "shortMessage": "Bad Request",
    "detailMessage": "Invalid or missing required fields in the request payload."
  },
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_401",
    "shortMessage": "Unauthorized",
    "detailMessage": "Missing or invalid TENANT header."
  },
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_500",
    "shortMessage": "Internal Server Error",
    "detailMessage": "An unexpected error occurred. Please try again later."
  },
  "pagination": null
}