# Merchants and customers

<figure><img src="/files/XtKsxEouJp4tEnBcArHc" alt=""><figcaption></figcaption></figure>

{% hint style="info" icon="lightbulb" %}
Each market belongs to one merchant, who defines its business model and price list. Customers are categorized by purchase history. Customer groups give selected customers private access to markets, promotions, and more.
{% endhint %}

## Merchants

A [merchant](/core-api-reference/merchants.md) is the seller or owner of each market in an organization. You can associate the same merchant with one or more markets.

An organization may have one or more merchants, each with its own billing address. The merchant defines the market's business model, inventory model, and price list for customers in that market.

## Customers

[Customers](/core-api-reference/customers.md) are individuals who make purchases from an ecommerce sales channel. They are identified by their email addresses.

There are three categories of customers in Commerce Layer:

* **Prospect customers** — customers who have not placed an order yet.
* **Acquired customers** — customers who have placed only one order.
* **Repeat customers** — customers who have placed more than one order.

Commerce Layer's [order management system](https://commercelayer.io/distributed-oms) lets you manage customers in an organization. You can also export customers to any external CRM (customer relationship management) or marketing tool to manage campaigns, loyalty programs, and more.

## Customer groups

[Customer groups](/core-api-reference/customer_groups.md) are a collection of selected customers. You can organize and associate a customer group with a market. All customers in a particular group get private access to a market, promotions, campaigns, loyalty programs, and more.

You can also use customer groups to manage B2B, B2C, subscription, private sales, and marketplace business models.


---

# 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.commercelayer.io/data-model/foundation-and-setup/merchants-and-customers.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.
