API Endpoints

Delivery code text

Parametersdescription
customTexts.deliveryCodeTextParameter to customize text Delivery code
customTexts.deliveryMainTextParameter to customize the text Give this code to the delivery man to receive your order... in the information modal in delivery code component

Usage Example


Consider the following examples:

  • Text Delivery code

  • Text Delivery code information modal

URL 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",
        customTexts:{
        	deliveryCode: "delivery code custom",
          deliveryMainText: "Custom modal information text",
      }
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content: