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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/_includes/graphql/cart-object.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
1
Attribute | Data Type | Description
2
2
--- | --- | ---
3
-
`applied_coupon` | [`AppliedCoupon`][AppliedCoupon] | The `AppliedCoupon` object contains the `code` text attribute, which specifies the coupon code
3
+
`applied_coupon` | [`AppliedCoupon`][AppliedCoupon] | Deprecated. Use `applied_coupons` instead
4
+
`applied_coupons` | [[`AppliedCoupon`]][AppliedCoupon] | An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code
4
5
`applied_gift_cards` | [[`AppliedGiftCard`]][AppliedGiftCard] | An array of `AppliedGiftCard` objects. An `AppliedGiftCard` object contains the `code` text attribute, which specifies the gift card code. `applied_gift_cards` is a Commerce-only attribute, defined in the GiftCardAccountGraphQl module
5
6
`applied_store_credit` | [`AppliedStoreCredit`][AppliedStoreCredit] | Contains store credit information applied to the cart. `applied_store_credit` is a Commerce-only attribute, defined in the CustomerBalanceGraphQl module
6
7
`available_payment_methods` | [[AvailablePaymentMethod]][AvailablePaymentMethod] | Available payment methods
7
8
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
8
9
`email` | String | The customer's email address
10
+
`id` | ID! | The ID of the cart
11
+
`is_virtual` | Boolean | Indicates whether the cart contains only virtual products
9
12
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
10
13
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
The `CustomerAddressAttribute`object contains the following attributes:
34
+
The `CustomerAddressAttribute`output data type has been deprecated because the contents are not applicable for GraphQL. It can contain the following attributes:
34
35
35
36
Attribute | Data Type | Description
36
37
--- | --- | ---
@@ -45,4 +46,4 @@ Attribute | Data Type | Description
45
46
--- | --- | ---
46
47
`region` | String | The state or province name
47
48
`region_code` | String | The address region code
48
-
`region_id` | Int | Uniquely identifies the region
49
+
`region_id` | Int | Deprecated. Use `region` instead. Uniquely identifies the region
Copy file name to clipboardExpand all lines: src/_includes/graphql/customer-input.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,14 @@ Attribute | Data Type | Description
2
2
--- | --- | ---
3
3
`addresses` | [CustomerAddress](#customerAddressInput) | An array containing the customer's shipping and billing addresses
4
4
`created_at` | String | Timestamp indicating when the account was created
5
+
`date_of_birth` | String | The customer's date of birth
5
6
`default_billing` | String | The ID assigned to the billing address
6
7
`default_shipping` | String | The ID assigned to the shipping address
7
-
`dob` | String | The customer's date of birth
8
+
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth
8
9
`email` | String | The customer's email address
9
10
`firstname` | String | The customer's first name
10
11
`gender` | Int | The customer's gender (Male - 1, Female - 2)
11
-
`group_id` | Int | The group assigned to the user. Default values are 0 (Not logged in), 1 (General), 2 (Wholesale), and 3 (Retailer)
12
+
`group_id` | Int | Deprecated. This attribute is not applicable for GraphQL. The group assigned to the user. Default values are 0 (Not logged in), 1 (General), 2 (Wholesale), and 3 (Retailer)
12
13
`id` | Int | The ID assigned to the customer
13
14
`is_subscribed` | Boolean | Indicates whether the customer is subscribed to the company's newsletter
14
15
`lastname` | String | The customer's family name
@@ -17,4 +18,4 @@ Attribute | Data Type | Description
17
18
`suffix` | String | A value such as Sr., Jr., or III
18
19
`taxvat` | String | The customer's Tax/VAT number (for corporate customers)
Copy file name to clipboardExpand all lines: src/_includes/graphql/customer-output.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,21 @@ Attribute | Data Type | Description
2
2
--- | --- | ---
3
3
`addresses` | [CustomerAddress](#customerAddressOutput) | An array containing the customer's shipping and billing addresses
4
4
`created_at` | String | Timestamp indicating when the account was created
5
+
`date_of_birth` | String | The customer's date of birth
5
6
`default_billing` | String | The ID assigned to the billing address
6
7
`default_shipping` | String | The ID assigned to the shipping address
7
-
`dob` | String | The customer's date of birth
8
+
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth
8
9
`email` | String | The customer's email address
9
10
`firstname` | String | The customer's first name
10
11
`gender` | Int | The customer's gender (Male - 1, Female - 2)
11
-
`group_id` | Int | The group assigned to the user. Default values are 0 (Not logged in), 1 (General), 2 (Wholesale), and 3 (Retailer)
12
+
`group_id` | Int | Deprecated. This attribute is not applicable for GraphQL. The group assigned to the user. Default values are 0 (Not logged in), 1 (General), 2 (Wholesale), and 3 (Retailer)
12
13
`id` | Int | The ID assigned to the customer
13
14
`is_subscribed` | Boolean | Indicates whether the customer is subscribed to the company's newsletter
14
15
`lastname` | String | The customer's family name
15
16
`middlename` |String | The customer's middle name
16
17
`prefix` | String | An honorific, such as Dr., Mr., or Mrs.
17
18
`suffix` | String | A value such as Sr., Jr., or III
18
19
`taxvat` | String | The customer's Tax/VAT number (for corporate customers)
20
+
`wishlist` | Wishlist! | Contains the contents of the customer's wish lists
0 commit comments