Sends a notification to the eSales service, about a product being added to favorites.
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
Syntax
C#
public void NotifyFavoriteAddition( string productKey, string variantKey )
Parameters
- productKey
- Type: SystemString
The product key of the favorite product or may be null if you have a variant key. - variantKey
- Type: SystemString
The variant key of the favorite. Can be null if a product key is provided. The variant key should always be set if the product has variants.
Exceptions
Exception | Condition |
---|---|
IllegalArgumentException | If productKey or variantKey are empty or both are null. |
See Also