Click or drag to resize
ICustomerManagerUpdateCustomerFromAddress Method

[This is preliminary documentation and is subject to change.]

Updates a customer's address details based on an address

Namespace: Netadmin.Management.Customer
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void UpdateCustomerFromAddress(
	long customerId,
	long addressId,
	bool updateBillingPart,
	bool updateContactPart
)

Parameters

customerId
Type: SystemInt64
The id of the customer to update
addressId
Type: SystemInt64
The id of the address to use
updateBillingPart
Type: SystemBoolean
True if the customer's billing details should be updated
updateContactPart
Type: SystemBoolean
True if the customer's contact details should be updated
Remarks
Will log a warning if customer or address does not exist and then return with no further action
See Also