riverty logo

Docs

Get Started Login

Get Shop Dispute By Id

Retrieves a dispute by Id

Path

GET /disputes/{disputeId}

Request Parameters

disputeId
required
string
Unique identifier for the dispute, it should be a GUID

Responses

200 Successful Request

Request Example

    
        {
 "countryCode": "market country code for the shop",
 "shopId": "unique identifier for the shop",
 "disputeId": "Unique identifier for the dispute, it should be a GUID"
}
    

Response Example

    
        {
 "id": "bcfa6a6e-5390-417d-8cf0-a8638ad6f48f",
 "customerId": "1e669798-4bf9-485e-81e4-6397029c7c1b",
 "clientId": 1,
 "source": "Web",
 "reasonCode": {
  "reasonCodeId": 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",
 "invoiceNumber": null,
 "ticketNumber": null,
 "invoiceDate": "2024-05-17",
 "amount": "600.54",
 "disputeAmount": "600.54",
 "orderId": "987212",
 "orderNumber": "OR#123987445",
 "trackingId": "RT12409821212",
 "consumerLanguage": null,
 "clientLanguage": null,
 "attachments": [
  {
   "id": "64c9c488-e712-402f-83bd-6f6477ae0a70",
   "fileName": "8a255430-f51d-4251-8fb0-4eb28ca42924",
   "originalFileName": "tv_screen_broken.jpg",
   "createdAt": "2024-05-17T08:04:22.4252548+00:00",
   "size": 12432,
   "mimeType": "image/jpg",
   "url": "/Attachments/64c9c488-e712-402f-83bd-6f6477ae0a70"
  }
 ],
 "clientDisputeStatus": {
  "id": 1,
  "name": "Waiting for shop"
 },
 "customerDisputeStatus": {
  "id": 1,
  "name": "Waiting for shop"
 },
 "createdAt": "2024-05-24T08:04:22.4252536Z",
 "updatedAt": "2024-05-24T08:04:22.4252563Z",
 "customer": {
  "customerId": "6bc044c4-4226-485d-be0f-40a1ef6eac90",
  "firstName": "Martin",
  "lastName": "John",
  "countryCode": "DE",
  "email": "martin.john@example.com"
 },
 "client": {
  "id": 1,
  "name": "ABC",
  "email": "info@example.com",
  "countryCode": "DE",
  "country": "Germany",
  "shopId": "29606889"
 },
 "stage": null,
 "decision": null
}