Skip to Main Content
Riverty Docs
  • Get Started
  • Login
riverty logo Docs

Add Comment For a Dispute

Add Comment For a Dispute

Path

POST /disputes/{disputeId}/comments

Request Parameters

disputeId
required
string <uuid>
unique identifier for the dispute which need to be updated

Request Body

application/json

body
string
Max length: 10000
The text of the comment. Can be omitted if only providing attachments as proof.
array
An optional list of previously uploaded attachment identifiers.
visibility
integer
Enum:
  • 1
  • 2
  • 4
Internal = 1, Customer = 2, Merchant = 4

Responses

  • 400 Invalid request
200 Successful Request

Request Example

    
        {
 "body": "Attached is the proof of delivery",
 "attachments": [
  "244262c3-1d3f-4d2a-92c2-6d4aaa3fc828"
 ]
}
    

Response Example

    
        {
 "id": "28bf3f48-3e90-438d-722a-08ddb25b01d7",
 "body": "Attached is the proof of delivery",
 "author": {
  "$type": "Client",
  "clientName": "Example Client Inc6191"
 },
 "createdAt": "2025-06-23T13:36:49.7430971Z",
 "disputeId": "50fc9c37-cbcb-49f5-d72b-08dd939e9062",
 "attachments": [
  {
   "id": "244262c3-1d3f-4d2a-92c2-6d4aaa3fc828",
   "size": 1784046,
   "mimeType": "image/jpeg",
   "createdAt": "2025-06-24T08:17:00Z",
   "originalFileName": "Group_of_cats.jpg"
  }
 ]
}