put
https://partner.gupshup.io/partner/app//bizai/agent_config/business_info
All fields optional. An empty body, or one with only unknown fields, is a no-op returning 200.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request parameters
| Parameter | Type | Required | In | Description |
|---|---|---|---|---|
Authorization | string | Yes | Header | Partner app token, sent raw. Bearer <token> is also accepted. |
Content-Type | string | Yes | Header | application/json |
appId | string (uuid) | Yes | Path | Partner Portal app id. Stands in for Meta's entity_id. |
payment_method | string | No | Body | Accepted payment methods. |
return_policy | string | No | Body | Return policy text. |
purchase_info | string | No | Body | How to buy. |
delivery_and_shipping | string | No | Body | Delivery and shipping terms. |
business_description | string | No | Body | What the business does. |
contact_info | object | No | Body | Contact details the agent may share. |
contact_info.email | string | No | Body | Support email. |
contact_info.hours_of_operation | string | No | Body | Opening hours. |
contact_info.address | string | No | Body | Postal address. |
Example request
curl --location --request PUT 'https://partner.gupshup.io/partner/app/<appId>/bizai/agent_config/business_info' \
--header 'Authorization: <PARTNER_APP_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"payment_method": "Credit cards, PayPal",
"return_policy": "30-day returns",
"purchase_info": "Order online or call",
"delivery_and_shipping": "Free shipping on orders over $50",
"business_description": "Your company description",
"contact_info": {
"email": "[email protected]",
"hours_of_operation": "9AM-6PM EST",
"address": "123 Main St, City, State 12345"
}
}'Response parameters — 200
200No response body. Business info stored.
Example response — 200 OK
200 OKNo response body.
Error responses
400 Bad Request — The app is not live, or WASS does not consider it live.
{
"message": "App is not live.",
"status": "error"
}400 Bad Request — The app has no phone number attached. Checked before the live check.
{
"message": "Phone id not found for the given App",
"status": "error"
}401 Unauthorized — Authorization is missing or invalid, belongs to another app, or appId is unknown or not a UUID.
{
"status": "error",
"message": "Unauthorised access to the resource. Please review request parameters and headers and retry"
}405 Method Not Allowed — Any method other than GET, POST, PUT or DELETE, e.g. PATCH.
{
"status": "error",
"message": "Request method 'PATCH' is not supported"
}429 Too Many Requests — More than 30 /bizai/** requests in 60 seconds for this app. The 31st is rejected.
{
"status": "error",
"message": "Too Many Requests"
} 200Business info stored.
429Per-app rate limit exceeded. Retry after the 60-second window.
