CrmNote

Update Note

PATCH
Update a note

Path parameters

idstringRequired

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Request

This endpoint expects an object.
additional
anyRequired

Any fields that are not unified yet/non-unifiable come inside this json object.

content
stringRequired
The contents of the note in plain text or HTML.
associations
objectOptional

Response

This endpoint returns an object
status
enum
Allowed values: okerror
message
string
result
any
PATCH
1curl -X PATCH https://api.revert.dev/crm/notes/:id \
2 -H "x-revert-api-token: string" \
3 -H "x-revert-t-id: string" \
4 -H "x-api-version: string" \
5 -H "Content-Type: application/json" \
6 -d '{
7 "additional": {},
8 "content": "string"
9}'
200Updated
1{
2 "status": "ok",
3 "message": "string",
4 "result": {}
5}