API Endpoints

Sub Steps Names Pick & Collect

Specific configuration parameters

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.readyForPickupParameter used to change the title of the Ready For Pickup substep (optional)
- Default: Ready For Pickup
customStepsName.pickedUpParameter used to change the title of the Picked Up substep (optional)
- Default: Picked Up

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',
            readyForPickup: 'Te espera en la tienda',
          	pickedUp: 'custom Picked Up'
        }
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content

Example when the state of the order is Picked Up