This reference documents the objects and methods available for use in Smile’s frontend JavaScript SDK, Smile.js. At it’s core, the library is a wrapper around Smile’s REST API, so many objects and concepts are shared.
You can use Smile.js to retrieve and display customer information, redeem points for rewards, and embed rewards information within your site.
Smile.js is not currently compatible with single page applications.