v1

latestOpenAPI 3.0.32026-08-06150495.9 KB
Dispute Manager API

Get All Disputed Orders

Dispute Manager API - Fetch Orders

This endpoint allows you to retrieve dispute manager orders associated with specific listings within a defined date range. You can specify the number of orders to return, as well as pagination and sorting options.

Request

HTTP Method

POST

URL

{{base-url}}/v1/dispute-manager/orders?limit=5&offset=1&order=-1

Request Body

The request body must be in JSON format and includes the following parameters:

KeyTypeDescription
startDatestringThe start date for filtering orders (format: YYYY-MM-DD).
endDatestringThe end date for filtering orders (format: YYYY-MM-DD).
listingIdsarrayAn array of listing IDs to filter the orders.
channelarrayAn array specifying the channels from which to fetch orders (e.g., DOORDASH, UBEREATS, GRUBHUB, DOORDASH_DRIVE).
showDummyDatabooleanWhether to show dummy data for testing purposes.

Example Request Body

{
    "startDate": "2025-10-12",
    "endDate": "2025-11-11",
    "listingIds": [
        "P67071",
        "P67073"
    ],
    "channel": [
        "DOORDASH",
        "UBEREATS",
        "GRUBHUB",
        "DOORDASH_DRIVE"
    ],
    "showDummyData": false
}

Response

Response Body

The response will be in JSON format and contains the following structure:

KeyTypeDescription
statusbooleanIndicates the success of the request.
statusCodeintegerA code representing the status of the request (200 for success).
messagestringA message providing additional information about the request.
resultobjectContains the main data returned from the API.

Result Structure

The result object contains the following keys:

KeyTypeDescription
totalintegerThe total number of orders matching the criteria.
ordersarrayAn array of order objects.

Orders Array Structure

Each object in the orders array contains the following fields:

KeyTypeDescription
deliveryUUIDstringUnique identifier for the delivery.
orderIdstringUnique identifier for the order.
channelstringThe channel from which the order originated.
listingIdstringUnique identifier for the listing associated with the order.
storeIdstringUnique identifier for the store associated with the order.
brandIdstringUnique identifier for the brand associated with the order.
customerNamestringName of the customer who placed the order.
statusstringCurrent status of the dispute (e.g., APPROVED, PENDING).
disputeReasonstring/nullReason for the dispute, if provided.
disputeDescriptionstringDescription of the dispute.
netPayoutobjectContains earnedAmount and lostAmount for the order.
datestringThe date of the order (ISO 8601 format).
dayLeftToDisputeintegerNumber of days remaining to file a dispute.
autoDisputablebooleanIndicates if the order can be auto-disputed.
disputablebooleanIndicates if the order is disputable.
orderStatusstringStatus of the order (e.g., FULFILLED, CANCELLED).

Example Response

{
  "status": true,
  "statusCode": 200,
  "message": "Dispute manager orders fetched successfully",
  "result": {
    "total": 261,
    "orders": [
      {
        "deliveryUUID": "6ca2ce22-a795-11f0-8e23-5fcea5290c3e",
        "orderId": "534831330732971",
        "channel": "GRUBHUB",
        "listingId": "P67071",
        "storeId": "P6707",
        "brandId": "336",
        "customerName": "",
        "status": "APPROVED",
        "disputeReason": null,
        "disputeDescription": "MISSING_ITEM - Refund requested by diner via help interaction",
        "netPayout": {
          "earnedAmount": 4.69,
          "lostAmount": 0
        },
        "date": "2025-10-12T00:00:00.000Z",
        "dayLeftToDispute": 0,
        "autoDisputable": false,
        "disputable": false,
        "orderStatus": "FULFILLED"
      },
      {
        "deliveryUUID": "fee32e12-a77c-11f0-ae13-1f09dcce7fc7",
        "orderId": "894431330008472",
        "channel": "GRUBHUB",
        "listingId": "P67071",
        "storeId": "P6707",
        "brandId": "336",
        "customerName": "",
        "status": "APPROVED",
        "disputeReason": null,
        "disputeDescription": "MISSING_ITEM - Refund requested by diner via help interaction",
        "netPayout": {
          "earnedAmount": 9.01,
          "lostAmount": 0
        },
        "date": "2025-10-12T00:00:00.000Z",
        "dayLeftToDispute": 0,
        "autoDisputable": false,
        "disputable": false,
        "orderStatus": "FULFILLED"
      }
    ]
  }
}

Status Codes

  • 200 OK: The request was successful, and the response contains the requested data.

  • Other Status Codes: Refer to the API documentation for additional status codes and their meanings.

This endpoint is essential for managing and analyzing dispute manager orders across different channels, helping businesses to respond effectively to order disputes.

post/v1/dispute-manager/orders

Query parameters

limitinteger
Example:5

(optional) – Specifies the number of orders to fetch. If not provided, the default value is 5.

offsetinteger
Example:1

(optional) – Specifies the starting point for fetching the records. Used for pagination. The default value is 0.

orderinteger
Example:-1

(optional) – Sort order for the results. Use -1 for descending order and 1 for ascending order.

Headers

tokenstring
Example:{{access-token}}

(required) – JWT authentication token for secure access to the API.

x-api-keystring
Example:YOUR_API_KEY_HERE

(required) – API key for authentication.

Request body

channelstring[]
endDatestring
listingIdsstring[]
startDatestring
showDummyDataboolean

Example request

{
  "channel": [
    "DOORDASH",
    "UBEREATS",
    "GRUBHUB",
    "DOORDASH_DRIVE"
  ],
  "endDate": "2025-11-11",
  "listingIds": [
    "P67071",
    "P67073"
  ],
  "startDate": "2025-10-12"
}

Response

200 / 200

statusboolean
statusCodenumber
messagestring

Example response

{
  "status": true,
  "statusCode": 200,
  "message": "Dispute manager orders fetched successfully",
  "result": {
    "total": 261,
    "orders": [
      {
        "deliveryUUID": "6ca2ce22-a795-11f0-8e23-5fcea5290c3e",
        "orderId": "534831330732971",
        "channel": "GRUBHUB",
        "listingId": "P67071",
        "storeId": "P6707",
        "brandId": "336",
        "customerName": "",
        "status": "APPROVED",
        "disputeReason": null,
        "disputeDescription": "MISSING_ITEM - Refund requested by diner via help interaction",
        "netPayout": {
          "earnedAmount": 4.69,
          "lostAmount": 0
        },
        "date": "2025-10-12T00:00:00.000Z",
        "dayLeftToDispute": 0,
        "autoDisputable": false,
        "disputable": false,
        "orderStatus": "FULFILLED"
      },
      {
        "deliveryUUID": "fee32e12-a77c-11f0-ae13-1f09dcce7fc7",
        "orderId": "894431330008472",
        "channel": "GRUBHUB",
        "listingId": "P67071",
        "storeId": "P6707",
        "brandId": "336",
        "customerName": "",
        "status": "APPROVED",
        "disputeReason": null,
        "disputeDescription": "MISSING_ITEM - Refund requested by diner via help interaction",
        "netPayout": {
          "earnedAmount": 9.01,
          "lostAmount": 0
        },
        "date": "2025-10-12T00:00:00.000Z",
        "dayLeftToDispute": 0,
        "autoDisputable": false,
        "disputable": false,
        "orderStatus": "FULFILLED"
      }
    ]
  }
}