---
title: "Set Auto Dispute"
method: POST
path: "/v1/dispute-manager/auto-dispute/set-auto-dispute"
tags: ["Dispute Manager API"]
---

# Set Auto Dispute

`POST /v1/dispute-manager/auto-dispute/set-auto-dispute`

# Dispute Manager API - Set Auto Dispute

This endpoint enables automatic dispute functionality for specified listing IDs on a particular channel. Once enabled, all disputed orders associated with those listing IDs will be automatically disputed by the system, streamlining the dispute resolution process.

## Request

### HTTP Method

`POST`

### URL

`{{base-url}}/v1/dispute-manager/auto-dispute/set-auto-dispute`

### Request Body

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

| Key | Type | Description |
| --- | --- | --- |
| stores | array | An array of listing/store IDs for which auto dispute should be enabled. |
| channel | string | The channel for which to enable auto dispute (e.g., DOORDASH, UBEREATS, GRUBHUB). |

#### Example Request Body

``` json
{
    "stores": [
        "P3781",
        "P3782",
        "P3783",
        "P3784",
        "P3785",
        "P3786",
        "P3787"
    ],
    "channel": "DOORDASH"
}

 ```

## Response

### Response Body

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

| Key | Type | Description |
| --- | --- | --- |
| status | boolean | Indicates the success of the request. |
| statusCode | integer | A code representing the status of the request (200 for success). |
| message | string | A message providing additional information about the request. |
| error | null | Contains error details if the request was unsuccessful. |

#### Example Response

``` json
{
  "status": true,
  "statusCode": 200,
  "message": "Auto dispute details saved successfully",
  "error": null
}

 ```

### Status Codes

- **200 OK**: The request was successful, and auto dispute has been enabled for the specified listings.
    
- **Other Status Codes**: Refer to the API documentation for additional status codes and their meanings.
    

This endpoint is essential for automating the dispute management process, allowing businesses to efficiently handle disputes across multiple listings without manual intervention.

## Headers

- `token` string
- `x-api-key` string

## Request body

- object
  - `stores` string[]
  - `channel` string

## Response `200`

200

- object
  - `status` boolean
  - `statusCode` number
  - `message` string
  - `error` unknown

---

[API](https://skmtc.net/voosh/apis/voosh-api-documentation.md) · [All operations](https://skmtc.net/voosh/apis/voosh-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voosh/voosh-api-documentation/revisions/d53ba6056960/schema)
