Magidoc

wishlistAddProduct
Mutation

Add product to the current user's or target user's wishlist.

Arguments

#

productId

ID !
Non-null

The ID of the product.

userId

ID of the target user (available only for MPO). If not provided, the product will be added to the requester's wishlist.

wishlistId

ID of the target wishlist. If not provided, the product will be added to the default wishlist.

Response

#

Returns WishlistAddProduct .

Example

#