You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > AddressApi Class > AddressApi Methods > Add Method > Add
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
AddressApi.Add Method (AddressData, long)

Adds a new address based on information in an AddressData object and associates with a customer. AddressData.Id will be populated with the newly created ID.

C#
public long Add(AddressData addressData, long customerId);
Visual Basic
Public Function Add(addressData As AddressData, customerId As long) As long
Parameters 
Description 
addressData 
The AddressData object to add. 
customerId 
The ID of customer to which this address belongs. 

Required: Name, AddressLine1, City, PostalCode, Phone.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!