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: design-documents/graph-ql/coverage/cart/Cart.graphqls
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,11 @@ type CartQueryOutput {
13
13
typeCart {
14
14
id: ID!@doc(description: "The ID of the cart.") @deprecated(reason: "use uid")
15
15
uid: ID!@doc(description: "The unique ID of the cart.")
16
-
items: [CartItemInterface]
16
+
items: [CartItemInterface] @deprecated(reason: "The `items` field is deprecated. Use `items_v2` instead.")
17
+
items_v2(
18
+
currentPage: Int = 1 @doc(description: "current page of the customer cart items. default is 1")
19
+
pageSize: Int = 20 @doc(description: "page size for the customer cart items. default is 20")
20
+
): CartItems!@doc(description: "Cart items")
17
21
applied_coupons: [AppliedCoupon] @doc(description:"An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code. By default Magento supports only one coupon.")
Copy file name to clipboardExpand all lines: design-documents/graph-ql/coverage/customer/Wishlist.graphqls
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,24 @@ type Customer {
14
14
15
15
typeWishlist {
16
16
id: ID
17
-
items: [WishlistItem] @deprecated(reason: "Use field `items_v2` from type `Wishlist` instead")
18
-
items_v2: [WishlistItemInterface] @doc(description: "An array of items in the customer's wishlist")
17
+
items: [WishlistItem] @deprecated(reason: "Use field `items_v3` from type `Wishlist` instead")
18
+
items_v2: [WishlistItemInterface] @doc(description: "An array of items in the customer's wishlist") @deprecated(reason: "Use field `items_v3` from type `Wishlist` instead")
19
+
items_v3(
20
+
currentPage: Int = 1 @doc(description: "current page of the customer wishlist items. default is 1")
21
+
pageSize: Int = 20 @doc(description: "page size for the customer wishlist items. default is 20")
22
+
): WishlistItems!@doc(description: "An array of items in the customer's wishlist")
19
23
items_count: Int
20
24
sharing_code: String
21
25
updated_at: String
22
26
name: String@doc(description: "Avaialble in Commerce edition only")
23
27
}
24
28
29
+
typeWishlistItems {
30
+
items: [WishlistItemInterface]!
31
+
page_info: SearchResultPageInfo
32
+
total_count: Int!
33
+
}
34
+
25
35
inputWishlistItemUpdateInput {
26
36
wishlist_item_id: ID
27
37
quantity: Float
@@ -87,4 +97,3 @@ type GiftCardWishlistItem implements WishlistItemInterface {
0 commit comments