Customers

List All Customers

get
/v1/companies/{companyId}/customers

Retrieve a list of all customers associated with a specific company.

Authorizations
Path parameters
companyIdstringRequired

Unique identifier of the company.

Responses
200

An array of customers.

application/json
get
/v1/companies/{companyId}/customers

Create a New Customer

post
/v1/companies/{companyId}/customers

Add a new customer to a specific company.

Authorizations
Path parameters
companyIdstringRequired

Unique identifier of the company.

Body
first_namestringOptional

First name of the customer.

last_namestringOptional

Last name of the customer.

emailstring · emailOptional

Email address of the customer.

phonestringOptional

Phone number of the customer.

companystringOptional

Company name associated with the customer, if applicable.

Responses
post
/v1/companies/{companyId}/customers

Retrieve Specific Customer

get
/v1/companies/{companyId}/customers/{customerId}

Get details of a specific customer associated with a particular company.

Authorizations
Path parameters
companyIdstringRequired

Unique identifier of the company.

customerIdstringRequired

Unique identifier of the customer.

Responses
200

Customer details.

application/json
get
/v1/companies/{companyId}/customers/{customerId}

Delete a Customer

delete
/v1/companies/{companyId}/customers/{customerId}

Delete a specific customer from a company.

Authorizations
Path parameters
companyIdstringRequired

Unique identifier of the company.

customerIdstringRequired

Unique identifier of the customer.

Responses
delete
/v1/companies/{companyId}/customers/{customerId}

No content

Last updated