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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,8 @@ input CustomerInput {
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
63
email: String@doc(description: "The customer's email address. Required")
64
-
dob: String@doc(description: "The customer's date of birth")
64
+
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") String@doc(description: "The customer's date of birth")
65
+
date_of_birth: String@doc(description: "The customer's date of birth")
65
66
taxvat: String@doc(description: "The customer's Tax/VAT number (for corporate customers)")
66
67
gender: Int@doc(description: "The customer's gender(Male - 1, Female - 2)")
67
68
password: String@doc(description: "The customer's password")
@@ -87,7 +88,8 @@ type Customer @doc(description: "Customer defines the customer name and address
87
88
email: String@doc(description: "The customer's email address. Required")
88
89
default_billing: String@doc(description: "The ID assigned to the billing address")
89
90
default_shipping: String@doc(description: "The ID assigned to the shipping address")
90
-
dob: String@doc(description: "The customer's date of birth")
91
+
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") String@doc(description: "The customer's date of birth")
92
+
date_of_birth: String@doc(description: "The customer's date of birth")
91
93
taxvat: String@doc(description: "The customer's Tax/VAT number (for corporate customers)")
92
94
id: Int@doc(description: "The ID assigned to the customer")
93
95
is_subscribed: Boolean@doc(description: "Indicates whether the customer is subscribed to the company's newsletter") @resolver(class: "\\Magento\\CustomerGraphQl\\Model\\Resolver\\IsSubscribed")
0 commit comments