Catalog Templates
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.
Requirements
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.
Template Creation
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.
Headers
Name | Type | Description |
---|---|---|
D360-API-KEY | string |
Request Body
Name | Type | Description |
---|---|---|
name* | string | |
components* | array[objects] | Array of objects that describe the components that make up the template. |
category* | string | Allowed values: |
language* | string |
Once your template is approved, you can use Cloud API to send it in a template message.
Post Body
Properties
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. |
|
Example Request
Sending Catalog Templates
Catalog template messages cannot be sent with the On-Premises API.
POST
https://waba-v2.360dialog.io/messages
Request Body
Name | Type | Description |
---|---|---|
components | String | See Components |
language | String |
Post Body:
Components
Placeholder | Description | Sample Value |
---|---|---|
String |
| |
String | Required.
Template name. |
|
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 |
|
String | Required if template uses variables.
Template variable. |
|
String | Required.
Customer phone number. |
|
String | Required if template uses variables.
Template variable type. |
|
Example Request
Last updated