Members
Edit a member
Modify the representation of a member by changing only the specified attributes. Unspecified attributes are left untouched.
patch/members/{key}
Request
- Base URLhttps://api.cyberimpact.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
keystring required
Can be either the member's email address or their numerical ID
Request body
Example request
{
"email": "testing@example.org",
"gender": "f",
"firstname": "Janette",
"lastname": "Doe",
"company": "Doe Company inc",
"language": "en_ca",
"birthdate": "1980-12-04",
"postalCode": "h1h1h1",
"country": "CA",
"note": "This is a test.",
"customFields": {
"1": "this is a test!",
"2": 200,
"3": 1.5,
"4": "2000-01-01"
}
}Response
Attributes of the edited member
Example response
{
"id": 3664823,
"firstname": "John",
"lastname": "Doe",
"company": "John Doe Company inc",
"email": "john.doe@example.org",
"gender": "m",
"language": "fr_ca",
"joinedOn": "2014-12-09 13:42:48.020",
"updatedOn": "2014-12-10 12:41:42.020",
"consentType": "implied",
"country": "CA",
"customFields": {
"1": "This is a test !",
"2": 1000,
"3": 1.5,
"4": "2000-01-01"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.