catalog management in regular business account #336
|
Hi, |
Replies: 1 comment 1 reply
|
Hi @may215 — three questions, three answers. Let me take them in turn. 1. Catalog management on a regular business accountYes, OpenWA exposes catalog operations — assuming the linked WhatsApp number has a catalog configured (which works on both WhatsApp Business and regular accounts that have enabled the catalog feature). The endpoints are:
Note: these endpoints read and send; creating/editing products through the API isn't currently supported — that has to be done in the WhatsApp Business app on the phone. If programmatic product management is important to you, that's a reasonable feature request — please open a separate discussion with your use case so we can gauge interest. 2. Mass / bulk messaging to 1000 clientsYes, OpenWA has a bulk-send endpoint designed for exactly this. See A few practical caveats — and these matter a lot:
3. Analytics (received / opened / viewed)Partial. OpenWA tracks the standard WhatsApp delivery state machine:
These states are:
What's not currently available:
If the built-in analytics don't cover your use case, the recommended pattern is to subscribe to the webhook events above and aggregate in your own data store. Hope that helps! |
Hi @may215 — three questions, three answers. Let me take them in turn.
1. Catalog management on a regular business account
Yes, OpenWA exposes catalog operations — assuming the linked WhatsApp number has a catalog configured (which works on both WhatsApp Business and regular accounts that have enabled the catalog feature). The endpoints are:
GET /api/sessions/{sessionId}/catalog— fetch the session's catalogGET /api/sessions/{sessionId}/catalog/products— list productsGET /api/sessions/{sessionId}/catalog/products/{productId}— get a specific productPOST /api/sessions/{sessionId}/messages/send-product— send a product card to a chatPOST /api/sessions/{sessionId}/messages/send-catalog…