Customer

The customer object contains information such as their name, email, phone number, etc.

{
    id: "00000000-0000-0000-0000-000000000000",
    remoteId: "3065724960826",
    email: "[email protected]",
    firstName: "John",
    lastName: "Doe",
    phone: "",
    remoteCreatedAt: "2020-05-27T05:47:21.000Z",
    remoteUpdatedAt: "2023-11-21T08:22:05.000Z",
    remoteDeleted: false,
    createdAt: "2024-02-05T08:21:33.461Z",
    updatedAt: "2024-02-21T22:08:19.112Z"
}

Properties


idString

A string that uniquely identifies the customer record.


remoteIdString

The ID of the object in the third-party application.



firstName String

A string that represents the first name of the customer.


lastNameString

A string that represents the last name of the customer.


emailString

An optional string that represents the email address of the customer.


phoneString

An optional string that represents the phone number of the customer.




remoteCreatedAtDateTime

The exact date and time when the record was first added or created in the third-party application.



remoteUpdatedAtDateTime

The latest date and time when any modifications or updates were made to the record's details in the third-party application.



remoteDeletedBoolean

Flag to indicate that the record has been deleted in the third-party application.



createdAtDateTime

Date and time the record has been synced into the data cache.



updatedAtDateTime

Date and time the record has been updated in the data cache.