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).
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
WhatsApp account ID
A facebook, instagram or metaads account whose Meta login carries catalog_management; its token performs the call instead of the account's own
Response Body
application/json
application/json
application/json
application/json
application/json
{ "settings": { "isCartEnabled": true, "isCatalogVisible": true }}Revoke a sandbox session
Hard-deletes the session. The user loses the ability to send to that phone via the sandbox until they re-activate it. Existing conversations and messages already exchanged with that phone are untouched. Revocation only blocks FUTURE sends. Sessions belonging to other users cannot be revoked; the response is the same 400 as "session not found" so existence isn't leaked.
Link a catalog to a WhatsApp number
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.