Update Record
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"values": {},
"links": {},
"expected_version": 123
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id}"
payload = {
"values": {},
"links": {},
"expected_version": 123
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({values: {}, links: {}, expected_version: 123})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM objects
Update Record
Update only the values and links you send. A null value clears that attribute.
PUT
/
api
/
v1
/
crm
/
objects
/
{type_key}
/
records
/
{record_id}
Update Record
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"values": {},
"links": {},
"expected_version": 123
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id}"
payload = {
"values": {},
"links": {},
"expected_version": 123
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({values: {}, links: {}, expected_version: 123})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/{record_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Body
application/json
Response
200
OK
