Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create address for customer.
Syntax
client server public static container createAddress(
CustAccount custAccount,
CustName custName,
AddressStreet street,
AddressCity city,
AddressCountyId county,
AddressStateId state,
AddressZipCodeId zip,
AddressCountryRegionId country,
Phone phone,
LogisticsElectronicAddressLocator email,
URL url,
TaxGroup taxGroup,
LogisticsLocationRoleType role,
[LogisticsAddressStreetNumber streetNumber,
LogisticsAddressDistrictName districtName,
LogisticsAddressBuildingCompliment buildingCompliment,
boolean makePostalAddressPrimary])
Run On
Called
Parameters
- custAccount
Type: CustAccount Extended Data Type
Customer account
- custName
Type: CustName Extended Data Type
Customer name
- street
Type: AddressStreet Extended Data Type
Street
- city
Type: AddressCity Extended Data Type
City
- county
Type: AddressCountyId Extended Data Type
County
- state
Type: AddressStateId Extended Data Type
State
- zip
Type: AddressZipCodeId Extended Data Type
Zip
- country
Type: AddressCountryRegionId Extended Data Type
Country
- phone
Type: Phone Extended Data Type
Phone
- email
Type: LogisticsElectronicAddressLocator Extended Data Type
Email
- url
Type: URL Extended Data Type
URL
- taxGroup
Type: TaxGroup Extended Data Type
Tax group
- role
Type: LogisticsLocationRoleType Enumeration
Role
- streetNumber
Type: LogisticsAddressStreetNumber Extended Data Type
Street number
- districtName
Type: LogisticsAddressDistrictName Extended Data Type
District name
- buildingCompliment
Type: LogisticsAddressBuildingCompliment Extended Data Type
Building compliment
- makePostalAddressPrimary
Type: boolean
Optional. True if this should become the new primary address
Return Value
Type: container
A container with entity keys
Remarks
Original parameter list consisted of a single _paramList parameter of type container.