Updates information for an existing user account.Query Parameters#
| Name | Type | Required | Description |
|---|
userId | string | Yes | Unique identifier for the user |
Request Body#
| Field | Type | Required | Description |
|---|
firstName | string | No | User's first name |
company | string | No | Name of the company the user is associated with |
lastName | string | No | User's last name |
country | string | No | User's country of residence |
city | string | No | User's city of residence |
addressLineOne | string | No | Primary address line (street address) |
addressLineTwo | string | No | Secondary address line (e.g., building number) |
addressLineThree | string | No | Additional address line (e.g., apartment number) |
languagePreference | string | No | User's preferred language (e.g., en) |
postalCode | string | No | Postal code for the user's address |
state | string | No | State or province where the user resides |
phoneCc | string | No | Country code for the user's phone number |
phone | string | No | User's phone number (excluding country code) |
email | string | No | User's email address |
Request
Add parameter in header cmr-x-api-key
Example:cmr-x-api-key: ********************
or
Body Params application/json
{
"addressLineThree": "Building 8",
"languagePreference": "en",
"company": "Innovatech Solutions",
"firstName": "John",
"lastName": "Doe",
"country": "US",
"city": "San Francisco",
"addressLineOne": "456 Market Street",
"addressLineTwo": "Floor 2",
"postalCode": "94105",
"state": "California",
"phoneCc": "1",
"phone": "4155556789",
"email": "john.doe@example.com"
}
Request Code Samples
curl --location --request PUT 'https://customers.coldmailreseller.com/api/v1/integration/users?userId=4CZNXJNXEEMECTH5Q65AXCB8QE78' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"addressLineThree": "Building 8",
"languagePreference": "en",
"company": "Innovatech Solutions",
"firstName": "John",
"lastName": "Doe",
"country": "US",
"city": "San Francisco",
"addressLineOne": "456 Market Street",
"addressLineTwo": "Floor 2",
"postalCode": "94105",
"state": "California",
"phoneCc": "1",
"phone": "4155556789",
"email": "john.doe@example.com"
}'
Responses
application/json {
"status": 200,
"message": "User credentials updated",
"data": null
}
Modified at 2025-10-29 17:03:55