Customers
A customer is a person or organisation that buys goods or services.
Data Model
| Field | Type | Description | Example data |
|---|---|---|---|
| id | string | Unique identifier for each customer. | 609987152 |
| metaId | string | Id of this customer in its origin data source (when it comes from an integration). | cus_KJX33C2 |
| creationDate | string | Date of customer creation (Date of creation of this customer on its origin data source, for example). | 2022-02-01T22:00:00.000Z |
| code | string | Unique code identifies the customer (rather than using the random id field generated for each entry in our database). | cus_KJX33C2 |
| parentId | string | If the same customer has different accounts (coming from different data sources, for example), you can link these accounts to only one using a parent Id. | 129278162 |
| firstName | string | Customer's first name. | John |
| lastName | string | Customer's family name. | Sam |
string | Customer's email address. | [email protected] | |
| phoneNumber | string | Customer's phone number. | 040012345678 |
| company | string | Customer's company name. | Calqulate |
| address | string | Customer's detailed street address. | Helsinginkatu 30 |
| postalCode | string | Postal code or zip code. | 00500 |
| city | string | City of the customer address. | Helsinki |
| state | string | State of the customer address. | Texas (when applicable) null (when not applicable) |
| countryId | string | Id of customer's country. | 246 |
| metaCountryId | string | Id of this country in its origin data source (when customer comes from an integration). | FI |
| archived | boolean | Indicates whether this customer's account is archived or not. | false (not archived) true (archived) |
| mrr | number | Monthly Recurring Revenue (MRR) from this customer. | 250 |
| dataSourceId | string | Id of the data source (Manual Calqulate, or integrations). | 4779 |
| orgId | string | Organization Id in which this customer belongs. | 718987154 |
| createdAt | string | Date of creation of this entry in Calqulate's Database. | 2022-02-02T14:13:53.644Z |
| updatedAt | string | Date of last update done on this entry in Calqulate's Database. | 2022-02-02T14:13:53.644Z |
| deletedAt | string | Date of deletion of this entry from Calqulate's Database. | 2022-02-02T14:13:53.644Z |
Updated almost 3 years ago
What’s Next
The links below take you to further information within Calqulate library's Guides and API Reference.
