Skip to main content
PATCH
/
v1
/
customer
/
disputes
/
{id}
Partially update dispute
curl --request PATCH \
  --url https://api-m.sandbox.paypal.com/v1/customer/disputes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "op": "add",
    "path": "<string>",
    "value": "<unknown>",
    "from": "<string>"
  }
]
'
{
  "links": [
    {
      "href": "<string>",
      "rel": "<string>",
      "method": "GET"
    }
  ]
}

Authorizations

Authorization
string
header
required

Oauth 2.0 authentication

Path Parameters

id
string
required

The ID of the dispute for which to provide the supporting information.

Required string length: 1 - 255

Body

op
enum<string>
required

The operation.

Available options:
add,
remove,
replace,
move,
copy,
test
path
string

The JSON Pointer to the target document location at which to complete the operation.

value
any

The value to apply. The remove, copy, and move operations do not require a value. Since JSON Patch allows any type for value, the type property is not specified.

from
string

The JSON Pointer to the target document location from which to move the value. Required for the move operation.

Response

A successfully accepted request returns the HTTP 202 Accepted status code and a JSON response body that includes a HATEOAS link to the ID of the request. The Clients can choose webhook option as well to receive dispute update notification.

The subsequent action.

An array of request-related HATEOAS links.

Required array length: 1 - 10 elements