.png)
API to update contact info
ENDPOINTS
put
/v1/customers/{customerId}:contact-info
Header parameters
Collapse
correlationId
string
required
UUID that uniquely identifies the request. This id allows the request to be traced through the entire request and reponse flow.
Authorization
string
required
Standard OAuth 2.0 access token. A string composed of 'Bearer' + '(space)' + '{token}'
Body parameters
Collapse
{"userIdType":"CUSTOMER_ID","phoneNumber":{"oldPhoneNumber":"1234567890","oldCountryCode":"1","newPhoneNumber":9999999,"newCountryCode":"1"},"email":{"emailAddress":"jane.doe@gm.com"},"postalAddress":{"address1":"main street","address2":"main street","city":"bangalore","state":"karnataka","postalCode":89000,"country":"IN"}}
Path parameters
Collapse
customerId
string
required
It can be a customer Id or login Id of the financial intitution customer
Responses
Collapse
204
Contact info updated successfully
Response Body
null
400
Bad Request
Response Body
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
401
Unauthorized
Response Body
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
403
Forbidden
Response Body
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
404
User not found
Response Body
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
500
Server error
Response Body
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
curl --request PUT \
--url https://api.candescent.com/digitalbanking/ux-users/v1/customers/{customerId}:contact-info \
--header 'Authorization: SOME_STRING_VALUE' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'correlationId: SOME_STRING_VALUE' \
--data '{"userIdType":"CUSTOMER_ID","phoneNumber":{"oldPhoneNumber":"1234567890","oldCountryCode":"1","newPhoneNumber":9999999,"newCountryCode":"1"},"email":{"emailAddress":"jane.doe@gm.com"},"postalAddress":{"address1":"main street","address2":"main street","city":"bangalore","state":"karnataka","postalCode":89000,"country":"IN"}}'
RESPONSE
null
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}
{"status":"Message","message":"Verbose, plain language description of the problem","code":3000}