API Documentation
- v1
- API Documentation
- How to Get Your API Tokens
- Authentication
- GETGet Company
- GETQuery Products
- GETGet Product
- POSTCreate Product
- POSTEdit Product
- GETDelete Product
- GETQuery Roles
- GETGet Role
- GETQuery Consultations
- GETGet Consultation
- POSTCreate Consultation
- POSTEdit Consultation
- GETQuery Assignments
- GETGet Assignment
- POSTCreate Assignment
- POSTAssign Assignment
- POSTEdit Assignment
- GETDelete Assignment
- GETQuery Clients
- GETGet Client
- POSTCreate Client
- POSTEdit Client
- GETDelete Client
- GETQuery Personnel
- GETGet Personnel
- POSTCreate Personnel
- POSTEdit Personnel
- GETDelete Personnel
v1
Edit Client
Edit client record
POST
/
client
/
edit
/
{company_slug}
/
{client_id}
/
curl --request POST \
--url https://api.hierarch.io/v1/client/edit/{company_slug}/{client_id}/ \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '{
"id": 123,
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"home_phone": "<string>",
"work_phone": "<string>",
"country": "<string>",
"home_address": "<string>",
"work_address": "<string>",
"company_name": "<string>",
"company_website": "<string>",
"company_address": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>",
"skype": "<string>",
"whatsapp": "<string>",
"msteams": "<string>",
"slack": "<string>",
"discord": "<string>",
"last_update": "<string>",
"datetime": "<string>"
}'
{
"result": "<string>"
}
Authorizations
API token provided to your company
Body
application/json
Client details
The body is of type object
.
Response
200
application/json
OK Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.hierarch.io/v1/client/edit/{company_slug}/{client_id}/ \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '{
"id": 123,
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"home_phone": "<string>",
"work_phone": "<string>",
"country": "<string>",
"home_address": "<string>",
"work_address": "<string>",
"company_name": "<string>",
"company_website": "<string>",
"company_address": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>",
"skype": "<string>",
"whatsapp": "<string>",
"msteams": "<string>",
"slack": "<string>",
"discord": "<string>",
"last_update": "<string>",
"datetime": "<string>"
}'
{
"result": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.