Update Recipient
Changed onUpdate details of a specific recipient by ID. Leave out absentee_address to keep the current absentee address. Sending it replaces the stored absentee address as a whole, so send it together with any of absentee_city, absentee_province and absentee_postal_code: those on their own, for example only a new ZIP, are refused with a 400 and nothing is updated. Send absentee_address as an empty string or null to remove the absentee address; if the same request also sets custom1 to absentee with an address in custom2, that address is copied in instead.
Request
- Base URL: https://api.thanks.io/api/v2
- URL: https://api.thanks.io/api/v2/recipients/{recipientId}
- Auth: HTTP bearer
Request body
Example request
{
"id": 18113288,
"mailing_list_id": 1,
"name": "Tobias Example",
"company": "thanks.io",
"address": "123 Main Street",
"address2": "Apartment 1",
"city": "Any Town",
"province": "KS",
"postal_code": "12345",
"country": "US",
"dob": "1981-04-23",
"anniversary": "2025-07-21",
"email": "tobias@example.com",
"phone": "+1 (555) 123-4567",
"custom1": "Unique Info",
"custom2": "For example a product code or customer ID",
"custom3": "Any Extra Info",
"custom4": "Any Extra Info",
"custom5": "Any Extra Info",
"custom6": "Any Extra Info",
"custom7": "Any Extra Info",
"custom8": "Any Extra Info",
"custom9": "Any Extra Info",
"custom10": "Any Extra Info",
"absentee_address": "742 Evergreen Terrace, Springfield, IL 62704",
"mailing-list": {
"id": 1,
"user_id": 2,
"type": "manual",
"description": "Test",
"total_recipients": 1,
"processed": true,
"api_key": "abcd1234efgh5678ijkl9012mnop3456",
"created_at": "2018-07-15T06:06:57.000000Z",
"created_at_diff": "6 years ago",
"updated_at": "2025-06-27T14:57:11.000000Z"
},
"created_at": "2025-06-27T14:57:11.000000Z",
"updated_at": "2025-06-27T14:57:11.000000Z",
"absentee_city": "Springfield",
"absentee_province": "IL",
"absentee_postal_code": "62704"
}Response
Successful Response
Example response
{
"id": 18113288,
"mailing_list_id": 1,
"name": "Tobias Example",
"company": "thanks.io",
"address": "123 Main Street",
"address2": "Apartment 1",
"city": "Any Town",
"province": "KS",
"postal_code": "12345",
"country": "US",
"dob": "1981-04-23",
"anniversary": "2025-07-21",
"email": "tobias@example.com",
"phone": "+1 (555) 123-4567",
"custom1": "Unique Info",
"custom2": "For example a product code or customer ID",
"custom3": "Any Extra Info",
"custom4": "Any Extra Info",
"custom5": "Any Extra Info",
"custom6": "Any Extra Info",
"custom7": "Any Extra Info",
"custom8": "Any Extra Info",
"custom9": "Any Extra Info",
"custom10": "Any Extra Info",
"absentee_address": "742 Evergreen Terrace, Springfield, IL 62704",
"mailing-list": {
"id": 1,
"user_id": 2,
"type": "manual",
"description": "Test",
"total_recipients": 1,
"processed": true,
"api_key": "abcd1234efgh5678ijkl9012mnop3456",
"created_at": "2018-07-15T06:06:57.000000Z",
"created_at_diff": "6 years ago",
"updated_at": "2025-06-27T14:57:11.000000Z"
},
"created_at": "2025-06-27T14:57:11.000000Z",
"updated_at": "2025-06-27T14:57:11.000000Z"
}Changes
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the optional property
to the response with the status
- breaking
- breaking
the request's body type changed from no type to
object - warning
removed
subschema #2from the request bodyallOflist - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking