API Endpoints

Change delivery date

You can allow your users to change the delivery date of their order. Users will be able to choose a delivery date on the day and time that suits them best.

Specific configuration parameters

ParameterDescription
hideElements.changeDeliveryDateAllows you to change the delivery date
default: "true"
options: "false: || "true"

By setting the canChangeDeliveryDate library parameter to true, we can display the option to change the delivery date.

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: {             
            changeDeliveryDate: false, 
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content