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

# Customer groups

> Segment Customers in 86d for targeted pricing, promotions, and content. B2B groups, VIPs, employees, and any custom segmentation you need.

<Warning>
  **Experimental.** This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See [maturity levels](/docs/resources/versioning).
</Warning>

The Customer Groups [Module](/docs/concepts/modules) attaches [Customers](/docs/resources/glossary#customer) to one or more groups: B2B, VIP, employee, beta tester, anything you define. `@86d-store/price-lists` uses groups for segment-specific pricing, `@86d-store/discounts` uses them for group-only promo codes, and your own MDX can use them to gate content.

**Source:** [`modules/customer-groups`](https://github.com/86d-store/86d/tree/main/modules/customer-groups) · **npm:** [`@86d-store/customer-groups`](https://www.npmjs.com/package/@86d-store/customer-groups)

## Installation

```sh theme={null}
86d module add customer-groups
```

## Admin endpoints

| Method   | Path                                             | Description   |
| -------- | ------------------------------------------------ | ------------- |
| `GET`    | `/admin/customer-groups`                         | List groups   |
| `POST`   | `/admin/customer-groups`                         | Create        |
| `POST`   | `/admin/customer-groups/:id/members`             | Add customers |
| `DELETE` | `/admin/customer-groups/:id/members/:customerId` | Remove        |

## Related pages

* [Customers](/docs/modules/customers)
* [Price lists](/docs/modules/price-lists)
* [Discounts](/docs/modules/discounts)
* [Glossary](/docs/resources/glossary)
* [Versioning and maturity](/docs/resources/versioning)
