Skip to content
Mailing List Recipients

Mailing List Recipients

Update a mailing list recipient

posthttps://api.intelliprint.net/v1/mailing_lists/{mailing_list}/recipients/{id}

Updates a mailing list recipient by its ID.

Parameters

Path

mailing_listrequired
string

The ID of the mailing list the recipient belongs to.

idrequired
string

The ID of the recipient to update.

Request body

application/json
address
object
namestring

The name of the recipient.

Example"John Doe"
linestring

The complete address line for the recipient.

Example"123 Main St, Anytown, Anyplace"
postcodestring

The postal code of the address.

Example"AB1 2CD"
countrystring

The country code of the address. This is an ISO 3166-1 alpha-2 country code. Example: GB.

Default"GB"
Example"GB"
variables
object

An arbitrary object of the dynamic fields for this recipient. Dynamic fields are used to tailor templates uniquely for each recipient.

Responses

Sample JSON for every response shape is in the right rail. Expand a row below to see every field this endpoint can return.

200Successful response
id
string

A globally unique identifier for the mailing list recipient.

Example"mal_rcp_eg"
object
string

The type of the object. Always mailing_list_recipient.

Allowed valuesmailing_list_recipient
mailing_list
string

The ID of the mailing list that the recipient belongs to.

Example"mal_eg"
account
string

The Intelliprint account ID that the mailing list belongs to.

Example"acc_eg"
address
object
namestring

The name of the recipient.

Example"John Doe"
linestring

The complete address line for the recipient.

Example"123 Main St, Anytown, Anyplace"
postcodestring

The postal code of the address.

Example"AB1 2CD"
countrystring

The country code of the address. This is an ISO 3166-1 alpha-2 country code. Example: GB.

Default"GB"
Example"GB"
variables
object

An arbitrary object of the dynamic fields for this recipient. Dynamic fields are used to tailor templates uniquely for each recipient.

address_validation_status
string

The address validation status for this recipient's address. Address validation for a recipient is only performed if address validation has been requested for the mailing list.

Allowed valuespassedfailedpendingnot_requested
Default"not_requested"
created
integer<int64>

The UNIX timestamp of when the mailing list recipient was created. We use UNIX timestamps to avoid timezone-based issues.

Example1761955200
400Example error response
error
object
messagestring

A human-readable message describing the error. You can display this to your users to help them understand what went wrong.

Example"Received unknown parameter: testmood (Did you mean testmode?)"
typestring

The general category of the error.

Allowed valuesinvalid_request_errorauthentication_errorpayment_errorrate_limitedinternal_error
Example"invalid_request_error"
codestring

A unique code for the specific error that occurred.

Allowed valuesparameter_invalidparameter_missingparameter_unknownbody_too_largebody_incorrect_formatno_api_keyinvalid_api_keylogged_outforbiddenpayment_errornot_foundrate_limitedrefusedinternal_error
Example"parameter_unknown"
paramstring

The parameter that caused the error, if applicable.

Example"testmood"