Request Parameters:


For getting available addresses


URL: ../Api/Client/GetBillingAddress


Header:

Content-Type:application/json


Parameter:
{
       "ApiSecretKey":"d101g114q119n106g97y111j112d104",
     "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",
           "StoreId": "1"
}


[Note: For Guest_customers as we get the CustomerGUID after add the product into the cart from that CustomerGUID  get the CustomerGUID and pass that CustomerGUID in to the parameter. ]


Response:

{
   "ExistingAddresses": [
       {
           "FirstName": "John",
           "LastName": "Smith",
           "Email": "admin@yourStore.com",
           "CompanyEnabled": true,
           "CompanyRequired": false,
           "Company": "Nop Solutions Ltd",
           "CountryEnabled": true,
           "CountryId": 1,
           "CountryName": "United States",
           "StateProvinceEnabled": true,
           "StateProvinceId": 16,
           "StateProvinceName": "New York",
           "CountyEnabled": false,
           "CountyRequired": false,
           "County": null,
           "CityEnabled": true,
           "CityRequired": true,
           "City": "New York",
           "StreetAddressEnabled": true,
           "StreetAddressRequired": true,
           "Address1": "21 West 52nd Street",
           "StreetAddress2Enabled": true,
           "StreetAddress2Required": false,
           "Address2": "",
           "ZipPostalCodeEnabled": true,
           "ZipPostalCodeRequired": true,
           "ZipPostalCode": "10021",
           "PhoneEnabled": true,
           "PhoneRequired": true,
           "PhoneNumber": "12345678",
           "FaxEnabled": true,
           "FaxRequired": false,
           "FaxNumber": "",
           "AvailableCountries": [],
           "AvailableStates": [],
           "FormattedCustomAddressAttributes": "",
           "CustomAddressAttributes": [],
           "Id": 1,
           "Form": null,
           "CustomProperties": {}
       },
       {
           "FirstName": "John",
           "LastName": "Smith",
           "Email": "admin123@yourstore.com",
           "CompanyEnabled": true,
           "CompanyRequired": false,
           "Company": "Nop Solutions Ltd",
           "CountryEnabled": true,
           "CountryId": 1,
           "CountryName": "United States",
           "StateProvinceEnabled": true,
           "StateProvinceId": 40,
           "StateProvinceName": "Georgia",
           "CountyEnabled": false,
           "CountyRequired": false,
           "County": null,
           "CityEnabled": true,
           "CityRequired": true,
           "City": "New York",
           "StreetAddressEnabled": true,
           "StreetAddressRequired": true,
           "Address1": "21 West 52nd Street",
           "StreetAddress2Enabled": true,
           "StreetAddress2Required": false,
           "Address2": "Mipco",
           "ZipPostalCodeEnabled": true,
           "ZipPostalCodeRequired": true,
           "ZipPostalCode": "10021",
           "PhoneEnabled": true,
           "PhoneRequired": true,
           "PhoneNumber": "12345678",
           "FaxEnabled": true,
           "FaxRequired": false,
           "FaxNumber": "",
           "AvailableCountries": [],
           "AvailableStates": [],
           "FormattedCustomAddressAttributes": "",
           "CustomAddressAttributes": [],
           "Id": 41,
           "Form": null,
           "CustomProperties": {}
       },
       {
           "FirstName": "John",
           "LastName": "Smith",
           "Email": "ad@yourstore.com",
           "CompanyEnabled": true,
           "CompanyRequired": false,
           "Company": "Nop Solutions Ltd",
           "CountryEnabled": true,
           "CountryId": 1,
           "CountryName": "United States",
           "StateProvinceEnabled": true,
           "StateProvinceId": 40,
           "StateProvinceName": "Georgia",
           "CountyEnabled": false,
           "CountyRequired": false,
           "County": null,
           "CityEnabled": true,
           "CityRequired": true,
           "City": "New York",
           "StreetAddressEnabled": true,
           "StreetAddressRequired": true,
           "Address1": "21 West 52nd Street",
           "StreetAddress2Enabled": true,
           "StreetAddress2Required": false,
           "Address2": "",
           "ZipPostalCodeEnabled": true,
           "ZipPostalCodeRequired": true,
           "ZipPostalCode": "10021",
           "PhoneEnabled": true,
           "PhoneRequired": true,
           "PhoneNumber": "12345678",
           "FaxEnabled": true,
           "FaxRequired": false,
           "FaxNumber": "",
           "AvailableCountries": [],
           "AvailableStates": [],
           "FormattedCustomAddressAttributes": "",
           "CustomAddressAttributes": [],
           "Id": 42,
           "Form": null,
           "CustomProperties": {}
       },
       {
           "FirstName": "Deo",
           "LastName": "Devil",
           "Email": "Deo'D@gmail.com",
           "CompanyEnabled": true,
           "CompanyRequired": false,
           "Company": "Nop Solutions Ltd",
           "CountryEnabled": true,
           "CountryId": 1,
           "CountryName": "United States",
           "StateProvinceEnabled": true,
           "StateProvinceId": 40,
           "StateProvinceName": "Georgia",
           "CountyEnabled": false,
           "CountyRequired": false,
           "County": null,
           "CityEnabled": true,
           "CityRequired": true,
           "City": "New York",
           "StreetAddressEnabled": true,
           "StreetAddressRequired": true,
           "Address1": "21 West 52nd Street",
           "StreetAddress2Enabled": true,
           "StreetAddress2Required": false,
           "Address2": "",
           "ZipPostalCodeEnabled": true,
           "ZipPostalCodeRequired": true,
           "ZipPostalCode": "10021",
           "PhoneEnabled": true,
           "PhoneRequired": true,
           "PhoneNumber": "12345678",
           "FaxEnabled": true,
           "FaxRequired": false,
           "FaxNumber": "",
           "AvailableCountries": [],
           "AvailableStates": [],
           "FormattedCustomAddressAttributes": "",
           "CustomAddressAttributes": [],
           "Id": 46,
           "Form": null,
           "CustomProperties": {}
       },
       {
           "FirstName": "Mary",
           "LastName": "Donna",
           "Email": "Mary@mail.com",
           "CompanyEnabled": true,
           "CompanyRequired": false,
           "Company": "Walmart",
           "CountryEnabled": true,
           "CountryId": 1,
           "CountryName": "United States",
           "StateProvinceEnabled": true,
           "StateProvinceId": 40,
           "StateProvinceName": "Georgia",
           "CountyEnabled": false,
           "CountyRequired": false,
           "County": null,
           "CityEnabled": true,
           "CityRequired": true,
           "City": "Maxico",
           "StreetAddressEnabled": true,
           "StreetAddressRequired": true,
           "Address1": "Jet Roads",
           "StreetAddress2Enabled": true,
           "StreetAddress2Required": false,
           "Address2": "Besided Sam club",
           "ZipPostalCodeEnabled": true,
           "ZipPostalCodeRequired": true,
           "ZipPostalCode": "1005",
           "PhoneEnabled": true,
           "PhoneRequired": true,
           "PhoneNumber": "9856230147",
           "FaxEnabled": true,
           "FaxRequired": false,
           "FaxNumber": "12345",
           "AvailableCountries": [],
           "AvailableStates": [],
           "FormattedCustomAddressAttributes": "",
           "CustomAddressAttributes": [],
           "Id": 58,
           "Form": null,
           "CustomProperties": {}
       }
   ],
   "NewAddress": {
       "FirstName": "John",
       "LastName": "Smith",
       "Email": "admin@yourStore.com",
       "CompanyEnabled": true,
       "CompanyRequired": false,
       "Company": "Xcellence-it",
       "CountryEnabled": true,
       "CountryId": null,
       "CountryName": null,
       "StateProvinceEnabled": true,
       "StateProvinceId": null,
       "StateProvinceName": null,
       "CountyEnabled": false,
       "CountyRequired": false,
       "County": null,
       "CityEnabled": true,
       "CityRequired": true,
       "City": null,
       "StreetAddressEnabled": true,
       "StreetAddressRequired": true,
       "Address1": null,
       "StreetAddress2Enabled": true,
       "StreetAddress2Required": false,
       "Address2": null,
       "ZipPostalCodeEnabled": true,
       "ZipPostalCodeRequired": true,
       "ZipPostalCode": null,
       "PhoneEnabled": true,
       "PhoneRequired": true,
       "PhoneNumber": null,
       "FaxEnabled": true,
       "FaxRequired": false,
       "FaxNumber": null,
       "AvailableCountries": [],
       "AvailableStates": [],
       "FormattedCustomAddressAttributes": null,
       "CustomAddressAttributes": [],
       "Id": 0,
       "Form": null,
       "CustomProperties": {}
   },
   "NewAddressPreselected": false,
   "CustomerGuid": "f1f13527-ba8e-4c5a-aca2-9ec3d78b3ff4",
   "Message": null
}