Files
medusa-store/www/apps/resources/references/customer/interfaces/customer.CreateCustomerGroupDTO/page.mdx
2024-12-09 15:27:01 +02:00

12 lines
902 B
Plaintext

---
displayed_sidebar: customerReference
---
import { TypeList } from "docs-ui"
# CreateCustomerGroupDTO
The customer group to be created.
<TypeList types={[{"name":"name","type":"`string`","description":"The name of the customer group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"[MetadataType](../../types/customer.MetadataType/page.mdx)","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the customer group. For example,\nthe ID of the user that created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="CreateCustomerGroupDTO"/>