Home > @vsf-enterprise/bigcommerce-api > Endpoints > createWishlist

# Endpoints.createWishlist() method

Creates a wishlist and wishlist item. More than one item can be added.

Signature:

createWishlist(context: BigcommerceIntegrationContext, params: CreateWishlistProps): Promise<WishlistResponse>;

# Parameters

Parameter Type Description
context BigcommerceIntegrationContext An auto-generated value prepended to the method as a first parameter.
params CreateWishlistProps An object which contains necessary properties for creating a new wishlist.

Returns:

Promise<WishlistResponse>