Update Email
Description
This service is used to updatea partner email for the authenticated user.
Request
Restrictions
This service requires an authenticated user and can only be called after a successful partner login.
Endpoint
PUT https://<server-url>/api/v4/partner/emailsParameters
touchpoint
Query / Header
The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.
token
Query / Header
The authentication token for the API session. Use Thalamus-Token for the header.
email
Query
Email to be updated
Full URL Example
https://<server-url>/api/v4/partner/[email protected]&touchpoint=test&token=...Request Body
The request body must be a JSON object with the following fields:
email
string
Yes
New email
active
boolean
Yes
Activate or deactivate email to receive information
JSON
Response
✅ Successful Response: 201 Created
201 CreatedHTTP Status Code:
201 CreatedBody: A JSON object confirming the successful update of the email.
Example Response
JSON
❌ Unsuccessful Response: 400 Bad Request
400 Bad RequestHTTP Status Code:
400 Bad RequestBody: A JSON object containing details about the error.
Example Response
JSON
Last updated
Was this helpful?
