Skip to content

Product Template

Updated: Oct 23, 2025

Product Templates can be utilized to send specific products to users, the message will show up as a carousel where users will swipe to see each product. Up to 10 products can be placed in a single product template Marketing Message.

product_ids can be obtained via Catalog API or via Facebook Commerce Manager. Product template only supports product_ids owned by the same page.

{  
  "message_id": "<MESSAGE_ID>",  
  "messenger_delivery_data": {  
    "subscription_token": "<SUBSCRIPTION_TOKEN>"  
  },  
  "message":{  
    "attachment": {  
      "type": "template",  
      "payload": {  
        "template_type": "product",  
        "elements": [  
          {  
            "id": "<PRODUCT_ID>"  
          },  
          {  
            "id": "<PRODUCT_ID>"  
          },  
          {  
            "id": "<PRODUCT_ID>"  
          }  
        ]  
      }  
    }  
  }  
}

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About