put https://partner.gupshup.io/partner/app//business/profile
Use this API to update business profile
Parameters
Parameters | Value | Description |
---|---|---|
Authorization | {{PARTNER_APP_TOKEN}} | Access Token for the application |
addLine1 | string | Address of the business |
addLine2 | string | Address of the business |
city | string | City where business is situated |
state | string | State where business is situated |
pinCode | string | Pincode of the city where business is situated |
country | string | Country where business is situated |
vertical | string | Pincode of the city where business is situated |
website1 | string | Website of business |
website2 | string | Website of business |
desc | string | Description of the business |
profileEmail | string | Email of business |
Sample Request
curl --location --request PUT 'https://partner.gupshup.io/partner/app/{{APP_ID}}/business/profile' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'addLine1={{ADDRESS_LINE_1}}' \
--data-urlencode 'addLine2={{ADDRESS_LINE_2}}' \
--data-urlencode 'city={{CITY}}' \
--data-urlencode 'state={{STATE}}' \
--data-urlencode 'pinCode={{PINCODE}}' \
--data-urlencode 'country={{COUNTRY}}' \
--data-urlencode 'vertical={{VERTICAL}}' \
--data-urlencode 'website1={{WEBSITE1}}' \
--data-urlencode 'website2={{WEBSITE2}}' \
--data-urlencode 'desc={{DESCRIPTION}}' \
--data-urlencode 'profileEmail={{PROFILE_EMAIL}}'
Sample Response
{
"profile": {
"address": "<address>",
"profileEmail": "<emailId>",
"desc": "<description>",
"vertical": "<vertical>",
"website1": "<website1>",
"website2": "<website2>"
},
"status": "success"
}