/
Update a note for a custo...
Only the member who wrote the note can update it, and only notes written in Hook or synced from Salesforce. Fields left out are unchanged. A null title clears it. userIds and contactIds replace the people linked to the note.
Security
bearerAuth
- Mock serverhttps://docs.api.hook.co/_mock/v1/openapi/organizations/{organizationId}/customers/{customerId}/notes/{noteId}
- https://api.hook.co/v1https://api.hook.co/v1/organizations/{organizationId}/customers/{customerId}/notes/{noteId}
curl -i -X PATCH \
'https://docs.api.hook.co/_mock/v1/openapi/organizations/my-organization-id/customers/{customerId}/notes/{noteId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"categoryId": 3,
"title": "Kick off call",
"body": "Discussed onboarding plan.",
"userIds": [
7,
11
],
"contactIds": [
21,
34
]
}'Default Response
Response
{ "id": 64, "customerId": 12, "title": "Kick off call", "body": "Discussed onboarding plan.", "category": { "id": 3, "name": "Meeting" }, "users": [ { … } ], "contacts": [ { … } ], "sources": [ "hook" ], "createdDate": "2019-08-24T14:15:22Z", "updatedDate": "2019-08-24T14:15:22Z" }