PATCH
/
contacts
/
update

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required

The email of the contact.

userId
string | null

The user id of the contact.

avatarUrl
string | null

The avatar url of the contact.

name
string | null

The full name of the contact.

languageCode
string | null

The language code of the contact.

addedListSubscripitons
string[] | null

The list of mailing lists to subscribe the contact to. Use the name field of the lists.

removedListSubscripitons
string[] | null

The list of mailing lists to unsubscribe the contact from. Use the name field of the lists.

customProperties
object | null

The custom properties of the contact. Custom properties must be first defined in the IndiePitcher dashboard. Pass 'null' to remove a custom property.

Response

200 - application/json
success
boolean
data
object