| FavoriteProductServiceAddProductToFavoriteList Method (Int32, String, String, Int32) |
Namespace:
Dynamicweb.Ecommerce.CustomerExperienceCenter.Favorites
Assembly:
Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax public void AddProductToFavoriteList(
int userId,
string productId,
string productVariantId,
int favoriteListId = 0
)
Public Sub AddProductToFavoriteList (
userId As Integer,
productId As String,
productVariantId As String,
Optional favoriteListId As Integer = 0
)
Parameters
- userId
- Type: SystemInt32
- productId
- Type: SystemString
- productVariantId
- Type: SystemString
- favoriteListId (Optional)
- Type: SystemInt32
See Also