Update a member
PUT/martech/{connection_id}/member/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Member
Payload
A member represents a person
idstring
Unique identifier for this member object
created_atdate
The date that this member object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this member object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The name of the member
first_namestring
last_namestring
list_idsstring array
An array of list IDs associated with this member
tagsstring array
An array of tags associated with this member
status enum
Valid values:
"SUBSCRIBED"
"UNSUBSCRIBED"
"CLEANED"
"PENDING"
"TRANSACTIONAL"
Returns
A member represents a person
idstring
Unique identifier for this member object
created_atdate
The date that this member object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this member object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The name of the member
first_namestring
last_namestring
list_idsstring array
An array of list IDs associated with this member
tagsstring array
An array of tags associated with this member
status enum
Valid values:
"SUBSCRIBED"
"UNSUBSCRIBED"
"CLEANED"
"PENDING"
"TRANSACTIONAL"
const options = {
method: 'PUT',
url: 'https://api.unified.to/martech/5de520f96e439b002043d8dc/member/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know