You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/CustomerGraphQl/etc/schema.graphqls
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -60,10 +60,10 @@ input CustomerInput {
60
60
middlename: String@doc(description: "The customer's middle name")
61
61
lastname: String@doc(description: "The customer's family name")
62
62
suffix: String@doc(description: "A value such as Sr., Jr., or III")
63
-
email: String@doc(description: "The customer's email address. Required")
63
+
email: String!@doc(description: "The customer's email address. Required")
64
64
dob: String@doc(description: "The customer's date of birth")
65
-
taxvat: String@doc(description: "The customer's Tax/VAT number (for corporate customers)")
66
-
gender: Int@doc(description: "The customer's gender(Male - 1, Female - 2)")
65
+
taxvat: String@doc(description: "The customer's Value-added tax (VAT) number (for corporate customers)")
66
+
gender: Int@doc(description: "The customer's gender(Male - 1, Female - 2)")
67
67
password: String@doc(description: "The customer's password")
68
68
is_subscribed: Boolean@doc(description: "Indicates whether the customer is subscribed to the company's newsletter")
69
69
}
@@ -88,11 +88,11 @@ type Customer @doc(description: "Customer defines the customer name and address
88
88
default_billing: String@doc(description: "The ID assigned to the billing address")
89
89
default_shipping: String@doc(description: "The ID assigned to the shipping address")
90
90
dob: String@doc(description: "The customer's date of birth")
91
-
taxvat: String@doc(description: "The customer's Tax/VAT number (for corporate customers)")
91
+
taxvat: String@doc(description: "The customer's Value-added tax (VAT) number (for corporate customers)")
92
92
id: Int@doc(description: "The ID assigned to the customer") @deprecated(reason: "id is not needed as part of Customer because on server side it can be identified based on customer token used for authentication. There is no need to know customer ID on the client side.")
93
93
is_subscribed: Boolean@doc(description: "Indicates whether the customer is subscribed to the company's newsletter") @resolver(class: "\\Magento\\CustomerGraphQl\\Model\\Resolver\\IsSubscribed")
94
94
addresses: [CustomerAddress] @doc(description: "An array containing the customer's shipping and billing addresses") @resolver(class: "\\Magento\\CustomerGraphQl\\Model\\Resolver\\CustomerAddresses")
95
-
gender: Int@doc(description: "The customer's gender(Male - 1, Female - 2)")
95
+
gender: Int@doc(description: "The customer's gender(Male - 1, Female - 2)")
96
96
}
97
97
98
98
typeCustomerAddress@doc(description: "CustomerAddress contains detailed information about a customer's billing and shipping addresses"){
0 commit comments