Raw
1 {
2 "CustomerGroup": {
3 "filePath": "packages/modules/customer/src/models/customer-group.ts",
4 "properties": {
5 "id": "The ID of the customer group.",
6 "name": "The name of the customer group",
7 "metadata": "Holds custom data in key-value pairs.",
8 "created_by": "The ID of the user that created the customer group.",
9 "customers": "The associated customers.\n\n@expandable"
10 },
11 "deprecated": {
12 "is_deprecated": false
13 }
14 },
15 "CustomerGroupCustomer": {
16 "filePath": "packages/modules/customer/src/models/customer-group-customer.ts",
17 "properties": {
18 "id": "The ID of the group-customer pairing.",
19 "created_by": "The ID of the user that added the customer to the group.",
20 "metadata": "Holds custom data in key-value pairs.",
21 "customer": "The associated customer.\n\n@expandable",
22 "customer_group": "The associated customer group.\n\n@expandable"
23 },
24 "deprecated": {
25 "is_deprecated": false
26 }
27 },
28 "Customer": {
29 "filePath": "packages/modules/customer/src/models/customer.ts",
30 "properties": {
31 "id": "The ID of the customer.",
32 "company_name": "The company name of the customer",
33 "first_name": "The first name of the customer",
34 "last_name": "The last name of the customer",
35 "email": "The email of the customer",
36 "phone": "The phone of the customer",
37 "has_account": "Whether the customer has account. Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/customer/customer-accounts)",
38 "metadata": "Holds custom data in key-value pairs.",
39 "created_by": "The ID of the user that created the customer.",
40 "groups": "The associated groups.\n\n@expandable",
41 "addresses": "The associated addresses.\n\n@expandable"
42 },
43 "deprecated": {
44 "is_deprecated": false
45 }
46 },
47 "CustomerAddress": {
48 "filePath": "packages/modules/customer/src/models/address.ts",
49 "properties": {
50 "id": "The ID of the customer address.",
51 "address_name": "The name of the customer address",
52 "is_default_shipping": "Whether the customer address is used by default for shipping.",
53 "is_default_billing": "Whether the customer address is used by default for billing.",
54 "company": "The company of the customer address",
55 "first_name": "The first name of the customer address",
56 "last_name": "The last name of the customer address",
57 "address_1": "The first line of the customer address",
58 "address_2": "The second line of the customer address",
59 "city": "The city of the customer address",
60 "country_code": "The country code of the customer address.\n\n@example us",
61 "province": "The province of the customer address",
62 "postal_code": "The postal code of the customer address",
63 "phone": "The phone of the customer address",
64 "metadata": "Holds custom data in key-value pairs.",
65 "customer": "The associated customer.\n\n@expandable"
66 },
67 "deprecated": {
68 "is_deprecated": false
69 }
70 }
71 }