com.ibm.commerce.tools.optools.order.commands
Interface CSRCustomerAddressAddCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
CSRCustomerAddressAddCmdImpl

public interface CSRCustomerAddressAddCmd
extends ToolsControllerCommand

Creates a new address on behalf of the customer.

Behavior

Parameters

XML
An input xml_string that contains the all required data for creating the new address for the customer.
 Example xml_string:
  <?xml version="1.0" encoding "UTF-8">
  <order>
   <customerId>20000</customerId>
  </order>
  <address>
   <addrType>SB</addrType>
   <nickName>Home</nickName>
   <lastName>ABC</lastName>
   <firstName>XYZ</firstName>
   <address1>8200 Warden Ave.</address1>
   <address2>A3 - 999</address2>
   <city>Markham</city>
   <region>Ontario</region>
   <country>Canada</country>
   <postalCode>L3N 3R6</postalCode>
   <phoneNumber>905-413-1234</phoneNumber>
   <email>abc@mail.com</email>
  </address>
  </xml>
 
URL
The URL to be called when the command completes successfully.

Response Parameters

addressId
Return the address ID for the customer.