Pular para o conteúdo

PUT /v1/channels/{id}/business-profile

PUT
/v1/channels/{id}/business-profile
curl --request PUT \
--url https://seu-endereco-da-api/v1/channels/example/business-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form about=example \
--form description=example \
--form address=example \
--form email=hello@example.com \
--form vertical=UNDEFINED \
--form websites=https://example.com

Permissão que a Chave de acesso precisa: Gerenciar canais (channels:manage).

id
required
string
Media typemultipart/form-data
object
about
required
string
<= 139 characters
description
required
string
<= 512 characters
address
required
string
<= 256 characters
email
required
string format: email
<= 128 characters
vertical
required
string
Allowed values: UNDEFINED OTHER AUTO BEAUTY APPAREL EDU ENTERTAIN EVENT_PLAN FINANCE GROCERY GOVT HOTEL HEALTH NONPROFIT PROF_SERVICES RETAIL TRAVEL RESTAURANT NOT_A_BIZ
websites
required
Array<string>
<= 2 items
Media typeapplication/json
object
about
required
string
address
required
string
description
required
string
email
required
string
websites
required
Array<string>
vertical
required
string
Allowed values: UNDEFINED OTHER AUTO BEAUTY APPAREL EDU ENTERTAIN EVENT_PLAN FINANCE GROCERY GOVT HOTEL HEALTH NONPROFIT PROF_SERVICES RETAIL TRAVEL RESTAURANT NOT_A_BIZ
profilePictureUrl
required
string
nullable
displayName
required

The display name Meta currently shows for the number

string
nameStatus
required
string
Allowed values: APPROVED PENDING_REVIEW DECLINED AVAILABLE_WITHOUT_REVIEW EXPIRED NON_EXISTS UNKNOWN
canEdit
required

Whether the caller may change the profile (channels:manage)

boolean

Example

{
"vertical": "UNDEFINED",
"nameStatus": "APPROVED"
}