riverty logo

Docs

Path

GET /{clientId}/disputes/{disputeId}

Request Parameters

clientId
required
integer
The client id associated with the dispute
disputeId
required
string
Unique identifier for the dispute, it should be a GUID

Responses

Successful Request

Request Example

    
        null
    

Response Example

    
        {
 "id": "c7a4571c-51b8-4bd2-a583-d1167e1eb6d0",
 "customerId": "20504cae-2ec5-4a1d-9331-667c70293bd5",
 "clientId": 1,
 "source": "Web",
 "reason": {
  "id": 10203,
  "name": "I have a problem with the product"
 },
 "description": "Last week, I bought new TV from ABC, Frankfurt branch, while when I I recieved it today, I found TV's screen is broken.",
 "invoiceId": "INV#1234",
 "invoiceDate": "12/05/2023 15:49:32",
 "amount": "600.54",
 "disputeAmount": "600.54",
 "orderId": "987212",
 "orderNumber": "OR#123987445",
 "trackingId": "RT12409821212",
 "attachments": [
  {
   "id": "67661f12-31d2-48da-84d1-bb062cf2b57e",
   "fileName": "8d6e2541-b88b-403b-8fbd-9425a44538bf",
   "originalFileName": "tv_screen_broken.jpg",
   "createdAt": "12/05/2023 15:49:32",
   "size": 12432,
   "source": "Customer",
   "mimeType": "image/jpg",
   "url": "/Complaints/c7a4571c-51b8-4bd2-a583-d1167e1eb6d0/attachments/67661f12-31d2-48da-84d1-bb062cf2b57e"
  }
 ],
 "complaintStatus": {
  "id": 1,
  "name": "Waiting for shop"
 },
 "createdAt": "2023-12-12T15:49:32.5924911Z",
 "updatedAt": "2023-12-12T15:49:32.5925004Z",
 "customer": {
  "customerId": "eed03593-4633-4a92-a515-03627098a439",
  "firstName": "Martin",
  "lastName": "John",
  "countryCode": "DE",
  "email": "martin.john@gmail.com",
  "name": "Martin John"
 },
 "client": {
  "id": 1,
  "name": "ABC",
  "email": "info@abc.de",
  "countryCode": "DE",
  "country": "Germany"
 }
}