Meta Business Agent
Replace business information
Full replacement: every field you send overwrites the stored value; fields you omit are cleared.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
accountId*string
WhatsApp social account id (the number must be managed through the Cloud API).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Free-text facts the agent answers from; PUT replaces the whole object.
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.businessagent.replaceBusinessAgentBusinessInformation({ path: { accountId: 'account_abc123', }, body: { payment_method: 'string', return_policy: 'string', purchase_info: 'string', },});console.log(data);{ "payment_method": "string", "return_policy": "string", "purchase_info": "string", "delivery_and_shipping": "string", "business_description": "string", "contact_info": { "email": "string", "hours_of_operation": "string", "address": "string" }}Was this page helpful?