Update Business Profile
POST https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/whatsapp_business_profile
Update the business profile information such as the business description, email or address. To update your profile, make a POST call to /{{Phone-Number-ID}}/whatsapp_business_profile
. In your request, you can include the parameters listed below.
It is recommended that you use Resumable Upload - Create an Upload Session to obtain an upload ID. Then use this upload ID in a call to Resumable Upload - Upload File Data to obtain the picture handle. This handle can be used for the profile_picture_handle
.
Request Parameters
Name | Description |
---|---|
messaging_product | Required. The messaging service used for the request. Always set the value to "whatsapp" if you are using WhatsApp for Business API. |
address | Optional. The address of the business. The maximum character limit for the string is 256. |
description | Optional. The description of the business. The maximum character limit for the string is 256. |
vertical | Optional. The industry type of the business. This can be either an empty string or one of the accepted values. Values: UNDEFINED , OTHER , AUTO , BEAUTY , APPAREL , EDU , ENTERTAIN , EVENT_PLAN , FINANCE , GROCERY , GOVT , HOTEL , HEALTH , NONPROFIT , PROF_SERVICES , RETAIL , TRAVEL , RESTAURANT , or NOT_A_BIZ . |
about | Optional. The text to display in business profile's About section. The max length for the string is 139 characters. The minimum length for the string is 1 character. Rendered emojis are supported however their unicode values are not. Emoji unicode values must be Java- or JavaScript-escape encoded. |
email | Optional. The contact email address (in valid email format) of the business. The maximum character limit for the string is 128 characters. |
websites | Optional. The URLs associated with the business. For instance, a website, Facebook Page, or Instagram. You must include the http:// or https:// portion of the URL. There is a maximum of 2 websites with a maximum of 256 characters each. |
profile_picture_handle | Optional. The handle of the profile picture generated from a call to Resumable Upload - Upload File Data. For more information, see Resumable Upload API. |
Delete Business Profile
To delete your business profile, you must delete your phone number.
Request Body
{"messaging_product"=>"whatsapp", "address"=>"<business-address>", "description"=>"<business-description>", "vertical"=>"<business-industry>", "about"=>"<profile-about-text>", "email"=>"<business-email>", "websites"=>["<https://website-1>", "<https://website-2>"], "profile_picture_handle"=>"<IMAGE_HANDLE_ID>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"data":[{"business_profile":{"messaging_product":"whatsapp","address":"\u003cbusiness-address\u003e","description":"\u003cbusiness-description\u003e","vertical":"\u003cbusiness-industry\u003e","about":"\u003cprofile-about-text\u003e","email":"\u003cbusiness-email\u003e","websites":["https://website-1","https://website-2"],"profile_picture_url":"https://pps.whatsapp.net/...","id":"\u003cbusiness-profile-id\u003e"},"id":"\u003cphone-number-id\u003e"}]}