Update a contact
Updates an existing contact.
Send only the fields you want to change; any field you omit keeps its current value.
<Tip>
A contact's `type` is set at creation and cannot be updated.
To change it, delete the contact and create a new one.
</Tip>
Authentication
AuthorizationBearer
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Path parameters
org_id
Unique numeric ID of the organization the contact belongs to.
contact_id
Unique numeric ID of the contact.
This is the id returned by the List organization contacts endpoint.
Request
This endpoint expects an object.
name
First and last name of the contact.
title
Honorific or professional title of the contact, for example Dr or Ing.
department
Department the contact belongs to.
street
Street name and number of the contact's address.
zipcode
Postal or ZIP code of the contact's address.
city
City of the contact's address.
country
Contact's country, provided as an object containing the country ID.
email
Email address of the contact.
phone
Phone number of the contact.
mobile
Mobile phone number of the contact.
state
State or province of the contact's address.
secondary_address
Secondary address line, for example apartment or building number.
purchase_order_number
Purchase order number shown on the organization's monthly invoices.
<Tip>
Set `purchase_order_number` only on invoice contacts (type `6`).
When set, it appears on the organization's monthly invoices.
</Tip>
Response
The contact was updated successfully.
No content is returned.
Errors
404
Not Found Error