Atualizar o perfil comercial
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
}Perfis e configurações
Atualizar o perfil comercial
Atualizar o perfil comercial. Consulte os parâmetros, o exemplo e as respostas disponíveis para esta operação.
POST
/
meta
/
phone-numbers
/
{phoneNumberId}
/
business-profile
Atualizar o perfil comercial
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
}Autorizações
Token bearer da Eazybe. O token identifica a organização e deve ser mantido no servidor.
Parâmetros de caminho
ID do número de telefone retornado por GET /meta/phone-numbers.
Corpo
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" }
Resposta
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 foi útil?