# Order shipped with tracking link WhatsApp template

> Tell customers their order left the warehouse, with a dynamic tracking link and delivery estimate. Approved as a utility template.

- Category: Utility
- Industry: E-commerce
- Use case: Shipping update
- Language: en_US
- Approval rate: 91%
- Page: https://template-builder.dev/whatsapp-template/ecommerce-order-shipped
- JSON: https://template-builder.dev/whatsapp-template/ecommerce-order-shipped.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoib3JkZXJfc2hpcHBlZCIsImxhbmd1YWdlIjoiZW5fVVMiLCJjYXRlZ29yeSI6IlVUSUxJVFkiLCJoZWFkZXIiOnsidHlwZSI6IlRFWFQiLCJ0ZXh0IjoiT3JkZXIge3tvcmRlcn19IHNoaXBwZWQifSwiYm9keSI6eyJ0ZXh0IjoiSGkge3tuYW1lfX0sIHlvdXIgb3JkZXIgKnt7b3JkZXJ9fSogbGVmdCBvdXIgd2FyZWhvdXNlIHRvZGF5IGFuZCBhcnJpdmVzIHdpdGhpbiBfMyBidXNpbmVzcyBkYXlzXy4ifSwiZm9vdGVyIjp7InRleHQiOiJBY21lIFN0b3JlIn0sImJ1dHRvbnMiOlt7InR5cGUiOiJVUkwiLCJ0ZXh0IjoiVHJhY2sgb3JkZXIiLCJ1cmwiOiJodHRwczovL2FjbWUuY29tL3RyYWNrL3t7b3JkZXJ9fSJ9XSwidmFyaWFibGVzIjp7Im5hbWUiOnsiZXhhbXBsZSI6Ik1hcmlhIn0sIm9yZGVyIjp7ImV4YW1wbGUiOiI0NTEyIn19fQ

## How to get it approved

Utility templates must stay transactional: no discount or upsell in the text, or Meta recategorizes them as marketing.

## Message text

Order {{order}} shipped
Hi {{name}}, your order *{{order}}* left our warehouse today and arrives within _3 business days_.
Acme Store

## Variables

- `{{name}}`: Maria
- `{{order}}`: 4512

## Template JSON

```json
{
  "name": "order_shipped",
  "language": "en_US",
  "category": "UTILITY",
  "header": {
    "type": "TEXT",
    "text": "Order {{order}} shipped"
  },
  "body": {
    "text": "Hi {{name}}, your order *{{order}}* left our warehouse today and arrives within _3 business days_."
  },
  "footer": {
    "text": "Acme Store"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "Track order",
      "url": "https://acme.com/track/{{order}}"
    }
  ],
  "variables": {
    "name": {
      "example": "Maria"
    },
    "order": {
      "example": "4512"
    }
  }
}
```

## 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": "order_shipped",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Order {{order}} shipped",
      "example": {
        "header_text_named_params": [
          {
            "param_name": "order",
            "example": "4512"
          }
        ]
      }
    },
    {
      "type": "BODY",
      "text": "Hi {{name}}, your order *{{order}}* left our warehouse today and arrives within _3 business days_.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "name",
            "example": "Maria"
          },
          {
            "param_name": "order",
            "example": "4512"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Acme Store"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Track order",
          "url": "https://acme.com/track/{{1}}",
          "example": [
            "https://acme.com/track/4512"
          ]
        }
      ]
    }
  ]
}'
```
