API Endpoints

Sub Steps Names Pick & Delivery

Specific configuration parameters Pick and Delivery

ParameterDescription
customStepsName.receivedParameter used to change the title of the Received substep (optional)
- Default: Received
customStepsName.pickingParameter used to change the title of the Picking substep (optional)
- Default: Picking
customStepsName.goingToDestinationParameter used to change the title of the Going To Destination substep (optional)
- Default: Going To Destination
customStepsName.deliveredParameter used to change the title of the Delivered substep (optional)
- Default: Delivered

Usage Example


Consider the following 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",
        customStepsName: {
            received: 'Recibimos tu orden',
            picking: 'En recoleccion',
            goingToDestination: 'En camino a tu casa',
            delivered: 'Te lo entregamos'
        }
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content