Update Business


Update Business

This endpoint allows you to update your existing business.


Request and Headers

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'

Query Parameters

site :

This field is required and unique. It is your domain url and it can not update.

Type: string

name :

This field is required.

Type: string

country :

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

business_size :

This field is required and value should be one of these values: small, medium, large, very_large.

Type: string


Response

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."
}