Skip to main content

WishlistItemDeletedSdkEvent

Event triggered when an item is deleted from a wishlist. Provides details about the wishlist and the item that was removed.

Implements​

  • SdkEventInterface

Constructors​

Constructor​

new WishlistItemDeletedSdkEvent(wishlistId, productId, variantId): WishlistItemDeletedSdkEvent

Parameters​

ParameterTypeDescription
wishlistIdnumberID of the wishlist from which the item was deleted
productIdnumberID of the product that was removed from the wishlist
variantIdnumberID of the product variant that was removed

Returns​

WishlistItemDeletedSdkEvent

Properties​

PropertyModifierTypeDescription
productIdreadonlynumberID of the product that was removed from the wishlist
typereadonlyWISHLIST_ITEM_DELETEDEvent type, which is "wishlistItemDeleted"
variantIdreadonlynumberID of the product variant that was removed
wishlistIdreadonlynumberID of the wishlist from which the item was deleted