Skip to main content

Address

Addresses. Represents an address record. Note: if an Address is deleted on ERP side this will not be reflected in DataMart for the time being. Support for deletion detection is in development.

type Address {
addressId: Int!
bAccountId: Int
addressType: String!
addressLine1: String
addressLine2: String
addressLine3: String
city: String
state: String
countryId: String
postalCode: String
isValidated: Boolean!
lastModifiedDateTime: DateTime!
isDefaultContact: Boolean
deletedDatabaseRecord: Boolean!
companyId: Int!
id: String!
createdInDataMartDateTime: DateTime!
updatedInDataMartDateTime: DateTime!
}

Fields​

Address.addressId ● Int! non-null scalar​

addressId > (PK) The unique identifier of the address.

Address.bAccountId ● Int scalar​

bAccountId > The unique identifier of the business account.

Address.addressType ● String! non-null scalar​

addressType > The type of the address.

Address.addressLine1 ● String scalar​

addressLine1 > The first line of the address.

Address.addressLine2 ● String scalar​

addressLine2 > The second line of the address.

Address.addressLine3 ● String scalar​

addressLine3 > The third line of the address.

Address.city ● String scalar​

city > The city of the address.

Address.state ● String scalar​

state > The state of the address.

Address.countryId ● String scalar​

countryId > The country code of the address.

Address.postalCode ● String scalar​

postalCode > The postal code of the address.

Address.isValidated ● Boolean! non-null scalar​

isValidated > Indicates whether the address has been validated.

Address.lastModifiedDateTime ● DateTime! non-null scalar​

lastModifiedDateTime > The last modified date and time of the address.

Address.isDefaultContact ● Boolean scalar​

isDefaultContact > Indicates whether this is the default contact address.

Address.deletedDatabaseRecord ● Boolean! non-null scalar​

Address.companyId ● Int! non-null scalar​

companyId > (PK) The unique identifier of the company.

Address.id ● String! non-null scalar​

id > The unique identifier of the document in DataMart.

Address.createdInDataMartDateTime ● DateTime! non-null scalar​

createdInDataMartDateTime > The UTC DateTime when this document has been added to DataMart.

Address.updatedInDataMartDateTime ● DateTime! non-null scalar​

updatedInDataMartDateTime > The UTC DateTime when this document has been updated in DataMart.

Returned By​

addresses query