Alokai

deleteWishlist

Delete a wishlist

It receives data from the deleteWishlist endpoint exposed by the BigCommerce API

Signature

declare function deleteWishlist(
	context: BigcommerceIntegrationContext,
	wishlistId: number
): Promise<null>;

Parameters

NameRequiredTypeDescription
contextRequiredBigcommerceIntegrationContext
wishlistIdRequirednumber

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