Update Customer
PATCH/customer-account
This is used to update customer details.
Request
- application/json
Body
Possible values: <= 20 characters
Customer number of the customer account which wants to amend.
Possible values: non-empty
and <= 200 characters
First name
Possible values: non-empty
and <= 200 characters
Last name
Possible values: non-empty
and <= 15 characters
Passport number
Possible values: non-empty
and <= 15 characters
National id number
Possible values: non-empty
and <= 50 characters
Driving license
Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$
Home telephone number
Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$
Office telephone number
Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$
Mobile number
Possible values: non-empty
and <= 50 characters
Profession
Possible values: non-empty
and <= 200 characters
Possible values: non-empty
and <= 200 characters
Possible values: non-empty
and <= 250 characters
City
Possible values: [M
, F
, -1
]
M-Male | F-Female | -1-rather not say
Possible values: Value must match regular expression yyyy/MM/dd
Birth date
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
Possible values: non-empty
, [SUCCESS
, FAILED
]
Possible values: non-empty
Find error codes here)
Customer account number
{
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0,
"customerNumber": "string"
}
{
"status": "SUCCESS",
"reason": "successfully updated customer",
"rejectCode": 0,
"customerNumber": "ASI173455897"
}