Disputes (Beta)

reject dispute

post/investigations/action_requests/{action_request_id}/reject

Path parameters

action_request_idstring uuid required
Example:019708f5-1e6a-28ca-0306-fa0af0104ce4

Request body

Example request

{
  "reason": {
    "code": "NAUT",
    "description": "Item was delivered (see uploaded evidence)"
  }
}

Response

OK

Example response

{
  "jsonapi": {
    "version": "1.0"
  },
  "data": {
    "id": "0196f9a6-c8ba-9b54-2913-5e0a8d42dd40",
    "attributes": {
      "raised_at": "2025-05-23T12:00:00Z",
      "state": "open"
    },
    "links": {
      "self": "/investigations/disputes/0196f9a6-c8ba-9b54-2913-5e0a8d42dd40"
    },
    "relationships": {
      "events": {
        "data": [
          {
            "id": "0196f9a7-1aca-54a5-ba76-722e8e70deda",
            "attributes": {
              "at": "2025-05-23T14:30:00Z"
            }
          }
        ]
      },
      "uploads": {
        "data": [
          {
            "id": "0196f9a7-3465-ae88-7cc8-6fabacb573bc",
            "attributes": {
              "urn": "urn:example:0196f9a7-3465-ae88-7cc8-6fabacb573bc"
            }
          }
        ]
      }
    }
  }
}