Update a note
Updates an existing note by ID. Only included fields and relationships are modified.
$account, $opportunity, $contact, and $meeting relationships can be modified via add and/or remove operations (combined in one call or separately).
Supports idempotency via the Idempotency-Key header.
Required scope: notes:update
Rate limit category: Write
Parameters
Field values to update — only provided fields are modified; omitted fields are left unchanged. See Fields and relationships for value type details.
Relationship operations to apply. System relationships use a $ prefix (e.g. $account, $opportunity, $contact, $meeting); custom relationships use their bare slug. Each value is an operation object with add and/or remove. replace is not supported since note relationships are HAS_MANY.
Update a note
lightfield note update \
--api-key 'My API Key' \
--id id{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}