Back to Medusa

CreateCustomerGroupDTO

www/apps/resources/references/customer/interfaces/customer.CreateCustomerGroupDTO/page.mdx

2.14.2855 B
Original Source

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","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"/>