Alokai

getAllWishlists

Gets all customers wishlists.

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

Signature

declare function getAllWishlists(
	context: BigcommerceIntegrationContext,
	query?: GetAllWishlistQuery
): Promise<WishlistCollectionResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredBigcommerceIntegrationContext
queryOptionalGetAllWishlistQuery

Returns

Returns a response containing the object with the created wishlist details.

Referenced Types

Examples

Getting customers wishlists

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

const getAllWishlistsResponse = await sdk.bigcommerce.getAllWishlists();

On this page