Customer Details
View detailed information for a customer
HTTP Request
[GET] /api/v6/accounts/{id}
Query Parameters
Fields
| Fields | Type | Description |
|---|---|---|
| id | integer | Identifier |
| account_code | string | Customer code |
| account_name | string | Customer name |
| description | string | Description |
| billing_address_street | string | Address |
| phone_office | numeric | Customer phone number |
| string | Customer email | |
| mgr_email | string | Manager email |
| mgr_display_name | string | Manager name |
| website | string | Website |
| logo | string | Customer photo |
| birthday | timestamp | Birthday |
| sic_code | string | Tax code |
| created_at | timestamp | Creation date |
| account_type | string | Customer type |
| account_source | string | Customer source |
| relation_id | integer | Relationship identifier |
| relation_name | string | Relationship name |
| gender | string | Gender |
| total_revenue | float | Total revenue |
| contacts | array | Contacts |
| account_manager | integer | Customer manager |
| accessible_user_ids | array | Related users |
| custom_fields | object | Defined fields |
Example
HTTP Request
GET api/v6/accounts/4?fields=account_name,custom_fields HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
Status
200 OK
Response
{
"id": 4,
"account_name": "TEST ACCOUNT API",
"account_manager": 123,
"accessible_user_ids": [1,2,3,4],
"custom_fields": {
"field_1": 111
}
}