Skip to content

[GraphQl] Add wishlist item to cart Implementation #31331

Closed
@magento-engcom-team

Description

@magento-engcom-team

Implement coverage for this new mutation 

<https://github.com/magento/architecture/blob/master/design-documents/graph-ql/coverage/customer/Wishlist.graphqls]

addWishlistItemsToCart( wishlistUid: ID!, @doc(description: "unique Id of wishlist") wishlistItemUids: [ID!> @doc(description: "Optional param. selected wish list items that are to be added") ): AddWishlistItemsToCartOutput @doc(description: "Add Requisition List Items To Customer Cart")

AC

  • The field wishlistItemUids in the input can be null. Which implies that all the items in the wishlist will be added to the cart when wishlistItemUids are null.
  • The status field in the response conveys the result of the operation true/false
  • The addwishlist_items_to_cart_usererrors field should aggregate all the errors occurred when adding the corresponding items to the cart.

 

 

Metadata

Metadata

Assignees

Labels

PAPPartners acceleration programPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneProject: GraphQL

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions