Catalog Templates
Last updated
Last updated
Catalog Templates are only available while using Cloud API.
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.
You must have inventory uploaded to Meta in an ecommerce catalog connected to your WhatsApp Business Account. See Products and Catalogs.
If you require any assistance, please reach out to our Support Team.
Use the create template endpoint and assemble the Catalog Template components in the request:
POST
[base-url]/v1/configs/templates
The message template name field is limited to 512 characters. The message template content field is limited to 1024 characters.
Once your template is approved, you can use Cloud API to send it in a template message.
Example Request
Catalog template messages cannot be sent with the On-Premises API.
POST
https://waba-v2.360dialog.io/messages
Post Body:
Example Request
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Placeholder | Description | Sample Value |
---|---|---|
Name | Type | Description |
---|---|---|
Placeholder | Description | Sample Value |
---|---|---|
D360-API-KEY
string
name*
string
components*
array[objects]
Array of objects that describe the components that make up the template.
category*
string
Allowed values: MARKETING
language*
string
<BODY_TEXT>
String
Required.
Template body text. Variables are supported.
Maximum 1024 characters.
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>
String (of an array of strings)
Required if body text uses variables.
Sample strings to replace variable placeholders in <BODY_TEXT>
string.
Maximum 1024 characters.
100
<FOOTER_TEXT>
String
Optional.
Template footer text. Variables are supported.
Maximum 60 characters.
Best grocery deals on WhatsApp!
<LANGUAGE>
String
Required.
Template language and locale code.
en_US
<NAME>
String
Required.
Template name.
Maximum 512 characters.
intro_catalog_offer
components
String
See Components
language
String
<CODE>
String
en_US
<NAME>
String
Required.
Template name.
intro_catalog_offer
<THUMBNAIL_PRODUCT_RETAILER_ID>
String
Optional.
Item SKU number. Labeled as Content ID in the Commerce Manager.
The thumbnail of this item will be used as the message's header image.
If the parameters
object is omitted, the product image of the first item in your catalog will be used.
2lc20305pt
<TEXT>
String
Required if template uses variables.
Template variable.
100
<TO>
String
Required.
Customer phone number.
+16505551234
<TYPE>
String
Required if template uses variables.
Template variable type.
text