Skip to content

Dispute Notes (v2)

Owner-gated dispute note update under /v2/tenants/{tenantId}/disputes/{disputeId}/disputenotes/{noteId}. Use this endpoint when the caller should only be allowed to edit notes they created. v1 note endpoints are unchanged and remain available for existing integrations — see Dispute Notes.

The v2 update rejects the request with 403 Forbidden when the user calling the endpoint does not match the note's CreateUser (compared case-insensitively). Create, list, get, and delete for notes remain v1-only.

The v2 update replaces the note: content is required, and visibility is optional — when omitted, the note keeps its currently stored visibility.

Updating a Note (owner-gated)

Swagger Page

https://swagger-ui.aws-prod.billtrust.com/?urls.primaryName=Dispute%20Service%20v2#/DisputeNoteV2/put_v2_tenants__tenantId__disputes__disputeId__disputenotes__noteId_

Permission

Dispute Management : UPDATE

Only the user who created the note (the note's CreateUser) may update it. Other users receive 403 Forbidden without the note being changed.

Example Request
curl -X PUT 'https://arc-aegis.billtrust.com/dispute/v2/tenants/{tenantId}/disputes/{disputeId}/disputenotes/{noteId}' \
    -H 'accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'X-Billtrust-Api-Key: <API key value>' \
    -d '<request body>'
Example Request Body
{
  "content": "Phasellus nec sem in justo pellentesque facilisis.",
  "visibility": "All"
}
Request Fields
Field Type Required Description
content string Yes The updated text content of the note (the update replaces the note body)
visibility string No The visibility of the note (Internal or All). When omitted, the note keeps its currently stored visibility
Example Response

See DisputeNoteV2Response.

Error Responses
Status Description
403 The calling user did not create the note and is not permitted to update it
404 The requested dispute note does not exist
400 Something was wrong with the request

Appendix

DisputeNoteV2Response
{
  "disputeNoteId": "{noteId}",
  "tenantId": "{tenantId}",
  "disputeId": "{disputeId}",
  "content": "Spoke with customer, they confirmed the shipment arrived damaged.",
  "visibility": "All",
  "createUser": "{userId}",
  "createDate": "2021-03-28T14:27:48.190Z",
  "updateUser": "{userId}",
  "updateDate": "2021-03-28T14:27:48.190Z"
}