Alokai

deleteWishlist

Method to delete a wishlist

This method sends a POST request to the deleteWishlist endpoint of the Vue Storefront API Middleware. In turn, it receives data from the deleteWishlist endpoint exposed by the BigCommerce API

Signature

declare function deleteWishlist$1(
	props: DeleteWishlistSDKProps,
	options?: MethodOptions
): Promise<void>;

Parameters

NameRequiredTypeDescription
propsRequiredDeleteWishlistSDKPropsParameter object which can be used with this method. Refer to its type definition to learn about possible properties.
optionsOptionalMethodOptions

Returns

Returns void

Referenced Types

Examples

Deleting a wishlist.

import { sdk } from '~/sdk.config.ts';

const deleteWishlistResponse = await sdk.bigcommerce.deleteWishlist({
  wishlistId: 30
});

On this page