People

This endpoint allows you to update specific fields with a Person record via their UUID by providing amended core information such as name, address and contact details or marketing and contact preference changes.

patch/people/{person_id}

Request

Request body

Response

OK.

Example response

{
  "data": {
    "attributes": {
      "title": "Mrs",
      "first_name": "Jane",
      "last_name": "Doe",
      "address": {
        "single_line": "19 Lansdowne Road, Monton, Manchester",
        "anon_single_line": "Lansdowne Road, Monton, Manchester",
        "building_number": "19",
        "line_1": "19 Lansdowne Road",
        "line_2": "Monton",
        "line_3": "Manchester",
        "town": "Manchester",
        "country": "United Kingdom",
        "postcode": "M30 9PA",
        "udprn": "28327204",
        "geo": {
          "lat": 0.2365698,
          "lng": 53.023654
        }
      },
      "telephone_numbers": [
        {
          "value": "+441632960911"
        }
      ],
      "email_addresses": [
        {
          "value": "john@johndoe.com"
        }
      ],
      "preferred_language": "en"
    }
  }
}

Changes

    • info

      added the optional property /// to the response with the status