OBJECT

Customer

link GraphQL Schema definition

1type Customer implements Purchaser, ObjectWithAttributes {
2id: Int!
3
4status: Status!
5
6email: String!
7
8firstName: String
9
10lastName: String
11
12cellPhoneNumber: String
13
14phoneNumber: String
15
16# Arguments
17# format: ISO-8601
18createdAt(format: String = "Y-m-d\\TH:i:sP"): String!
19
20# Arguments
21# format: ISO-8601
22updatedAt(format: String = "Y-m-d\\TH:i:sP"): String!
23
24# Arguments
25# format: ISO-8601
26lastLoginAt(format: String = "Y-m-d\\TH:i:sP"): String
27
28# Arguments
29# format: ISO-8601
30lastOnlineAt(format: String = "Y-m-d\\TH:i:sP"): String
31
32# Required permission: Purchaser.totalOrders:read
33totalOrders: Int!
34
35# Required permission: Purchaser.billingAddress:read
36billingAddress: Address
37
38# Required permission: EmailHistory:read
39#
40# Limit must be in range 1 - 200
41#
42# Arguments
43# where: (self-explanatory)
44# sort: (self-explanatory)
45# limit: (self-explanatory)
46# page: (self-explanatory)
47emailHistory(
48where: EmailHistoryFilter,
49sort: [EmailHistorySort!] = [id_DESC],
50limit: Int = 20,
51page: Int = 1
52): [EmailHistoryEntry!]!
53
54# Required permission: Store:read
55#
56# Store restrictions apply.
57store: Store!
58
59# Arguments
60# format: ISO-8601
61birthdate(format: String = "Y-m-d\\TH:i:sP"): String
62
63isAnonymized: Boolean!
64
65isRegistered: Boolean!
66
67websiteUrl: String
68
69internalComment: String
70
71gender: Gender
72
73# Required permission: Purchaser.attributes:read
74#
75# All elements are always returned
76attributes: [Attribute!]!
77
78# Required permission: none
79language: Language
80
81# Required permission: Order:read
82#
83# Store restrictions apply.
84lastOrder: DirectToConsumerOrder
85
86# Required permission: Market:read
87#
88# Store restrictions apply.
89market: Market
90
91# Required permission: NewsletterSubscription:read
92#
93# All elements are always returned
94#
95# Store restrictions apply.
96newsletterSubscriptions: [NewsletterSubscription!]!
97
98# Required permission: Order:read
99#
100# Limit must be in range 1 - 100
101#
102# Store restrictions apply.
103#
104# Arguments
105# where: (self-explanatory)
106# sort: (self-explanatory)
107# limit: (self-explanatory)
108# page: (self-explanatory)
109orders(where: OrderFilter, sort: [OrderSort!] = [number_DESC], limit: Int = 20, page: Int = 1): [DirectToConsumerOrder!]!
110
111# Required permission: Pricelist:read
112#
113# Store restrictions apply.
114pricelist: Pricelist
115
116# Required permission: Return:read
117#
118# Limit must be in range 1 - 100
119#
120# Store restrictions apply.
121#
122# Arguments
123# where: (self-explanatory)
124# sort: (self-explanatory)
125# limit: (self-explanatory)
126# page: (self-explanatory)
127returns(where: ReturnFilter, sort: [ReturnSort!] = [id_DESC], limit: Int = 20, page: Int = 1): [Return!]!
128
129# Required permission: TaxClass:read
130taxClass: TaxClass
131
132}