Home > @vsf-enterprise/commercetools-api > createMyShoppingList
# createMyShoppingList() function
Endpoint for creating new wishlist. By default, it uses the createMyShoppingListDefaultQuery GraphQL query
Signature:
export declare function createMyShoppingList(context: Context, draft: CreateMyShoppingListParams, customQuery?: CustomQuery): Promise<CreateMyShoppingListResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Automatically injected context. Refer to Context |
draft | CreateMyShoppingListParams | Wishlist information |
customQuery | CustomQuery | Custom queries included in the request |
Returns:
Promise<CreateMyShoppingListResponse>
User wishlist