---
displayed_sidebar: homepage
---

import TypeList from "@site/src/components/TypeList"

# AdminPostCustomerGroupsReq

The details of the customer group to create.

## Properties

<TypeList types={[{"name":"name","type":"`string`","description":"Name of the customer group","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record<string, unknown>`","description":"Metadata of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AdminPostCustomerGroupsReq"/>
