Secure Payments API – Update a Customer Note


Updating a customer note is one of the customer options available through the Secure Payments API.

How To

To edit an existing note, send a PUT request to the following endpoint:

PUT{id}/note/{note id}
The customer and note IDs are both specific to the note you're trying to edit. If you don't know the customer ID, see our GET Customers article. If you don't know the note ID, see GET Customer Notes.

Here is what the payload of the request should look like:

{    "note": "Sample note edit"  }

The request can also be sent in a cURL format like shown below:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"note": "Sample note edit" \
}' '"customer id"/note/"note id"'

A successful request will result in a response like the following:

"result": true

If you get a 404 error, it might be that you used /note in the endpoint rather than /notes. It could also be that you've sent a POST request instead of a PUT.

How did we do?

Powered by HelpDocs (opens in a new tab)