1 /**
2 * @schema AdminCustomerGroup
3 * type: object
4 * description: The customer group's details.
5 * x-schemaName: AdminCustomerGroup
6 * required:
7 * - customers
8 * - id
9 * - name
10 * - metadata
11 * - created_at
12 * - updated_at
13 * properties:
14 * id:
15 * type: string
16 * title: id
17 * description: The customer group's ID.
18 * name:
19 * type: string
20 * title: name
21 * description: The customer group's name.
22 * customers:
23 * type: array
24 * description: The customer group's customers.
25 * items:
26 * $ref: "#/components/schemas/AdminCustomer"
27 * metadata:
28 * type: object
29 * description: The customer group's metadata, used to store custom key-value pairs.
30 * externalDocs:
31 * url: https://docs.medusajs.com/api/admin#manage-metadata
32 * description: Learn how to manage metadata
33 * created_at:
34 * type: string
35 * format: date-time
36 * title: created_at
37 * description: The customer group's creation date.
38 * updated_at:
39 * type: string
40 * format: date-time
41 * title: updated_at
42 * description: The customer group's update date.
43 *
44 */
45