# Takeout order received WhatsApp template

> Confirm that a takeout or delivery order was received with the total and pickup time. Order confirmation WhatsApp template for restaurants.

- Category: Utility
- Industry: Restaurants
- Use case: Order confirmation
- Language: en_US
- Approval rate: 91%
- Page: https://template-builder.dev/whatsapp-template/restaurants-order-received
- JSON: https://template-builder.dev/whatsapp-template/restaurants-order-received.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoicmVzdGF1cmFudHNfb3JkZXJfcmVjZWl2ZWQiLCJsYW5ndWFnZSI6ImVuX1VTIiwiY2F0ZWdvcnkiOiJVVElMSVRZIiwiaGVhZGVyIjp7InR5cGUiOiJURVhUIiwidGV4dCI6Ik9yZGVyIHJlY2VpdmVkIn0sImJvZHkiOnsidGV4dCI6IlRoYW5rcyB7e2ZpcnN0X25hbWV9fSEgV2UgcmVjZWl2ZWQgeW91ciBvcmRlciAqI3t7b3JkZXJfaWR9fSogKHt7aXRlbX19IGFuZCBtb3JlKSBmb3Ige3thbW91bnR9fS4gSXQgd2lsbCBiZSByZWFkeSBmb3IgcGlja3VwIGF0IHt7dGltZX19LiBUaGFuayB5b3UsIGFuZCByZXBseSBoZXJlIGlmIHlvdSBuZWVkIGFueXRoaW5nLiJ9LCJ2YXJpYWJsZXMiOnsiZmlyc3RfbmFtZSI6eyJleGFtcGxlIjoiTWFyaWEifSwib3JkZXJfaWQiOnsiZXhhbXBsZSI6IjQ1MTIifSwiaXRlbSI6eyJleGFtcGxlIjoiTWFyZ2hlcml0YSBQaXp6YSJ9LCJhbW91bnQiOnsiZXhhbXBsZSI6IiQ0OS45MCJ9LCJ0aW1lIjp7ImV4YW1wbGUiOiIzOjMwIFBNIn19fQ

## How to get it approved

List the items summary or order number so the template reads as a receipt, not an ad.

## Message text

Order received
Thanks {{first_name}}! We received your order *#{{order_id}}* ({{item}} and more) for {{amount}}. It will be ready for pickup at {{time}}. Thank you, and reply here if you need anything.

## Variables

- `{{first_name}}`: Maria
- `{{order_id}}`: 4512
- `{{item}}`: Margherita Pizza
- `{{amount}}`: $49.90
- `{{time}}`: 3:30 PM

## Template JSON

```json
{
  "name": "restaurants_order_received",
  "language": "en_US",
  "category": "UTILITY",
  "header": {
    "type": "TEXT",
    "text": "Order received"
  },
  "body": {
    "text": "Thanks {{first_name}}! We received your order *#{{order_id}}* ({{item}} and more) for {{amount}}. It will be ready for pickup at {{time}}. Thank you, and reply here if you need anything."
  },
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "order_id": {
      "example": "4512"
    },
    "item": {
      "example": "Margherita Pizza"
    },
    "amount": {
      "example": "$49.90"
    },
    "time": {
      "example": "3:30 PM"
    }
  }
}
```

## Create it with the Meta Cloud API

```sh
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $META_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "restaurants_order_received",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Order received"
    },
    {
      "type": "BODY",
      "text": "Thanks {{first_name}}! We received your order *#{{order_id}}* ({{item}} and more) for {{amount}}. It will be ready for pickup at {{time}}. Thank you, and reply here if you need anything.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "order_id",
            "example": "4512"
          },
          {
            "param_name": "item",
            "example": "Margherita Pizza"
          },
          {
            "param_name": "amount",
            "example": "$49.90"
          },
          {
            "param_name": "time",
            "example": "3:30 PM"
          }
        ]
      }
    }
  ]
}'
```
