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
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | BigcommerceIntegrationContext | |
wishlistId | Required | number |
Returns
Returns void
Referenced Types
Examples
Deleting a wishlist.
import { sdk } from '~/sdk.config.ts';
const deleteWishlistResponse = await sdk.bigcommerce.deleteWishlist({
wishlistId: 30
});