Skip to main content

Sync Deleted Customers

Sync deleted customers from a specified time to the present

HTTP Request

[GET] /api/v6/accounts/deleted_ids

Query Parameters

Fields

FieldsTypeDescription
idintegerIdentifier
account_codestringCustomer code
account_namestringCustomer name
descriptionstringDescription
billing_address_streetstringAddress
phone_officenumericCustomer phone number
emailstringCustomer email
mgr_emailstringManager email
mgr_display_namestringManager name
websitestringWebsite
logostringCustomer photo
birthdaytimestampBirthday
sic_codestringTax code
created_attimestampCreation date
account_typestringCustomer type
account_sourcestringCompleter
relation_idintegerRelationship identifier
relation_namestringRelationship name
genderstringGender
total_revenuefloatTotal revenue
contactsarrayContacts
detail_custom_fieldsobjectDefined fields

Filtering

FieldsSupportTypeDescription
last_synceqtimestampUsed to filter customers created or modified from this timestamp to the present

Sort

Sort (field)Direction
idasc,desc

Limit & Offset

TypeDescription
LimitintegerNumber of records to retrieve
OffsetintegerNumber 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"
}
]