Κοινή χρήση μέσω


customeraddress EntityType

Address and shipping information. Used to store additional addresses for an account or contact.

Entity set path: 
[organization URI]/api/data/v9.2/customeraddresses
Base type: 
crmbaseentity
Table type: 
Standard
Display name: 
Address
Primary key: 
customeraddressid
Primary name column: 
name
Operations supported: 
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name Type Details
addressnumber Edm.Int32

Shows the number of the address, to indicate whether the address is the primary, secondary, or other address for the customer.

Display name: Address Number

addresstypecode Edm.Int32

Select the address type, such as primary or billing.

Display name: Address Type

Default options
Values Label
1 Bill To
2 Ship To
3 Primary
4 Other
city Edm.String

Type the city for the customer's address to help identify the location.

Display name: City

composite Edm.String

Shows the complete address.

Display name: Address

Read only
country Edm.String

Type the country or region for the customer's address.

Display name: Country/Region

county Edm.String

Type the county for the customer's address.

Display name: County

createdon Edm.DateTimeOffset

Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.

Display name: Created On

Read only
customeraddressid Edm.Guid

Unique identifier of the customer address.

Display name: Address

exchangerate Edm.Decimal

Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.

Display name: Exchange Rate

Read only
fax Edm.String

Type the fax number associated with the customer's address.

Display name: Fax

freighttermscode Edm.Int32

Select the freight terms to make sure shipping charges are processed correctly.

Display name: Freight Terms

Default options
Values Label
1 FOB
2 No Charge
importsequencenumber Edm.Int32

Unique identifier of the data import or data migration that created this record.

Display name: Import Sequence Number

latitude Edm.Double

Type the latitude value for the customer's address, for use in mapping and other applications.

Display name: Latitude

line1 Edm.String

Type the first line of the customer's address to help identify the location.

Display name: Street 1

line2 Edm.String

Type the second line of the customer's address.

Display name: Street 2

line3 Edm.String

Type the third line of the customer's address.

Display name: Street 3

longitude Edm.Double

Type the longitude value for the customer's address, for use in mapping and other applications.

Display name: Longitude

modifiedon Edm.DateTimeOffset

Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.

Display name: Modified On

Read only
name Edm.String

Type a descriptive name for the customer's address, such as Corporate Headquarters.

Display name: Address Name

objecttypecode Edm.String

Shows the type code of the customer record to indicate whether the address belongs to a customer account or contact.

Display name: Object Type

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display name: Record Created On

postalcode Edm.String

Type the ZIP Code or postal code for the address.

Display name: ZIP/Postal Code

postofficebox Edm.String

Type the post office box number of the customer's address.

Display name: Post Office Box

primarycontactname Edm.String

Type the name of the primary contact person for the customer's address.

Display name: Address Contact

shippingmethodcode Edm.Int32

Select a shipping method for deliveries sent to this address.

Display name: Shipping Method

Default options
Values Label
1 Airborne
2 DHL
3 FedEx
4 UPS
5 Postal Mail
6 Full Load
7 Will Call
stateorprovince Edm.String

Type the state or province of the customer's address.

Display name: State/Province

telephone1 Edm.String

Type the primary phone number for the customer's address.

Display name: Main Phone

telephone2 Edm.String

Type a second phone number for the customer's address.

Display name: Phone 2

telephone3 Edm.String

Type a third phone number for the customer's address.

Display name: Telephone 3

timezoneruleversionnumber Edm.Int32

For internal use only.

Display name: Time Zone Rule Version Number

upszone Edm.String

Type the UPS zone of the customer's address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS.

Display name: UPS Zone

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display name: UTC Conversion Time Zone Code

utcoffset Edm.Int32

Select the time zone for the address.

Display name: UTC Offset

versionnumber Edm.Int64

Version number of the customer address.

Display name: Version Number

Read only

Lookup properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Lookup property data.

Name Single-valued navigation property Description
_createdby_value createdby

Shows who created the record.

_createdonbehalfby_value createdonbehalfby

Shows who created the record on behalf of another user.

_modifiedby_value modifiedby

Shows who last updated the record.

_modifiedonbehalfby_value modifiedonbehalfby

Shows who last updated the record on behalf of another user.

_parentid_value parentid_account
parentid_contact

Choose the customer's address.

_transactioncurrencyid_value transactioncurrencyid

Choose the local currency for the record to make sure budgets are reported in the correct currency.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_customeraddressbase_createdby
createdonbehalfby systemuser lk_customeraddress_createdonbehalfby
modifiedby systemuser lk_customeraddressbase_modifiedby
modifiedonbehalfby systemuser lk_customeraddress_modifiedonbehalfby
parentid_account account Account_CustomerAddress
parentid_contact contact Contact_CustomerAddress
transactioncurrencyid transactioncurrency TransactionCurrency_CustomerAddress

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
CustomerAddress_AsyncOperations asyncoperation regardingobjectid_customeraddress
CustomerAddress_BulkDeleteFailures bulkdeletefailure regardingobjectid_customeraddress
customeraddress_principalobjectattributeaccess principalobjectattributeaccess objectid_customeraddress
CustomerAddress_ProcessSessions processsession regardingobjectid_customeraddress
CustomerAddress_SyncErrors syncerror regardingobjectid_customeraddress_syncerror

See also