GET api/Common/getstoreaddresses?ProviderID={ProviderID}&groupId={groupId}&WareHouseID={WareHouseID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
Required |
|
groupId | integer |
Required |
|
WareHouseID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of ShipAddressName | Description | Type | Additional information |
---|---|---|---|
AddressBookID | integer |
None. |
|
ProviderID | integer |
None. |
|
ShopperID | integer |
None. |
|
AddressName | string |
None. |
|
ContactPerson | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
City | string |
None. |
|
StateCode | string |
None. |
|
CountryCode | string |
None. |
|
ZipCode | string |
None. |
|
PhoneNumber | string |
None. |
|
FaxNumber | string |
None. |
|
string |
None. |
||
StateName | string |
None. |
|
CountryName | string |
None. |
|
County | string |
None. |
|
AddressBookType | byte |
None. |
|
DefaultWarehouse | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "AddressBookID": 1, "ProviderID": 1, "ShopperID": 1, "AddressName": "sample string 1", "ContactPerson": "sample string 2", "AddressLine1": "sample string 3", "AddressLine2": "sample string 4", "City": "sample string 5", "StateCode": "sample string 6", "CountryCode": "sample string 7", "ZipCode": "sample string 8", "PhoneNumber": "sample string 9", "FaxNumber": "sample string 10", "Email": "sample string 11", "StateName": "sample string 12", "CountryName": "sample string 13", "County": "sample string 14", "AddressBookType": 64, "DefaultWarehouse": true }, { "AddressBookID": 1, "ProviderID": 1, "ShopperID": 1, "AddressName": "sample string 1", "ContactPerson": "sample string 2", "AddressLine1": "sample string 3", "AddressLine2": "sample string 4", "City": "sample string 5", "StateCode": "sample string 6", "CountryCode": "sample string 7", "ZipCode": "sample string 8", "PhoneNumber": "sample string 9", "FaxNumber": "sample string 10", "Email": "sample string 11", "StateName": "sample string 12", "CountryName": "sample string 13", "County": "sample string 14", "AddressBookType": 64, "DefaultWarehouse": true } ]
application/xml, text/xml
Sample:
<ArrayOfShipAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Orders"> <ShipAddress> <AddressBookID>1</AddressBookID> <AddressBookType>64</AddressBookType> <AddressLine1>sample string 3</AddressLine1> <AddressLine2>sample string 4</AddressLine2> <AddressName>sample string 1</AddressName> <City>sample string 5</City> <ContactPerson>sample string 2</ContactPerson> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 13</CountryName> <County>sample string 14</County> <DefaultWarehouse>true</DefaultWarehouse> <Email>sample string 11</Email> <FaxNumber>sample string 10</FaxNumber> <PhoneNumber>sample string 9</PhoneNumber> <ProviderID>1</ProviderID> <ShopperID>1</ShopperID> <StateCode>sample string 6</StateCode> <StateName>sample string 12</StateName> <ZipCode>sample string 8</ZipCode> </ShipAddress> <ShipAddress> <AddressBookID>1</AddressBookID> <AddressBookType>64</AddressBookType> <AddressLine1>sample string 3</AddressLine1> <AddressLine2>sample string 4</AddressLine2> <AddressName>sample string 1</AddressName> <City>sample string 5</City> <ContactPerson>sample string 2</ContactPerson> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 13</CountryName> <County>sample string 14</County> <DefaultWarehouse>true</DefaultWarehouse> <Email>sample string 11</Email> <FaxNumber>sample string 10</FaxNumber> <PhoneNumber>sample string 9</PhoneNumber> <ProviderID>1</ProviderID> <ShopperID>1</ShopperID> <StateCode>sample string 6</StateCode> <StateName>sample string 12</StateName> <ZipCode>sample string 8</ZipCode> </ShipAddress> </ArrayOfShipAddress>