Skip to main content

RemoveWishlistItemInput

Input for removing an item from a wishlist

input RemoveWishlistItemInput {
id: Int
productId: String!
quantity: Int
privateToken: UUID
shareToken: UUID
}

Fields

id ● Int

ID of the wishlist. Optional - if privateToken or shareToken is provided, this can be omitted.

productId ● String!

ID of the product to remove

quantity ● Int

Quantity to remove (optional, removes all if not specified)

privateToken ● UUID

Private token for non-logged-in users. Required if the user is not logged in.

shareToken ● UUID

Share token for accessing shared wishlists. When provided, removes item from the shared wishlist (requires EDIT permission).

Example

{}