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

# Customers

> Customer records created from checkout email capture

A customer record is created when a customer provides their email address during checkout. Customers are identified by email — submitting the same email at checkout updates the existing customer record.

## The customer object

| Field       | Type           | Description                          |
| ----------- | -------------- | ------------------------------------ |
| `id`        | uuid           | Unique identifier                    |
| `object`    | string         | Always `"customer"`                  |
| `email`     | string         | Customer's email address             |
| `metadata`  | object \| null | Custom key/value data you can attach |
| `createdAt` | datetime       |                                      |
| `updatedAt` | datetime       |                                      |

<Note>
  Customer records require `customers:read` or `customers:write` scope.
</Note>

<api-reference openapi="GET /customers" />

<api-reference openapi="GET /customers/{id}" />

<api-reference openapi="PATCH /customers/{id}" />
