WhatsApp
Update a number's commerce settings
PUThttps:/ / zernio.com/ api/ v1/ whatsapp/ commerce-settings
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonWhat every request needs
accountIdstringRequired
WhatsApp account ID
Optional parameters3 fields
catalogAccountIdstring
isCartEnabledboolean
isCatalogVisibleboolean
Responses
Success· the request worked
Errors· the request failed
Get a number's commerce settings
Whether the linked catalog is shown on the business profile (`isCatalogVisible`) and whether customers can build a cart (`isCartEnabled`).
Get CTWA conversions dataset
Returns the Meta Click-to-WhatsApp conversions dataset currently linked to the WhatsApp account, if one has been provisioned. Reads only from the stored `metadata.metaCapiDatasetId`, never hits Meta, never creates a dataset. Use this to detect whether `POST /v1/whatsapp/conversions` is configured for an account.