customers

Add a version to a claim

Changed on

Writes a new value to one of the person's claims. The value must be of the claim's type, and the claim must still apply. Otherwise as POST /persons/{person_id}/claims.

post/persons/{person_id}/claims/{claim_id}/versions

Request

Path parameters

person_idstring required

The ID of the person.

claim_idstring required

The ID of the claim.

Headers

Idempotency-Keystring nullable

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "based_on": 2,
  "reference": "crm-update-8812"
}

Response

Created

created_atstring date-time required

When the version was written.

idstring required

Unique resource identifier.

numberinteger required

Position in the claim's history, from 1. The highest is current.

status'unverified' | 'verified' required

verified once a check against a verification source passed; unverified otherwise.

verified_atstring date-time nullable required

When the value was verified; null while unverified.

Example response

{
  "number": 2
}

Changes