Home » Use Cases

Optimize Contactless Delivery

Use case - Share Food Delivery Time and Location high-level overview

In today's world, customers appreciate reliable, useful and up-to-date information with as little human contact as possible.

After a customer has ordered a meal from your restaurant, keep them updated and provide information when they will have the order delivered to their door.

By proactively engaging your customers and letting them know about their delivery status, they will have all the relevant information in their hands and feel more comfortable in the warmth of their homes, or wherever they are safe at the moment.

If they want to change the location or postpone the delivery time, they will be able to do so just by replying to your WhatsApp messages. 

Keep the communication seamless and let a chatbot handle any further communication with your hungry customer.

This use case shows you how to send delivery confirmation to your customers over API by using WhatsApp Media Message Templates.

Process Workflow

Use case - Share Food Delivery Time and Location process workflow


Steps over API


Before you can start sending message templates, your template needs to be approved by WhatsApp. After your delivery_confirmation media message template has been approved, you can personalize it and reuse it for other customers.

Define the media in the header, in this instance the location, and then enter the message content. Also, the message footer can be set for additional information.
Use the additional placeholders to personalize your message.

Template name

Template header

Template body



delivery_confirmation Media - Location

Hi {{1}}!
Your {{2}} is in the making and will be delivered
to the address seen on the map in approx. {{3}} minutes.


To send a delivery location notification to a specific customer using API, follow the steps described below:

  1. Log in to the Infobip API Developer Hub and copy your base URL. 
    (e.g., your personal base URL is: https://{{BASE_URL}}.api.infobip.com/) 


The personal BASE URL is a simple way to identify who sent the API request. This means we can identify the request through DNS and then find the optimal route for API requests.

2.Open Postman (or a similar tool) and choose the POST method.

3. Replace endpoint with https://{{BASE_URL}}.api.infobip.com/omni/1/advanced

4. Add the Authorization header.
For example, Basic: Base64 encoded username and password.
Learn more about Security and Authorization methods on the Infobip API Developer Hub.

5. Copy the scenarioKey you previously created.
Learn more about Creating a scenario.

6. Specify the destination phoneNumber you wish to send the notification to.
Replace the templateName, latitude, longitude, placeholders, and language fields with registered ones (refer to the table above).   

           "mediaTemplateData": {
		"header": {
		  "latitude": 45.793337,
		"longitude": 15.946519
		"body": {
			"placeholders": ["51298783"]

Here's how the message will look like:


Apart from sharing the delivery location for items and packages, you can create entire digital customer journeys by sending out customers' e-receipts right after they make a purchase.

Related Products

Communicate with your customers over the world’s most used Chat app