Skip to main content

wishlistRemoveVariant

Remove product variant from the current user's wishlist.

wishlistRemoveVariant(
userId: ID
variantId: ID!
wishlistId: ID
): WishlistRemoveProductVariant

Arguments

wishlistRemoveVariant.userId ● ID scalar

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

wishlistRemoveVariant.variantId ● ID! non-null scalar

The ID of the product variant.

wishlistRemoveVariant.wishlistId ● ID scalar

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

Type

WishlistRemoveProductVariant object

Remove product variant from the current user's wishlist.

Was this page helpful?