Updates an account with accountId specified in the request body. This update method is useful when the account ID contains special characters that make it impossible to use the update method with the accountId in the request path.
PUT
/v1/accounts/update
curl \
--request PUT 'https://api.aptrinsic.com/v1/accounts/update' \
--header "Content-Type: application/json" \
--data '{"id":"string","name":"string","trackedSubscriptionId":"string","sfdcId":"string","lastSeenDate":42,"dunsNumber":"string","industry":"string","numberOfEmployees":42,"sicCode":"string","website":"string","naicsCode":"string","plan":"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":{},"parentGroupId":"string","renewalDate":42,"healthScore":42,"gsId":"string","nps":42.0,"csm":"string"}'
Request examples
{
"id": "string",
"name": "string",
"trackedSubscriptionId": "string",
"sfdcId": "string",
"lastSeenDate": 42,
"dunsNumber": "string",
"industry": "string",
"numberOfEmployees": 42,
"sicCode": "string",
"website": "string",
"naicsCode": "string",
"plan": "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": {},
"parentGroupId": "string",
"renewalDate": 42,
"healthScore": 42,
"gsId": "string",
"nps": 42.0,
"csm": "string"
}
Response examples (204)
{
"body": {},
"statusCode": "100",
"statusCodeValue": 42
}