API Endpoints

Can Rate

You can allow your users to rate the whole experience with their delivery process. The users will be able to rate with a certain number of stars representing their emotions about the experience.

For each possible rating, the user is able to optionally select from a set of few short sentences, the reason that most aligns with their feelings or experience, allowing them to expand their motivation for giving a certain value.

📘

Rating

The Rating process will only be triggered when the order has already finished and is in step "Delivered"

Specific configuration parameters

ParameterDescription
hideElements.rateOrderAllows the process of rating to be started when the order is completed

default: "true"
options: "false: || "true"

Code Example

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",       
        hideElements: {             
            rateOrder: 'false', 
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content