Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Subscribe to the "Back in Stock" trigger

Method Objective

The method subscribes the user to the notifications that the product is available.

Syntax and parameters

PersonaClick.subscribeForBackInStock(id, email, phone);

Request parameters

NameTypeRequirementDescription
idstringrequiredThe product ID to notify of the product availability the user will be subscribed.
emailstring/nulloptionally

The current user's Email.

Must be "null" if using a phone number.

phonestringoptionallyThe current user's Phone.

Examples of use

PersonaClick.subscribeForBackInStock("100500");

PersonaClick.subscribeForBackInStock("100500", "john.doe@examplestore.com");

PersonaClick.subscribeForBackInStock("100500", null, "4400114527199");


Subscribe to the "Price Drop" trigger

Method Objective

The method subscribes the user to the notifications of a product price decrease.

Syntax and parameters

PersonaClick.subscribeForPriceDrop(id, currentPrice, email, phone);

Request parameters

NameTypeRequirementDescription
idstringrequiredThe product ID to notify of the product price drop the user will be subscribed.
currentPricenumberrequiredThe current product price.
emailstringoptionally

The current user's Email.

Must be "null" if using a phone number.

phonestringoptionallyThe current user's Phone.

Examples of use

PersonaClick.subscribeForPriceDrop("100500", 146.99);

PersonaClick.subscribeForPriceDrop("100500", 146.99, "john.doe@examplestore.com");

PersonaClick.subscribeForPriceDrop("100500", 146.99, null, "4400114527199");
  • No labels