post https://{host}/v1.1/customer/update_identity
Lets you submit request to update primary and secondary identifiers (mobile no./email id/external id) of a loyalty customer. Requests submitted through customer/update_identity
will be in pending state by default. Capillary back-end team verifies the requests and process it accordingly.
Request Body Parameters
Parameter | Datatype | Description |
---|---|---|
identifier* | enum | Pass the identifier name that you want to update. Value: mobile , email , external_id . |
old_value* | string | Provide the existing value the identifier that you want to update. Note: For mobile numbers, add the mobile number with the country code. |
new_value* | string | Provide the new value of the identifier. |
Response Parameters
Parameter | Datatype | Description |
---|---|---|
identifier* | enum | Name of the identifier. |
old_value* | string | Earlier value of the identifier. |
new_value* | string | New identifier value. |
updated | boolean | Returns true if the the identifier is updated successfully. |