OverviewProductsPlatformsAPI ReferenceResources
Meta Business Agent

Replace business information

PUThttps://zernio.com/api/v1/accounts/{accountId}/business-agent/business-information

Full replacement: every field you send overwrites the stored value; fields you omit are cleared.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

accountIdstringRequired

WhatsApp social account id (the number must be managed through the Cloud API).

Body

application/json
Optional parameters6 fields
payment_methodstring
return_policystring
purchase_infostring
delivery_and_shippingstring
business_descriptionstring
contact_infoobject or null

Responses

Success· the request worked

Errors· the request failed

PUT/v1/accounts/{accountId}/business-agent/business-information
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"  }}
OpenAPI specification
Was this page helpful?