GET api/order/Address/AddressSettings?cartCountry={cartCountry}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cartCountry

string

Default value is

Body Parameters

None.

Response Information

Resource Description

IAddressSettingsViewModel
NameDescriptionTypeAdditional information
X2_SHOPCART_DISALLOW_POBOX

boolean

None.

X2_SHOPCART_SHIPPING_PHONE_REQD

boolean

None.

JS_CART_CHECKOUT_FIRSTNAME_BILLING_REQD

boolean

None.

JS_CART_CHECKOUT_FIRSTNAME_SHIPPING_REQD

boolean

None.

JS_CART_CHECKOUT_LASTNAME_BILLING_REQD

boolean

None.

JS_CART_CHECKOUT_LASTNAME_SHIPPING_REQD

boolean

None.

IsEmailRequired

boolean

None.

PoBoxRegex

string

None.

Response Formats

application/xml, text/xml

Sample:
<AddressSettingsViewModel>
  <ActiveCountries />
  <X2_SHOPCART_DISALLOW_POBOX>False</X2_SHOPCART_DISALLOW_POBOX>
  <X2_SHOPCART_SHIPPING_PHONE_REQD>False</X2_SHOPCART_SHIPPING_PHONE_REQD>
  <JS_CART_CHECKOUT_FIRSTNAME_BILLING_REQD>False</JS_CART_CHECKOUT_FIRSTNAME_BILLING_REQD>
  <JS_CART_CHECKOUT_FIRSTNAME_SHIPPING_REQD>False</JS_CART_CHECKOUT_FIRSTNAME_SHIPPING_REQD>
  <JS_CART_CHECKOUT_LASTNAME_BILLING_REQD>False</JS_CART_CHECKOUT_LASTNAME_BILLING_REQD>
  <JS_CART_CHECKOUT_LASTNAME_SHIPPING_REQD>False</JS_CART_CHECKOUT_LASTNAME_SHIPPING_REQD>
  <IsEmailRequired>False</IsEmailRequired>
  <PoBoxRegex />
</AddressSettingsViewModel>

application/json, text/json

Sample:
{
  "X2_SHOPCART_DISALLOW_POBOX": false,
  "X2_SHOPCART_SHIPPING_PHONE_REQD": false,
  "JS_CART_CHECKOUT_FIRSTNAME_BILLING_REQD": false,
  "JS_CART_CHECKOUT_FIRSTNAME_SHIPPING_REQD": false,
  "JS_CART_CHECKOUT_LASTNAME_BILLING_REQD": false,
  "JS_CART_CHECKOUT_LASTNAME_SHIPPING_REQD": false,
  "IsEmailRequired": false
}