Add, Edit, and Delete a Secondary Contact
Explore how to manage secondary contacts within client profiles using the FreshBooks API. Learn to add new contacts, update existing details, and delete contacts effectively to maintain accurate client communication records.
Overview
In this lesson, we’ll see how we can add a secondary contact to our client’s profile, and then edit and delete it.
A client’s profile represents a company. Therefore, secondary contacts are like members of a company. Secondary contacts are useful in situations where we want to send emails or invoices to multiple contacts within the same organization. We can have multiple secondary contacts in a single client.
These operations are performed using the following endpoints:
- Add a contact:
{base_url}/accounting/account/{ACCOUNT_ID}/users/clients/{CLIENT_ID} - Get all contacts:
{base_url}/accounting/account/{ACCOUNT_ID}/users/contacts - Update and delete a contact:
{base_url}/accounting/account/{ACCOUNT_ID}/users/contacts/{CONTACT_ID}
Add a secondary contact
In this ...