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/WishlistGraphQl/etc/schema.graphqls
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type WishlistOutput @doc(description: "Deprecated: `Wishlist` type should be use
23
23
}
24
24
25
25
typeWishlist {
26
-
id: ID@deprecated(reason: "Use `wishlists.uid` instead") @doc(description: "The unique ID for a `Wishlist` object")
26
+
id: ID@deprecated(reason: "Use `uid` instead") @doc(description: "The unique ID for a `Wishlist` object")
27
27
uid: ID@doc(description: "The unique ID for a `Wishlist` object")
28
28
items: [WishlistItem] @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistItemsResolver") @deprecated(reason: "Use field `items_v2` from type `Wishlist` instead")
id: ID!@deprecated(reason: "Use `WishlistItemInterface.uid` instead") @doc(description: "The unique ID for a `WishlistItemInterface` object")
39
+
id: ID!@deprecated(reason: "Use `uid` instead") @doc(description: "The unique ID for a `WishlistItemInterface` object")
40
40
uid: ID!@doc(description: "The unique ID for a `WishlistItemInterface` object")
41
41
quantity: Float!@doc(description: "The quantity of this wish list item")
42
42
description: String@doc(description: "The description of the item")
@@ -64,13 +64,13 @@ type Mutation {
64
64
updateProductsInWishlist(wishlistId: ID!, wishlistItems: [WishlistItemUpdateInput!]!): UpdateProductsInWishlistOutput@doc(description: "Updates one or more products in the specified wish list") @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\UpdateProductsInWishlist")
65
65
addWishlistItemsToCart(
66
66
wishlistUid: ID!, @doc(description: "The unique ID of the requisition list")
67
-
wishlistItemUids: [ID!] @doc(description: "An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the wishlist will be added to the cart")
68
-
): AddWishlistItemsToCartOutput@resolver(class: "Magento\\WishlistGraphQl\\Model\\Resolver\\Wishlist\\AddToCart") @doc(description: "Add items in the wishlist to the customer's cart")
67
+
wishlistItemUids: [ID!] @doc(description: "An array of UIDs representing products to be added to the cart. If no UIDs are specified, all items in the wishlist will be added to the cart")
68
+
): AddWishlistItemsToCartOutput@resolver(class: "Magento\\WishlistGraphQl\\Model\\Resolver\\Wishlist\\AddToCart") @doc(description: "Add items in the specified wishlist to the customer's cart")
status: Boolean!@doc(description: "Indicates whether the attempt to add items to the customer's cart was successful")
73
+
add_wishlist_items_to_cart_user_errors: [CartUserInputError!]!@doc(description: "An array of errors encountered while adding products to the customer's cart")
74
74
}
75
75
76
76
inputWishlistItemInput@doc(description: "Defines the items to add to a wish list") {
0 commit comments