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

# Enroll customer

**Mews Operations** uses the [Enroll a customer](https://docs.mews.com/loyalty-partner/api-operations/members.md#post-members) operation to enroll a Mews customer in the partner loyalty system by creating a new membership.

If the customer already exists in the partner system, return the same response as for a new enrollment: HTTP 200 with the existing membership details.

## Enroll customer

A Mews customer does not have a loyalty membership in the partner system. Front desk staff select the appropriate loyalty program from a list of available options and send an enrollment request to the partner system.

{% stepper %}
{% step %}

#### Add membership

<figure><img src="https://3946584615-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNXX5WlJYsdpRtizxNDPz%2Fuploads%2Fgit-blob-490ba8009a415fd665e8d8df1cde542b9d941410%2Fadd-membership.png?alt=media" alt="Mews customer profile with the option to add a new loyalty membership" width="563"><figcaption><p>Customer profile screen where front desk staff add a new loyalty membership.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Select loyalty program

<figure><img src="https://3946584615-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNXX5WlJYsdpRtizxNDPz%2Fuploads%2Fgit-blob-fd9213a0d2678a83ad752dc6d28891ced0b4a082%2Fselect-loyalty-program.png?alt=media" alt="Dialog listing available loyalty programs for selection" width="563"><figcaption><p>Selection dialog where front desk staff choose the appropriate loyalty program.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Enrolled customer

<figure><img src="https://3946584615-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNXX5WlJYsdpRtizxNDPz%2Fuploads%2Fgit-blob-ec84445cf18a0e90084ee46b7abff4161e6fac5c%2Fenrolled-customer.png?alt=media" alt="Customer profile showing active loyalty membership details after enrollment" width="563"><figcaption><p>Customer profile updated to show the newly created loyalty membership.</p></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.mews.com/loyalty-partner/workflows/enroll-customer.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.
