Skip to main content
Version: 4.0.0

πŸ›οΈ Send a Catalog Message

Send a catalog message to the specified phone number.

 await whatsapp.sendCatalogMessage(
phoneNumber: 'RECIPIENT_NUMBER',
productRetailerId: 'product_retailer_id',
headerText: 'Check out this product!',
bodyText: 'Amazing product at great price.',
footerText: 'Subscribe',
);
paramtyperequireddescription
phoneNumberStringyesPhone number with country code.
productRetailerIdStringyesUnique product retailer ID from your catalog.
headerTextStringnoHeader text displayed above the product card.
bodyTextStringnoBody text displayed below the product details.
footerTextStringnoFooter text displayed below the product card.

Example with multiple products​

If you want to showcase more than one product, you can include a catalog message with a collection of items.

await whatsapp.sendCatalogMessage(
phoneNumber: 'RECIPIENT_NUMBER',
productRetailerId: 'product_123',
headerText: 'πŸ”₯ Hot Deals!',
bodyText: 'Browse our top products today!',
footerText:'Follow us',
);

await whatsapp.sendCatalogMessage(
phoneNumber: 'RECIPIENT_NUMBER',
productRetailerId: 'product_456',
headerText: '✨ Best Seller!',
bodyText: 'Don’t miss out on this one!',
footerText:'Follow us',
);