OverviewProductsPlatformsAPI ReferenceResources

Link a catalog to a WhatsApp number

POSThttps://zernio.com/api/v1/whatsapp/catalogs

Connects a Meta Commerce catalog (owned by the same business portfolio as the WhatsApp Business Account) to the number's WABA. The WhatsApp connection's own token cannot do this, so pass catalogAccountId naming a facebook, instagram or metaads account whose Meta login carries catalog_management.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Body

application/json

What every request needs

accountIdstringRequired

WhatsApp account ID

catalogIdstringRequired

Meta catalog ID

Optional parameters1 field
catalogAccountIdstring

Account whose Meta login token performs the call

Responses

Success· the request worked

Errors· the request failed

POST/v1/whatsapp/catalogs
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.linkWhatsAppCatalog({  body: {    accountId: 'account_abc123',    catalogId: 'catalog_abc123',  },});console.log(data);
{  "wabaId": "string",  "catalogs": [    {      "id": "string",      "name": "string"    }  ]}
OpenAPI specification
Was this page helpful?