# Customers

A customer is a person or a company that buys or uses your product. A customer can own [licenses](../licenses/) and hold [seats](../seats-and-devices/#seats) on them.

Customers belong to your account, not to one product. One customer can own licenses and hold seats for several products.

## Customer properties

| Property | Description |
| --- | --- |
| Reference | The ID of the person or company in your own system, such as a user ID. Each customer in your account needs its own reference. See [References](#references). |
| Email | The email address of the customer. This property is optional. |
| First name | The first name of the customer. This property is optional. |
| Last name | The last name of the customer. This property is optional. |

The dashboard shows a customer by the first and last name. If both are empty, it shows the reference.

## Owners and seats

A customer can have two roles on a license:

| Role | Meaning |
| --- | --- |
| Owner | The customer bought the license. The owner is the billing and support contact. A license has one owner or no owner. |
| Seat | The customer uses the license. A license can have many seats, up to its seat limit. |

- The owner does not take a seat. The owner does not count against the seat limit.
- A customer can hold a seat on a license that another customer owns. For example, a company owns a team license, and each employee holds a seat.
- Only a policy that binds customers creates seats. See [Binding and limits](../policies/#binding-and-limits).

## References

The reference connects a customer to a user in your own system. Use an ID that does not change, such as the user ID. An email address also works.

- Seatify finds a customer by the reference only. It never matches a customer by email address or name.
- The reference is case-sensitive, so `user-42` and `USER-42` are two different customers.
- Two customers can have the same email address.
- If the reference of a customer changes, a claim with the old reference creates a new customer.

## Customers from claims

If the policy binds customers, each claim names the customer who takes the seat. The claim names the customer by the reference. See [Claim a license](../../license-api/licenses/claim/).

- If no customer has the reference, the claim creates the customer.
- A refused claim does not create a customer.
- The claim can also send an email address and a name. Seatify writes these values only into empty properties of the customer. It never changes a value that is already set.
- If the policy does not bind customers, Seatify ignores the customer in the claim.
- Only a claim names a customer. Validate, heartbeat and release do not.

## Device bindings

If the policy binds customers and devices, each device binding belongs to the customer who claimed the license from that device. See [Binding](../seats-and-devices/#binding).

- If another customer later claims the license from the same device, the binding moves to that customer.
- Releasing a seat does not release the devices of that customer. The devices stay bound to the license and keep working.
- Releasing a seat does not delete the customer.

## Deletion

Deletion is permanent. A customer cannot be deleted while they:

- own a license,
- hold a seat, or
- own a device binding.

These must be reassigned or released first.

