# Search members

**Mews Operations** uses the [Search members](/loyalty-partner/api-operations/members.md#post-members-search) operation to find members in the partner loyalty system matching a specific Mews customer, based on personal information such as name, email, and address.

## New customer creation

Front desk staff are creating a new customer profile. The customer already exists in the partner loyalty system with a membership. During the creation process, Mews queries the partner system for potential matching members and returns a list of matches.

{% stepper %}
{% step %}

#### Create customer

<figure><img src="/files/6a0sgRktv1BNyuigpcuP" alt="New customer creation form with fields for email, name, phone, membership number, and address" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Lookup results

<figure><img src="/files/JgO2fv0h42I0BCzI0PNB" alt="List of matching members returned from the partner loyalty system, with customer details and a Confirm button" width="330"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Link membership to existing customer

A customer already exists in Mews without a linked loyalty membership. Mews queries the partner loyalty system to retrieve a list of possible matches.

{% stepper %}
{% step %}

#### Customer profile screen

<figure><img src="/files/G1zojySPlyNpj5TSiWIx" alt="Customer profile screen with a Loyalty panel warning that the customer is not enrolled in a loyalty program" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Customer lookup result

<figure><img src="/files/wnt2RIJUnssxiLrRnPIB" alt="Customer profile screen with a membership lookup panel showing a list of matching members from the partner loyalty system" width="563"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mews.com/loyalty-partner/workflows/search-members.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
