About sample code

The sample source code is an app created using the front data, which is generally public information provided on the shopping mall screen.The app has a function that stimulates the customers‘ interest in the product by showing in real time how
many customers have viewed it and how many products are in the shopping cart.

Front API source code format

Using the JavaScript SDK, you can easily call the front API. [the admin API cannot be called]

JavaScript SDK usage condition: It works only if the script of the app service is installed through the script API (scripttags API).

Sample source code for automatic script installation

If you need to insert a script into the front screen of the Cafe24 shopping mall platform, you can install (insert) the script on the desired screen easily and conveniently through the script API. The name of the screen to be installed can be checked through the screen code API.

The script reflected in the shopping mall front works by calling the script of the developer's runtime server.