This endpoint allows you to update your existing business.
curl --location --request POST 'https://core.getfaceage.com/api/v1/business/{business_id}?site=https://www.your_domain_url&name=your_business_name&country=22&business_size=small' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer your_secret_key'
This field is required and unique. It is your domain url and it can not update.
Type: string
This field is required.
Type: string
This field is required. you can find it through calling Get Countries API
and use the 'value' of selected country as 'country' parameter in other endpoints.
Type: integer
This field is required and value should be one of these values: small
, medium
, large
, very_large
.
Type: string
Upon successful update, the endpoint returns a JSON object with the status of updating.
{success} Response 200
{
"status": true,
"data": 1
}
{warning} Response 401 : Unauthorized
{
"message": "Unauthenticated."
}