| Name | Description |
|---|---|
| productLove | SDK to vote for a Product in the given campaign. |
| input properties | |
| productid: number | The product id selected. (must be Macy's product ids - 7 Digit Number) |
| campaignid: number | The campaign id selected. (must be predefined and should be in the config file) |
| callback: function | Callback function to be called when product love response is ready. |
| output properties | |
| responseCode: number | 0 = Product voted successfully. 1 = unsuccessful |
| responseMessage: string | Success or Error Message |