> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/features/customers/customer-identifiers.md).

# Customer identifiers

## Email address

Perkville uses email address as the primary identifier. This means that more than one customer at your business cannot share the same email address. If they do, they'll be grouped under the same Perkville profile.

### Email address and integrated data

Generally, email address is used to link a customer in your POS or membership system with their Perkville account. Automated earning and membership status can then be synced using that relationship.

{% hint style="danger" %}
A mismatch between a customer's Perkville profile and their profile in your POS can cause a break between the two applications. If a customer is not earning points or is showing as inactive when they should be active, check whether the email addresses match.
{% endhint %}

## External member ID

[Integrations](https://docs.perkville.com/integrations/overview.md) that sync [membership data](https://docs.perkville.com/features/customers/memberships.md) to Perkville can provide an `external_member_id` as a secondary identifier. Email address uniqueness is still enforced, but the external member ID can be useful when staff or connected systems identify customers using the membership system's own ID.

### Searching for a customer by External Member ID

From the [Customers](https://docs.perkville.com/features/customers.md) page, select **Filter by External Member ID**, enter the member ID from the connected system, and submit the search. If the ID is available through the integration, Perkville will display the matching customer record.

The `external_member_id` can also be used for supported operations [via the Perkville API](https://www.perkville.com/developers/docs/v2/#v2_resource_14_anchor), such as awarding points.

A single Perkville profile can be associated with multiple external member records or IDs.

If more than one external member record is associated with a single customer profile, you may optionally [set the default member on the account](https://docs.perkville.com/features/customers/memberships.md#changing-the-default-canonical-membership).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/features/customers/customer-identifiers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
