Actualizar el perfil empresarial
curl --request POST \
--url https://cerberus.eazybe.com/prod/api/v2/meta/phone-numbers/{phoneNumberId}/business-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"about": "Open 9am–7pm IST",
"address": "12 MG Road, Bengaluru",
"description": "Order support and delivery updates",
"email": "support@acme.com",
"websites": [
"https://acme.com"
],
"vertical": "RETAIL"
}
'{
"success": true
}Perfiles y configuración
Actualizar el perfil empresarial
Actualizar el perfil empresarial. Consulta los parámetros, el ejemplo y las respuestas disponibles para esta operación.
POST
/
meta
/
phone-numbers
/
{phoneNumberId}
/
business-profile
Actualizar el perfil empresarial
curl --request POST \
--url https://cerberus.eazybe.com/prod/api/v2/meta/phone-numbers/{phoneNumberId}/business-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"about": "Open 9am–7pm IST",
"address": "12 MG Road, Bengaluru",
"description": "Order support and delivery updates",
"email": "support@acme.com",
"websites": [
"https://acme.com"
],
"vertical": "RETAIL"
}
'{
"success": true
}Autorizaciones
Token bearer de Eazybe. El token identifica la organización y debe mantenerse en el servidor.
Parámetros de ruta
ID del número de teléfono devuelto por GET /meta/phone-numbers.
Cuerpo
application/json
{
"about": "Open 9am–7pm IST",
"address": "12 MG Road, Bengaluru",
"description": "Order support and delivery updates",
"email": "support@acme.com",
"websites": [
"https://acme.com"
],
"vertical": "RETAIL"
}
Respuesta
200 - application/json
Profile updated
Failure responses
| Status | Meaning | Action |
|---|---|---|
401 | Missing, invalid, or expired bearer token | Re-authenticate |
404 | phoneNumberId not linked to your organization | Verify the id |
400 | about over 139 chars, invalid vertical, malformed email, or more than 2 websites | Read error.error_user_msg |
502 | Graph unreachable or timed out | Retry with backoff |
¿Esta página le ayudó?