Updates a user with identifyId specified in the request body. This update method is useful when the identify ID contains special characters that make it impossible to use the update method with the identifyId in the request path.
PUT
/v1/users/update
curl \
--request PUT 'https://api.aptrinsic.com/v1/users/update' \
--header "Content-Type: application/json" \
--data '{"identifyId":"string","type":"LEAD","gender":"MALE","email":"string","firstName":"string","lastName":"string","signUpDate":42,"firstVisitDate":42,"title":"string","phone":"string","score":42,"role":"string","subscriptionId":"string","accountId":"string","location":{"countryName":"United States","countryCode":"USA","stateName":"California","stateCode":"CA","city":"San Mateo","street":"101 Broadway","postalCode":94010,"continent":"NA","regionName":"string","timeZone":"string","coordinates":{"latitude":37.567147,"longitude":-122.324211}},"propertyKeys":["AP-XXXXXXXXXX-2"],"customAttributes":{},"globalUnsubscribe":true,"sfdcContactId":"string","channelMetricList":[{"groupId":"string","channel":42,"environment":42,"firstSeenDate":42,"lastSeenDate":42}],"lastVisitedUserAgentData":[{"propertyKey":"string","userAgent":{"rawUserAgent":"string","device":"string","platformType":"string","platformVersion":"string","browserType":"string","browserVersion":"string"}}],"lastInferredLocation":{"countryName":"United States","countryCode":"USA","stateName":"California","stateCode":"CA","city":"San Mateo","street":"101 Broadway","postalCode":94010,"continent":"NA","regionName":"string","timeZone":"string","coordinates":{"latitude":37.567147,"longitude":-122.324211}}}'
Request examples
{
"identifyId": "string",
"type": "LEAD",
"gender": "MALE",
"email": "string",
"firstName": "string",
"lastName": "string",
"signUpDate": 42,
"firstVisitDate": 42,
"title": "string",
"phone": "string",
"score": 42,
"role": "string",
"subscriptionId": "string",
"accountId": "string",
"location": {
"countryName": "United States",
"countryCode": "USA",
"stateName": "California",
"stateCode": "CA",
"city": "San Mateo",
"street": "101 Broadway",
"postalCode": 94010,
"continent": "NA",
"regionName": "string",
"timeZone": "string",
"coordinates": {
"latitude": 37.567147,
"longitude": -122.324211
}
},
"propertyKeys": [
"AP-XXXXXXXXXX-2"
],
"customAttributes": {},
"globalUnsubscribe": true,
"sfdcContactId": "string",
"channelMetricList": [
{
"groupId": "string",
"channel": 42,
"environment": 42,
"firstSeenDate": 42,
"lastSeenDate": 42
}
],
"lastVisitedUserAgentData": [
{
"propertyKey": "string",
"userAgent": {
"rawUserAgent": "string",
"device": "string",
"platformType": "string",
"platformVersion": "string",
"browserType": "string",
"browserVersion": "string"
}
}
],
"lastInferredLocation": {
"countryName": "United States",
"countryCode": "USA",
"stateName": "California",
"stateCode": "CA",
"city": "San Mateo",
"street": "101 Broadway",
"postalCode": 94010,
"continent": "NA",
"regionName": "string",
"timeZone": "string",
"coordinates": {
"latitude": 37.567147,
"longitude": -122.324211
}
}
}
Response examples (204)
{
"body": {},
"statusCode": "100",
"statusCodeValue": 42
}