We are making changes to the WhatsApp Business Platform pricing model. See Pricing Updates on the WhatsApp Business Platform.
This document explains how to create catalog templates. See Sell Products & Services to learn more about product catalogs and ways to showcase your products.
Catalog templates are marketing templates that allow you to showcase your product catalog entirely within WhatsApp. Catalog templates display a product thumbnail header image of your choice and custom body text, along with a fixed text header and fixed text sub-header.
When a customer taps the View catalog button in a catalog template message, your product catalog appears within WhatsApp.
You must have inventory uploaded to Meta in an ecommerce catalog connected to your WhatsApp Business Account.
Use the WhatsApp Business Account > Message Templates endpoint to create a catalog template. Once your template is approved, you can use Cloud API to send it in a template message.
POST /<WHATSAPP_BUSINESS_ACCOUNT_ID>/messages_templates
{ "name": "<NAME>", "language": "<LANGUAGE>", "category": "MARKETING", "components": [ { "type": "BODY", "text": "<BODY_TEXT>", "example": { "body_text": [ [ "<EXAMPLE_BODY_TEXT>" ] ] } }, { "type": "FOOTER", "text": "<FOOTER_TEXT>" }, { "type": "BUTTONS", "buttons": [ { "type": "CATALOG", "text": "View catalog" } ] } ] }
Placeholder | Description | Sample Value |
---|---|---|
String | Required. Template body text. Variables are supported. Maximum 1024 characters. |
|
String (of an array of strings) | Required if body text uses variables. Sample strings to replace variable placeholders in Maximum 1024 characters. |
|
String | Optional. Template footer text. Variables are supported. Maximum 60 characters. |
|
String | Required. Template language and locale code. |
|
String | Required. Template name. Maximum 512 characters. |
|
curl 'https://graph.facebook.com/v17.0/102290129340398/message_templates' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer EAAJB...' \ -d ' { "name": "intro_catalog_offer", "language": "en_US", "category": "MARKETING", "components": [ { "type": "BODY", "text": "Now shop for your favourite products right here on WhatsApp! Get Rs {{1}} off on all orders above {{2}}Rs! Valid for your first {{3}} orders placed on WhatsApp!", "example": { "body_text": [ [ "100", "400", "3" ] ] } }, { "type": "FOOTER", "text": "Best grocery deals on WhatsApp!" }, { "type": "BUTTONS", "buttons": [ { "type": "CATALOG", "text": "View catalog" } ] } ] }'
{ "id": "546151681022936", "status": "PENDING", "category": "MARKETING" }
Once your catalog template is approved, you can use the Cloud API to send it in a catalog template message.