Confirm a new order on WhatsApp with order number, total and a link to the receipt. Utility template for online stores. Free to copy and edit.
Share of submissions of this template that Meta approved.
✳Approval tip
Keep it strictly transactional; adding a coupon or cross-sell flips Meta's classifier to marketing. Trigger it right after payment clears.
Order #{{order_id}} confirmed
Thanks for your order, {{first_name}}! We received order *#{{order_id}}* totaling {{amount}} and we're getting it ready now.
Acme Store{{order_id}}4512{{first_name}}Maria{{amount}}$49.90</>For developers
The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.
ecommerce_order_confirmation.json
{
"name": "ecommerce_order_confirmation",
"language": "en_US",
"category": "UTILITY",
"header": {
"type": "TEXT",
"text": "Order #{{order_id}} confirmed"
},
"body": {
"text": "Thanks for your order, {{first_name}}! We received order *#{{order_id}}* totaling {{amount}} and we're getting it ready now."
},
"footer": {
"text": "Acme Store"
},
"buttons": [
{
"type": "URL",
"text": "View receipt",
"url": "https://acme.com/orders/{{order_id}}"
}
],
"variables": {
"order_id": {
"example": "4512"
},
"first_name": {
"example": "Maria"
},
"amount": {
"example": "$49.90"
}
}
}Create with the Meta Cloud API
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": "ecommerce_order_confirmation",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Order #{{order_id}} confirmed",
"example": {
"header_text_named_params": [
{
"param_name": "order_id",
"example": "4512"
}
]
}
},
{
"type": "BODY",
"text": "Thanks for your order, {{first_name}}! We received order *#{{order_id}}* totaling {{amount}} and we'\''re getting it ready now.",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Maria"
},
{
"param_name": "order_id",
"example": "4512"
},
{
"param_name": "amount",
"example": "$49.90"
}
]
}
},
{
"type": "FOOTER",
"text": "Acme Store"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "View receipt",
"url": "https://acme.com/orders/{{1}}",
"example": [
"https://acme.com/orders/4512"
]
}
]
}
]
}'+Related