Update a constituent

Change contact details on an existing constituent.

PATCH https://cotlet.dev/api/v1/bloomerang/constituents/{constituent_id}

write

Sets only the fields you pass and returns the profile as saved. It does not touch gifts, interactions or the relationship manager. It reaches no one and a second call puts the old value back, so it does not wait for your OK.

Parameters

Parameters: update_constituent
NameTypeDescription
constituent_id integer required integer Constituent ID from search_constituents.
email string string New primary email.
phone string string New primary phone.
street string string New primary address, street line.
city string string City.
state string string State or region.
postal_code string string Postal code.

Request

cURL
curl -X PATCH https://cotlet.dev/api/v1/bloomerang/constituents/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("bloomerang", "update_constituent", {"constituent_id":1})
Node.js
const result = await cotlet.call('bloomerang', 'update_constituent', {"constituent_id":1});
CLI
cotlet call bloomerang update_constituent --data '{"constituent_id":1}'

Example response

JSON

{
  "id": 48211,
  "name": "Lena Ortiz",
  "email": "lena.ortiz@example.org",
  "phone": "555-0142",
  "updated": [
    "email"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.