Update a counterpart's contact

PATCH
/counterparts/:counterpart_id/contacts/:contact_id

Path parameters

contact_idstringRequired
counterpart_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
addressobjectOptional

The address of a contact person.

emailstringOptional

The email address of a contact person.

first_namestringOptional

The first name of a contact person.

last_namestringOptional

The last name of a contact person.

phonestringOptional

The phone number of a contact person

titlestringOptional

The title or honorific of a contact person. Examples: Mr., Ms., Dr., Prof.

Response

This endpoint returns an object.
idstring
addressobject

The address of a contact person.

counterpart_idstring
first_namestring

The first name of a contact person.

is_defaultboolean
last_namestring

The last name of a contact person.

emailstringOptional

The email address of a contact person.

phonestringOptional

The phone number of a contact person

titlestringOptional

The title or honorific of a contact person. Examples: Mr., Ms., Dr., Prof.

Errors