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

Get All Shop Disputes

Get all disputes for such client. This endpoint returns a list of disputes that the customers
submitted on products owned by a client.

This endpoint supports filtering out results based on dispute status and also all disputes
for a specific time period.

Path

GET /disputes

Request Parameters

sortBy
string
Enum:

CreatedAt

StatusId

ReasonCodeId

TicketNumber

Deadline

UpdatedByConsumerOrRivertyAt

AgentAssignee

DisputeAmount

(optional) sort results by a property. By default, CreatedAt.
sortMethod
string
Enum:

Desc

Asc

(optional) select the sorting method to be asc or desc. By default, desc.
query
string
(optional) query is a key to search for a dispute by invoice number or ticket number.
startDate
string <date-time>
(optional) startDate is the earliest creation time of the dispute to be considered.
endDate
string <date-time>
(optional) endDate is the latest creation time of the dispute to be considered.
pageSize
integer <int32> default: 20
(optional) number of items per page. Default is 20.
pageNumber
integer <int32> default: 1
(optional) jump to a page. Default is 1

Responses

  • 400 Invalid request
200 Successful Request

Request Example

    
        {
 "query": "D-0001-4112",
 "sortBy": "TicketNumber",
 "endDate": "2025-06-01",
 "pageSize": 20,
 "startDate": "2025-05-01",
 "pageNumber": 1,
 "sortMethod": "Asc"
}
    

Response Example

    
        {
 "paging": {
  "total": 1,
  "pageSize": 20
 },
 "results": [
  {
   "id": "50fc9c37-cbcb-49f5-d72b-08dd939e9062",
   "stage": {
    "id": 6
   },
   "invoice": {
    "client": {
     "shopId": "AFS000003926"
    },
    "invoiceNumber": "802693330"
   },
   "decision": {
    "name": "Write-off"
   },
   "createdAt": "2025-05-15T10:52:19.2984008Z",
   "reasonCode": {
    "shortCode": "R1"
   },
   "attachments": [
    {
     "id": "d3cd4950-9541-4867-063f-08ddb25bc8cc",
     "size": 1784046,
     "mimeType": "image/jpeg",
     "createdAt": "2025-06-24T08:17:00Z",
     "originalFileName": "Group_of_cats.jpg"
    }
   ],
   "ticketNumber": "D-0001-4112"
  }
 ]
}