removeWishlistItem
Removes items from the wishlist.
It receives data from the removeWishlistItem endpoint exposed by the BigCommerce API
Signature
declare function removeWishlistItem(
context: BigcommerceIntegrationContext,
params: index_d_exports$1.RemoveWishlistItemParams
): Promise<null>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | BigcommerceIntegrationContext | |
params | Required | index_d_exports$1.RemoveWishlistItemParams |
Returns
Returns updated Wishlist data
Referenced Types
Examples
Removing an item from the wishlist
import { sdk } from '~/sdk.config.ts';
const removeWishlistItemResponse = await sdk.bigcommerce.removeWishlistItem({
wishlistId: '7c3ab631-782c-4747-8ccc-873e87de5152',
itemId: 132
}
})