Change Company Address
#
Method#
/business/company-addressPOST
https://api.z-api.io/instances/{{instanceId}}/token/{{instanceToken}}/business/company-address
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptThrough this method, it is possible to change the company's commercial address.
Important
This method is only available for Business WhatsApp accounts.
#
Attributes#
OptionalAttributes | Type | Description |
---|---|---|
value | string | Company's address |
#
Request BodyTip
To remove the address, simply send the "value" attribute as empty.
#
Response#
201Attributes | Type | Description |
---|---|---|
success | boolean | true if successful, false in case of failure |
Example
#
405In this case, ensure that you are sending the method specification correctly, i.e., check if you sent the POST or PUT as specified at the beginning of this topic.
#
415If you receive a 415 error, make sure to add the "Content-Type" of the object you are sending in the request headers, in most cases, it should be "application/json".