Notes
Add, change and delete what your team knows about a customer.
A note is what your team writes about a customer, such as "Called her: wants size 42 in black." Notes aren't activity: they count in no segment or analytics. They show in the customer's timeline.
Requirements
- An API key with the
notes.writepermission to add, change and delete notes, andnotes.readto read them.
Requests
POST /v1/customers/{id}/notesRequest syntax
{ "text": "<TEXT>" }| Placeholder | Description | Sample value |
|---|---|---|
<TEXT> | String. Plain text, up to 5,000 characters. | Called her: wants size 42 in black. |
Example request
curl https://api.goomzo.africa/v1/customers/cus_4hq2v9n1c8x0t6pk/notes \
-H "Authorization: Bearer $GOOMZO_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "text": "Called her: wants size 42 in black." }'Responses
The answer is 201 with the note: its id, text, whether it was edited, whether the key can change it
(canEdit), and when it was written.
Notes
- Reading:
GET /v1/customers/{id}/noteslists them, newest first, a page at a time. - Changing:
PATCH /v1/customers/{id}/notes/{noteId}with a newtext, andDELETEto remove one. Only whoever wrote a note can change or delete it: a key only its own, a person only theirs. Others are403 not_your_note. - With the customer: notes are deleted with their customer, and move to the customer they're merged into.
Next steps
Last updated