# Update an existing Claim

Updates an existing claim

## Update an existing Claim

<mark style="color:purple;">`PATCH`</mark> `https://api.xclaim.xcover-staging.com/partners/{partnerCode}/claims/{claimUuid}`

Update an existing claim belongs to the partner.

#### Path Parameters

| Name                                          | Type   | Description |
| --------------------------------------------- | ------ | ----------- |
| partnerCode<mark style="color:red;">\*</mark> | String | eg. XYZ999  |

#### Headers

| Name                                            | Type   | Description          |
| ----------------------------------------------- | ------ | -------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer {{JWT token}} |

{% tabs %}
{% tab title="200: OK " %}
{% tabs %}
{% tab title="Request" %}

```json
{
	"sectionFields": [
		{
            "name": "claim_details",
            "fields": [
                {
                    "name": "vehicle_registration",
                    "value": "ZZYYAA99"
                }
            ]
        }
	]
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "data": {
        "id": "fd98bfd5-7702-4ede-afdc-78686b3bdfb9",
        "claimReference": "4TWMV-G8VLC-CLA",
        "bookingReference": "9PAL3-VWCMR-INS",
        "status": {
            "category": "Submitted"
        }
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="403: Forbidden " %}
{% tabs %}
{% tab title="Request" %}

{% endtab %}

{% tab title="Response" %}

```json
{
    "type": "exception",
    "message": "Unauthorized action"
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="422: Unprocessable Entity " %}
{% tabs %}
{% tab title="Request" %}

{% endtab %}

{% tab title="Response" %}

```json
{
    "type": "exception",
    "message": "The section_fields.0.name field is required.",
    "errors": {
        "sectionFields.0.name": [
            "The section_fields.0.name field is required."
        ]
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://partner-docs.covergenius.com/xclaim/claims/update-an-existing-claim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
