You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Current »
The method subscribes the user to the notifications that the product is available.
PersonaClick.subscribeForBackInStock(id, properties, email, phone);
Additional product properties. The following are available:
Check the example below.
The current user's Email.
Must be "null" if using a phone number.
The current user's phone in full international format.
A phone number in full international format may begin with a plus sign (+) followed by the country code, city (area) code, and phone number.
PersonaClick.subscribeForBackInStock("100500");
PersonaClick.subscribeForBackInStock("100500", "john.doe@examplestore.com");
PersonaClick.subscribeForBackInStock("100500", null, "+4400114527199");
JSONObject properties = new JSONObject(); properties.put("fashion_size", "XL"); PersonaClick.subscribeForBackInStock("100500", properties, "john.doe@examplestore.com", null, null);
The method unsubscribes the user from the notification that the product is available.
PersonaClick.unsubscribeForBackInStock(params);
PersonaClick.unsubscribeForBackInStock(new String[] {"100500", "146", "12"});
PersonaClick.unsubscribeForBackInStock(new String[] {}); // unsubscribe from all products
The method subscribes the user to the notifications of a product price decrease.
PersonaClick.subscribeForPriceDrop(id, currentPrice, email, phone);
PersonaClick.subscribeForPriceDrop("100500", 146.99);
PersonaClick.subscribeForPriceDrop("100500", 146.99, "john.doe@examplestore.com");
PersonaClick.subscribeForPriceDrop("100500", 146.99, null, "+4400114527199");
The method unsubscribes the user from an email notification of a product price decrease.
PersonaClick.unsubscribeForPriceDrop(params);
PersonaClick.unsubscribeForPriceDrop(new String[] {"100500", "146", "12"});
PersonaClick.unsubscribeForPriceDrop(new String[] {}); // unsubscribe from all products
Page Navigation
Related Pages