Update Contact Info
PATCH/v2/customer-persons/:customerId/contact-info
This API enables users to securely and efficiently update their email address
or mobile number
, focusing on data integrity, and robust error handling to prevent unauthorized access.
The key considerations when updating the contact info are as follows:
- Single Contact Policy: Each user profile can have only one email address and one mobile number at any given time.
- Primary Designation: The specified email and mobile number are treated as the primary contact details.
- Verification Requirement: Only verified contact information can be updated in the user’s profile; unverified details are not allowed.
- Uniqueness: Each email and mobile number must be unique across accounts, preventing duplicate registrations.
- Reassignment of Old Contact: When a contact detail is updated, the previous one is marked as removed and cannot be used by other users until it is totally removed. A request to the operations team is needed to totally remove the attribute, making it available for future registrations.
Request
Responses
- 200
- 400
- 429
- 500
- 503
OK
Bad Request
Too Many Requests
Internal Server Error
Service Unavailable. Please try again later.