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/emails

Parameters

Parameter
Location
Description

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:

Field
Type
Required
Description

email

string

Yes

New email

active

boolean

Yes

Activate or deactivate email to receive information

JSON


Response

✅ Successful Response: 201 Created

  • HTTP Status Code: 201 Created

  • Body: A JSON object confirming the successful update of the email.

Example Response

JSON

❌ Unsuccessful Response: 400 Bad Request

  • HTTP Status Code: 400 Bad Request

  • Body: A JSON object containing details about the error.

Example Response

JSON

Last updated

Was this helpful?