> ## Documentation Index
> Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> A customer is an individual or company that buys goods or services from a business. Commonly referred to a customer on a corresponding invoice

**The Customer Data Model** simplifies the handling and retrieval of customer-related information across various ecommerce platforms.

* Unified customer properties: The model unifies essential customer details, such as name, customer person, currency, and tax number, enabling easier access and management of customer data from different platforms.
* Comprehensive customer information: Customer can include associated data like [addresses](/docs/address) for a more detailed representation of each customer.

## Attributes

## Properties Supported

| Property     | Type                           | Description                                                  |
| ------------ | ------------------------------ | ------------------------------------------------------------ |
| platform\_id | string                         | The Platform's ID for the customer                           |
| name         | string                         | Name of the customer on the accounting platform              |
| email        | string                         | Email of the customer on the accounting platform             |
| phone        | string                         | Phone of the customer on the accounting platform             |
| currency\_id | string                         | Currency of the customer on the accounting platform          |
| status       | enums.BaseStatus               | Status of the customer on the accounting platform            |
| updated\_at  | string                         | Last updated time of the customer on the accounting platform |
| created\_at  | string                         | Created time of the customer on the accounting platform      |
| address      | [AddressObject](/docs/address) | Address of the customer on the accounting platform           |

<ResponseExample name="The Customer Object">
  ```json The Customer Response Object theme={null}
  {
    "rootfi_id": 157,
    "rootfi_created_at": "2024-01-22T05:07:31.465Z",
    "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
    "rootfi_company_id": 1089,
    "platform_id": "cus_123456",
    "platform_unique_id": "CUST-2024-001",
    "name": "John Smith",
    "email": "john.smith@example.com",
    "phone": "+1-555-123-4567",
    "currency_id": "USD",
    "status": "ACTIVE",
    "updated_at": "2024-01-22T05:07:31.465Z",
    "created_at": "2024-01-22T05:07:31.465Z",
    "address": {
      "rootfi_id": 278264,
      "platform_id": "addr_123456",
      "street": "123 Main Street",
      "locality": "Downtown",
      "city": "New York",
      "state": "NY",
      "pincode": "10001",
      "country": "USA"
    }
  }
  ```
</ResponseExample>
