Clients
Definitions of the types and format of the data used in the endpoints can be found at the bottom of the page.
Endpoints
Get Clients
GET
https://cubicl.io/api/v1/crm/customers
Gets clients matching the search criteria.
Query Parameters
Name | Type | Description |
---|---|---|
name | string | Text to be searched in client name. A match will occur only if a word in the client name starts with the given search text. Search is case insensitive. |
string | Text to be searched in client or contact mail addresses. Search is case insensitive. | |
includeAllFields | string |
Default is |
skip | number | Default is 0. |
limit | number | Default is 10. |
Get Client By Id
GET
https://cubicl.io/api/v1/crm/customers/:id
Path Parameters
Name | Type | Description |
---|---|---|
id* | string | Client ID |
Create Client
POST
https://cubicl.io/api/v1/crm/customers
Check the Client type definition below for field descriptions.
Request Body
Name | Type | Description |
---|---|---|
name* | string | |
fullname | string | |
string | ||
phone | string | |
contacts | Contact[] | |
customFields | object | |
portalCustomerManagerIds | string[] |
Update Client
PUT
https://cubicl.io/api/v1/crm/customers/:id
Check the Client type definition below for field descriptions.
Request Body
Name | Type | Description |
---|---|---|
name* | string | |
fullname | string | |
string | ||
phone | string | |
contacts | Contact[] | |
customFields | object | |
portalCustomerManagerIds | string[] |
Delete Client
DELETE
https://cubicl.io/api/v1/crm/customers/:id
Data
Clients
Contacts
Last updated