OverviewProductsPlatformsAPI ReferenceResources
WhatsApp

Get a number's commerce settings

GEThttps://zernio.com/api/v1/whatsapp/commerce-settings

Whether the linked catalog is shown on the business profile (isCatalogVisible) and whether customers can build a cart (isCartEnabled).

Authentication

AuthorizationBearer tokenRequired

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

Query parameters

accountIdstringRequired

WhatsApp account ID

catalogAccountIdstring

A facebook, instagram or metaads account whose Meta login carries catalog_management; its token performs the call instead of the account's own

Responses

Success· the request worked

Errors· the request failed

GET/v1/whatsapp/commerce-settings
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.getWhatsAppCommerceSettings({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "settings": {    "isCartEnabled": true,    "isCatalogVisible": true  }}
OpenAPI specification
Was this page helpful?