Skip to Content
0
Mar 30, 2011 at 10:42 AM

Willl assigning ShipToCode populate the document's Address2 property ?

39 Views

Hi,

When I create a document with the DI API, and do not use the Address2 property, the DI API will automatically populate it (and the address components) with the customer's default shipping address information (if a default has been set of course).

The question is:

I have a customer with multiple shipping addresses (and one of them is default). I create an order with the DI API, and I want to assign one of the other shipping addresses (not the default one) to the document, will it suffice to simply assign the ShipToCode property of the document ? Or do I have to use the Address2 property or the AddressExtension properties ?

Thanks,

Johan