Site

A site is an internet address or website. A company can have one or more sites. A site can have one or more catalogs. Use the Site API to retrieve site information.


					Accept: application/json
Authorization: Basic your_access_token
			
					The request body should be empty.
			
					HTTP/1.1 200 OK
			
					{"site": {
   "uri": "https://api.digitalriver.com/v1/site",
   "id": "demo",
   "name": "demo",
   "companyId": "demo",
   "defaultLocale": "en_US",
   "searchService": "solr",
   "settings": {"uri": "https://api.digitalriver.com/v1/site/settings"},
   "localeOptions": {"localeOption":    [
            {
         "locale": "es_ES",
         "primaryCurrency": "EUR",
         "supportedCurrencies": {"currency": ["EUR"]}
      },
            {
         "locale": "ja_JP",
         "primaryCurrency": "JPY",
         "supportedCurrencies": {"currency": ["JPY"]}
      },
            {
         "locale": "it_IT",
         "primaryCurrency": "EUR",
         "supportedCurrencies": {"currency": ["EUR"]}
      },
            {
         "locale": "fr_FR",
         "primaryCurrency": "EUR",
         "supportedCurrencies": {"currency": ["EUR"]}
      },
            {
         "locale": "en_US",
         "primaryCurrency": "USD",
         "supportedCurrencies": {"currency": ["USD"]}
      },
            {
         "locale": "en_GB",
         "primaryCurrency": "GBP",
         "supportedCurrencies": {"currency": ["GBP"]}
      },
            {
         "locale": "de_DE",
         "primaryCurrency": "EUR",
         "supportedCurrencies": {"currency": ["EUR"]}
      }
   ]}
}}
			

Response Body Parameters

Field Data Type Visibility Description
companyId string default The company's ID.
defaultLocale string default The site's default locale.
id string default The site's ID.
localeOptions structured expand A list of locale options for the site.
localeOptions.primaryCurrency string default The primary currency for a locale option.
localeOptions.supportedCurrencies string default The supported currencies for a locale option.
name string default The site's name.
searchService string default The site's search service.
settings link default A link to the Settings API.