Update a note
$ lightfield note update
POST/v1/notes/{id}
Updates an existing note by ID. Only included fields and relationships are modified.
Both $account and $opportunity relationships can be modified via add or remove operations.
Supports idempotency via the Idempotency-Key header.
Required scope: notes:update
Rate limit category: Write
Parameters
--fields: optional object { "$content", "$title" }
Field values to update — only provided fields are modified; omitted fields are left unchanged. See Fields and relationships for value type details.
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"
]
}
},
"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"
]
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}