Update customer (entity) profile information
Updates the profile fields of an existing customer entity. Supports updating name, gender, marital status, employment details, contact info, email, and address. The controller is in credit-customer-service (RegistrationController).
Header Parameters
Tenant identifier for multi-tenancy routing
Request Body
application/json
Unique entity ID of the customer to update
Title/salutation of the customer
"Mr" | "Ms" | "Mrs" | "Sr" | "Jr" | "Dr"First name (max 100 characters)
length <= 100Middle name (max 100 characters)
length <= 100Last name (max 100 characters)
length <= 100Gender of the customer
"MALE" | "FEMALE" | "OTHER" | "M" | "F" | "T" | "O"Marital status of the customer
"SINGLE" | "MARRIED" | "OTHER" | "DIVORCED" | "WIDOWED" | "NA"Industry sector of employment
"AGRICULTURE_FOOD_NATURAL_RESOURCES" | "ARCHITECTURE_AND_CONSTRUCTION" | "ARTS_AUDIO_OR_VIDEO_TECHNOLOGY_AND_COMMUNICATIONS" | "BUSINESS_MANAGEMENT_AND_ADMINISTRATION" | "EDUCATION_AND_TRAINING" | "FINANCE" | "GOVERNMENT_AND_PUBLIC_ADMINISTRATION" | "HEALTH_SCIENCE" | "HOSPITALITY_AND_TOURISM" | "HUMAN_SERVICES" | "INFORMATION_TECHNOLOGY" | "LAW_PUBLIC_SAFETY_CORRECTIONS_AND_SECURITY" | "MANUFACTURING" | "MARKETING_SALES_AND_SERVICE" | "SCIENCE_TECHNOLOGY_ENGINEERING_AND_MATHEMATICS" | "TRANSPORTATION_DISTRIBUTION_AND_LOGISTICS"Type of employment
"EMPLOYED" | "UNEMPLOYED" | "ENTREPRENEUR" | "PUBLIC_SECTOR_EMPLOYEE" | "FREELANCER" | "HOUSEWORK" | "APPRENTICE" | "RETIRED" | "STUDENT" | "SELF_EMPLOYED" | "MILITARY_OR_COMMUNITY_SERVICE" | "SALARIED" | "HOUSEWIFE"Primary contact number of the customer
Email address of the customer
emailExternal reference entity ID
Father's name
Mother's name
Spouse's name
Nationality of the customer
Employee ID if applicable
Address update DTO
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/Yappay/business-entity-manager/updateentity" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "CUST123456" }'{
"status": 200,
"result": true,
"message": "Success"
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}{
"status": 400,
"message": "Invalid request parameters",
"timestamp": "2019-08-24T14:15:22Z"
}Update the statement date for an entity POST
Updates the statement generation date for a customer's credit account. The new date is specified as a day-of-month integer. Audit trail is recorded on failure.
Update preferences from external source POST
Updates entity preferences triggered by an external source or partner system. NOTE: This endpoint path was not found in the available source code of credit-clms, credit-customer-service, or credit-service. A related endpoint /business-entity-manager/updatePreference exists in credit-customer-service (RegistrationController) which updates entity preferences internally.
