NOTE: Currently only one wish list should be create per user.
A wish list can be private, public. A public wish list can be accessed either by everyone or only by people who have the link to it. The privacy of the wish list is determined by the PrivacyOption property of the Wishlist class. It is of type WishlistPrivacy. The enumeration has the following values:
To create a wish list you must perform the following:
Here is a code example:
title, Guid userId,
currency, WishlistPrivacy privacyOption)
OrdersManager ordersManager = OrdersManager.GetManager();
Wishlist wishlist = ordersManager.CreateWishlist();
wishlist.Currency = currency;
wishlist.LastModified = DateTime.Now;
wishlist.PrivacyOption = privacyOption;
wishlist.Title = title;
wishlist.UserId = userId;
wishlist.WishlistDate = DateTime.Now;
//Gets or sets the date when the wish list is created.
Back To Top