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
| Name | Description | Type | Additional 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.
IAddressDataViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Addresses | Collection of IAddressViewModel |
None. |
|
| CountriesForCart | Collection of ICountriesForCartModel |
None. |
|
| Settings | IAddressSettingsViewModel |
None. |
Response Formats
application/xml, text/xml
Sample:
<AddressDataViewModel> <Addresses /> <CountriesForCart /> <Settings /> </AddressDataViewModel>
application/json, text/json
Sample:
{}