GET api/order/Address?repDID={repDID}&customerDID={customerDID}&language={language}&cartCountry={cartCountry}&onlineOrderID={onlineOrderID}

Gets a list of addresses for a customer or rep (including the default Billing or Shipping address)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

The rep in context

string

Default value is

customerDID

The customer in context

string

Default value is

language

The language to use for any translated text

string

Default value is en-us

cartCountry

The country to use for guest checkout

string

Default value is

onlineOrderID

If specified, will add more context for validation purposes

integer

None.

Body Parameters

None.

Response Information

Resource Description

A list of addresses for the given rep or customer.

IAddressViewModel
NameDescriptionTypeAdditional information
Addresses

Collection of IAddressViewModelAddress

None.

CountriesForCart

Collection of ICountriesForCartModel

None.

Settings

IAddressSettingsViewModel

None.

Response Formats

application/xml, text/xml

Sample:
<AddressViewModel>
  <Addresses />
  <CountriesForCart />
  <Settings />
</AddressViewModel>

application/json, text/json

Sample:
{}