Counterpart contacts

Set a counterpart's default contact

post/counterparts/{counterpart_id}/contacts/{contact_id}/make_default

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/counterparts/{counterpart_id}/contacts/{contact_id}/make_default
  • Auth: HTTP bearer

Path parameters

contact_idstring required

ID of the contact you want to make default.

counterpart_idstring required

ID of a counterpart whose contact you want to update. Only organization-type counterparts can have contacts.

Headers

x-monite-versionstring required
x-monite-entity-idstring required

The ID of the entity that owns the requested resource.

Response

Successful Response

idstring uuid required

A unique ID assigned to this counterpart contact.

counterpart_idstring uuid required

ID of the counterpart to which this contact belongs.

emailstring email

The email address of a contact person.

first_namestring required

The first name of a contact person.

is_defaultboolean required

Indicates whether this contact is the default one. The default contact is used to fill in the counterpart's contact details when you create invoices and quotes for this counterpart.

To select another contact as the default one, use POST /counterparts/{counterpart_id}/contacts/{contact_id}/make_default.

last_namestring required

The last name of a contact person.

phonestring

The phone number of a contact person

titlestring

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

Changes

No recorded changes to this operation across all 1 revision of this API.