POSThttps://www.prayerletters.com/api/v3/contacts/:id

Update an existing contact in the database.

The request body should be a JSON object containing the contact object attributes to be updated. All attributes are optional. Any omitted attributed will be left unchanged.

Scope Required

contacts.write

URL Parameters

id
Example: c-###-####

The ID of the contact to be retrieved. It typically follows the format c-###-####, but is not guaranteed to do so, and should be treated as an opaque string.

Request Body

contacts.contact.update.v1 Object

Example

{
   "address" : {
      "city" : "Lebanon",
      "country" : "",
      "postal_code" : "03766",
      "state" : "NH",
      "street" : "123 Main St."
   },
   "company" : null,
   "external_id" : null,
   "file_as" : "Tischler, Joe",
   "greeting" : "Joe and Mary",
   "name" : "Joe and Mary Tischler"
}

Response

204 No Content

Rate Limit

  • 200 requests per hour
  • 600 requests per day
  • 50 requests per day per ID