Customer Details
View detailed information for a customer
HTTP Request
GET /api/v3/account/ID
Where ID is the customer's ID on the Getfly system (account_id)
GET /api/v3/account?account_code=ACCOUNT_CODE
Where ACCOUNT_CODE is the customer's code on the Getfly system (account_code)
Query Parameters
Parameter | Default | Description |
---|---|---|
custom_field_list | null | The custom field definitions to retrieve |
The custom_field_list condition will pass the codes of the custom fields, separated by commas.
Example: custom_field_list = "expected_flight,transporter"
Response
The returned data includes:
- info: contains detailed information about the customer
- contacts: an array containing contact person information
{
"info": {
"account_id": "1",
"account_code": "KH00001",
"account_name": "Getfly CRM",
"address": "11 Thai Ha",
"phone": "0912345678",
"email": "[email protected]",
"website": "getfly.vn",
"birthday": "2012-12-22",
"description": "Getfly CRM",
"relation_id": "1",
"revenue": "0",
"account_type": "0",
"created_at": "2021-07-14 14:05:23",
"account_source": "0",
"creator_name": "Getfly",
"country_id": "1",
"province_name": "Hanoi",
"district_name": "Dong Da",
"country_name": "Vietnam",
"industry_name": "Software",
"account_source": "FB,Google"
},
"contacts": [
{
"contact_id": "1",
"first_name": "Nguyen",
"last_name": "Van A",
"phone_mobile": "0912345678",
"email": "[email protected]",
"description": "",
"title": ""
}
]
}