Sync Deleted Customers
Sync deleted customers from a specified time to the present
HTTP Request
[GET] /api/v6/accounts/deleted_ids
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 | Completer |
| relation_id | integer | Relationship identifier |
| relation_name | string | Relationship name |
| gender | string | Gender |
| total_revenue | float | Total revenue |
| contacts | array | Contacts |
| detail_custom_fields | object | Defined fields |
Filtering
| Fields | Support | Type | Description |
|---|---|---|---|
| last_sync | eq | timestamp | Used to filter customers created or modified from this timestamp to the present |
Sort
| Sort (field) | Direction |
|---|---|
| id | asc,desc |
Limit & Offset
| Type | Description | |
|---|---|---|
| Limit | integer | Number of records to retrieve |
| Offset | integer | Number of records to skip |
Example
HTTP Request
GET api/v6/accounts/deleted_ids?filtering[last_sync]=1699554513 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
Status
200 OK
Response
[
{
"account_id": 1,
"account_code": "KH166511"
}
]