---
title: "Patch a claim"
method: PATCH
path: "/api/v1/drafts/{draftClaimId}"
tags: ["Draft claims"]
---

# Patch a claim

`PATCH /api/v1/drafts/{draftClaimId}`

## Request

- Base URL: `http://localhost:8090`
- URL: `http://localhost:8090/api/v1/drafts/{draftClaimId}`
- Auth: none declared. Required headers: `If-Match`

## Path parameters

- `draftClaimId` string, uuid, required

## Headers

- `If-Match` string, required

## Request body

- DraftClaimPatch: Updated claim fields
  - `payload` object: payload

## Response `200`

Draft claim patched successfully

- DraftClaim
  - `version` integer, required
  - `id` string, uuid, required
  - `payload` object: payload
  - `providerUserId` string, uuid: ID of the provider user making the submission

## Other responses

- `400`: Invalid request body
- `403`: Invalid provider user ID
- `404`: Draft claim not found

## Changes

- **2026-08-06** `2380e2ea7c1d`: 1 breaking, 1 info
  - added the new required `header` request parameter `If-Match`
  - added the required property `version` to the response with the `200` status
- **2026-07-16** `bbd890b405c7`: 2 breaking
  - the `payload` request property type changed from `string` to `object`
  - the `payload` response's property type changed from `string` to `object` for status `200`
- **2026-07-15** `bc1032512b4b`: 1 info
  - api operation id `patchClaim` removed and replaced with `patchDraftClaim`
- **2026-07-10** `f77ef1a2ebfa`: 1 info
  - api operation id `patchClaim` removed and replaced with `patchDraftClaim`
- **2026-07-10** `d46606c95cba`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/changes/api/v1/drafts/:draftClaimId/patch.md)

---

[API](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api.md) - [All operations](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/revisions/2380e2ea7c1d?raw)
