listSites
get
/ccstore/v1/sites
List Sites. Get the list of available sites.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listSites_response
Type:
Show Source
object
-
count(optional):
integer
The count of items
-
endingIndex(optional):
integer
The ending index
-
items(optional):
array items
The list of available sites
-
limit(optional):
integer
The limit
-
listingRequest(optional):
object listingRequest
The listing request
-
offset(optional):
string
The offset
-
sort(optional):
object sort
The sort parameters
-
startingIndex(optional):
integer
The starting index
-
totalNumberOfItems(optional):
integer
The total number of items.
-
totalResults(optional):
integer
Total number of results
-
totalResultsParam(optional):
boolean
The total results parameter
Nested Schema : listingRequest
Type:
object
The listing request
Show Source
-
after(optional):
string
The after query
-
calculateTotalAvailable(optional):
boolean
Whether to calculate total available
-
endingIndex(optional):
integer
The ending index
-
expanded(optional):
boolean
Whether the response is expanded
-
filterProperties(optional):
array filterProperties
The array of filter property strings
-
includeRqlInQueryGeneration(optional):
boolean
Whether RQL is included during query generation
-
limit(optional):
integer
The limit
-
queryOptions(optional):
object queryOptions
The query options
-
rqlStatement(optional):
string
The RQL statement
-
rqlString(optional):
string
The query string
-
siteId(optional):
string
The site id
-
sort(optional):
object sort
The sort parameters
-
startingIndex(optional):
integer
The starting index
Nested Schema : sort
Type:
object
The sort parameters
Show Source
-
collator(optional):
string
The collator
-
empty(optional):
boolean
Whether the sort allows empty
-
localeSensitiveSorting(optional):
boolean
Whether the sort is locale sensititve
-
numDirectives(optional):
integer
The numnber of directives
Nested Schema : items
Type:
Show Source
object
-
additionalLocaleIds(optional):
array additionalLocaleIds
Additional Country ids.
-
additionalProductionURLs(optional):
array additionalProductionURLs
The array of additional production URLs
-
allowAlternateCurrency(optional):
boolean
Allows the order to be paid in mixed currencies
-
allowedOriginMethods(optional):
object allowedOriginMethods
Additional Properties Allowed: additionalPropertiesMap of hostname (key) and the allowed http methods (values) for that host.
-
billingCountries(optional):
array billingCountries
The list of billing countries
-
cartSharingId(optional):
string
ID of a site group if this site can share carts with other sites. The value will be null if this site cannot share carts.
-
contextRoot(optional):
string
The context root of the site
-
defaultAccessLevel(optional):
string
The default access level of the site
-
defaultBillingCountryId(optional):
string
Default Billing Country ID.
-
defaultCatalog(optional):
object defaultCatalog
The default catalog associated with the site
-
defaultListPriceList(optional):
object defaultListPriceList
The default list price list
-
defaultLocaleId(optional):
string
The default locale ID.
-
defaultPriceListGroup(optional):
object defaultPriceListGroup
The default price list group
-
defaultSalePriceList(optional):
object defaultSalePriceList
The default sale price list
-
defaultShippingCountryId(optional):
string
Default Shipping Country ID.
-
defaultShippingSurchargePriceList(optional):
object defaultShippingSurchargePriceList
The default shipping surcharge price list
-
description(optional):
string
Site description.
-
emailAddress(optional):
string
The email address of the author
-
enabled(optional):
boolean
Is the site currently enabled
-
endecaSiteId(optional):
string
The endeca site associated with this site
-
exchangeRate(optional):
number
Exchange rate between the selected priceListGroup's currency code and the site currency code
-
favicon(optional):
string
The URL of the favicon
-
id(optional):
string
Id of the site.
-
inventoryLocationId(optional):
string
Defines which inventory this site should use by default.
-
longDescription(optional):
string
Long site description.
-
masterCatalog(optional):
object masterCatalog
The master catalog for the site
-
maxCouponsPerOrder(optional):
integer
Maximum coupons allowed per order (null if not applicable)
-
name(optional):
string
Site name.
-
pageTags(optional):
object pageTags
The page tags embedded in various sections of this site's HTML. This property only appears if there are enabled page tags in at least one section.
-
paymentGateways(optional):
array paymentGateways
The array of the payment gateway names
-
payShippingInSecondaryCurrency(optional):
boolean
Pay shipping charges in secondary currency
-
payTaxInSecondaryCurrency(optional):
boolean
Pay tax in secondary currency
-
priceListGroupList(optional):
array priceListGroupList
List of Price List Groups associated with the site including default Price List Group
-
productionURL(optional):
string
The production base url for storefront. If set, this base url will be used for any absolute generated links e.g. sitemap urls
-
profileContextList(optional):
object profileContextList
The list of profile contexts
-
realmId(optional):
string
The realm id
-
recommendationsHost(optional):
string
The host name of the recommendations server.
-
recommendationsPort(optional):
string
The port of the recommendations server
-
repositoryId(optional):
string
Repository ID of the site.
-
requireGDPRCookieConsent(optional):
boolean
Require GDPR Cookie Consent on site.
-
requireGDPRP13nConsent(optional):
boolean
Require GDPR P13n Consent on site.
-
secondaryCurrency(optional):
string
Currency used for calculating shipping and tax for loyalty.
-
sfVersion(optional):
string
The storefront version
-
siteDownURL(optional):
string
The site down URL
-
siteIcon(optional):
string
The URL of the site icon
-
siteTemplate(optional):
string
The site template name
-
siteTypes(optional):
array siteTypes
List of site types supported by this site. Each site type has to be one of the allowed siteType options (case sensitive)
-
timeToLive(optional):
integer
The hold price time value in milliseconds.
-
type(optional):
string
The site type
-
useDefaultSiteLocale(optional):
boolean
Property to decide whether the site to render in default site locale or not.
Nested Schema : additionalProductionURLs
Type:
array
The array of additional production URLs
Show Source
Nested Schema : allowedOriginMethods
Type:
object
Additional Properties Allowed
Show Source
Map of hostname (key) and the allowed http methods (values) for that host.
Nested Schema : defaultCatalog
Type:
object
The default catalog associated with the site
Show Source
-
allRootCategories(optional):
array allRootCategories
The array of all root categories
-
repositoryId(optional):
string
The repository id of the catalog
-
rootCategories(optional):
array rootCategories
The root categories of the default catalog
Nested Schema : defaultListPriceList
Type:
object
The default list price list
Show Source
-
repositoryId(optional):
string
Repository id of the default sale price list
Nested Schema : defaultPriceListGroup
Type:
object
The default price list group
Show Source
-
active(optional):
boolean
true if priceListGroup is active otherwise false
-
currency(optional):
object currency
The currency of the price list group
-
deleted(optional):
boolean
true if priceListGroup is deleted otherwise false
-
displayName(optional):
string
The display name of the price list group
-
id(optional):
string
The priceListGroup id associated with site.
-
locale(optional):
string
The locale associated with the price list group
-
repositoryId(optional):
string
The priceListGroup id associated with the site.
Nested Schema : defaultSalePriceList
Type:
object
The default sale price list
Show Source
-
repositoryId(optional):
string
Repository id of the default sale price list
Nested Schema : defaultShippingSurchargePriceList
Type:
object
The default shipping surcharge price list
Show Source
-
repositoryId(optional):
string
Repository id of the default sale price list
Nested Schema : masterCatalog
Type:
object
The master catalog for the site
Show Source
-
allRootCategories(optional):
array allRootCategories
The array of all root categories
-
repositoryId(optional):
string
The repository id of the catalog
-
rootCategories(optional):
array rootCategories
The root categories of the default catalog
Nested Schema : pageTags
Type:
object
The page tags embedded in various sections of this site's HTML. This property only appears if there are enabled page tags in at least one section.
Show Source
-
bodyEnd(optional):
array bodyEnd
The array of page tags embedded at the end of the body section of this site's HTML. This item only appears if there are enabled page in this section.
-
bodyStart(optional):
array bodyStart
The array of page tags embedded at the start of the body section of this site's HTML. This item only appears if there are enabled page tags in this section.
-
head(optional):
array head
The array of page tags embedded in the head section of this site's HTML. This item only appears if there are enabled page tags in this section.
Nested Schema : priceListGroupList
Type:
array
List of Price List Groups associated with the site including default Price List Group
Show Source
Nested Schema : profileContextList
Type:
object
The list of profile contexts
Show Source
-
repositoryId(optional):
string
The repository id of the profile context
Nested Schema : siteTypes
Type:
array
List of site types supported by this site. Each site type has to be one of the allowed siteType options (case sensitive)
Show Source
Nested Schema : items
Type:
Show Source
object
-
countryCode(optional):
string
The country code
-
displayName(optional):
string
The display name of the country
-
repositoryId(optional):
string
The repository id of the country
Nested Schema : items
Type:
Show Source
object
-
active(optional):
boolean
Whether the category is active
-
categoryIdPaths(optional):
array categoryIdPaths
The ids of the paths associated with the category
-
categoryImages(optional):
array categoryImages
The array of image URLs associated with the category
-
categoryPaths(optional):
array categoryPaths
The category paths of the category
-
childCategories(optional):
array childCategories
The array of child categories
-
creationDate(optional):
string
The ISO 8601 date representing the creation date of the category
-
description(optional):
string
The description of the category
-
displayName(optional):
string
The display name of the category
-
fixedParentCategories(optional):
array fixedParentCategories
The array of the fixed parent categories.
-
id(optional):
string
The id of the category
-
longDescription(optional):
string
The long description of the category
-
repositoryId(optional):
string
The repository id of the category
-
route(optional):
string
The route of the category
Nested Schema : categoryIdPaths
Type:
array
The ids of the paths associated with the category
Show Source
Nested Schema : categoryImages
Type:
array
The array of image URLs associated with the category
Show Source
Nested Schema : fixedParentCategories
Type:
array
The array of the fixed parent categories.
Show Source
Nested Schema : items
Type:
Show Source
object
-
repositoryId(optional):
string
The repository id of the child categories
Nested Schema : items
Type:
Show Source
object
-
repositoryId(optional):
string
The repository id of the child categories
Nested Schema : currency
Type:
object
The currency of the price list group
Show Source
-
currencyCode(optional):
string
The currency code
-
displayName(optional):
string
The display name of the currency
-
fractionalDigits(optional):
integer
The fractional digits allowed in the currency
-
numericCode(optional):
string
The numeric code representing the currency
-
repositoryId(optional):
string
The repository id of the currency
-
symbol(optional):
string
The symbol of the currency
Nested Schema : items
Type:
Show Source
object
-
active(optional):
boolean
Whether the category is active
-
categoryIdPaths(optional):
array categoryIdPaths
The ids of the paths associated with the category
-
categoryImages(optional):
array categoryImages
The array of image URLs associated with the category
-
categoryPaths(optional):
array categoryPaths
The category paths of the category
-
childCategories(optional):
array childCategories
The array of child categories
-
creationDate(optional):
string
The ISO 8601 date representing the creation date of the category
-
description(optional):
string
The description of the category
-
displayName(optional):
string
The display name of the category
-
fixedParentCategories(optional):
array fixedParentCategories
The array of the fixed parent categories
-
id(optional):
string
The id of the category
-
longDescription(optional):
string
The long description of the category
-
repositoryId(optional):
string
The repository id of the category
-
route(optional):
string
The route of the category
Nested Schema : categoryIdPaths
Type:
array
The ids of the paths associated with the category
Show Source
Nested Schema : categoryImages
Type:
array
The array of image URLs associated with the category
Show Source
Nested Schema : fixedParentCategories
Type:
array
The array of the fixed parent categories
Show Source
Nested Schema : items
Type:
Show Source
object
-
repositoryId(optional):
string
The repository id of the child categories
Nested Schema : items
Type:
Show Source
object
-
repositoryId(optional):
string
The repository id of the child categories
Nested Schema : bodyEnd
Type:
array
The array of page tags embedded at the end of the body section of this site's HTML. This item only appears if there are enabled page in this section.
Show Source
Nested Schema : bodyStart
Type:
array
The array of page tags embedded at the start of the body section of this site's HTML. This item only appears if there are enabled page tags in this section.
Show Source
Nested Schema : head
Type:
array
The array of page tags embedded in the head section of this site's HTML. This item only appears if there are enabled page tags in this section.
Show Source
Nested Schema : items
Type:
Show Source
object
-
active(optional):
boolean
true if priceListGroup is active otherwise false
-
currency(optional):
object currency
The currency of the price list group
-
deleted(optional):
boolean
true if priceListGroup is deleted otherwise false
-
displayName(optional):
string
The display name of the price list group
-
id(optional):
string
The priceListGroup id associated with site.
-
locale(optional):
string
The locale associated with the price list group
-
repositoryId(optional):
string
The priceListGroup id associated with the site.
Nested Schema : currency
Type:
object
The currency of the price list group
Show Source
-
currencyCode(optional):
string
The currency code
-
displayName(optional):
string
The display name of the currency
-
fractionalDigits(optional):
integer
The fractional digits allowed in the currency
-
numericCode(optional):
string
The numeric code representing the currency
-
repositoryId(optional):
string
The repository id of the currency
-
symbol(optional):
string
The symbol of the currency
Nested Schema : queryOptions
Type:
object
The query options
Show Source
-
doNotCacheQuery(optional):
boolean
Whether it is a do not cache query
-
ignoreDuplicates(optional):
boolean
Whether to ignore duplicates
-
nthIndex(optional):
integer
The nth index
-
precachedPropertyNames(optional):
array precachedPropertyNames
The pre-cached property names array
-
sortDirectives(optional):
object sortDirectives
The sort directives
-
startingIndex(optional):
integer
The starting index
-
uncachedItems(optional):
boolean
Whether the query was on uncached items
-
uncachedItemsSet(optional):
boolean
Whether the query is optimized for uncached items
Nested Schema : sort
Type:
object
The sort parameters
Show Source
-
collator(optional):
string
The collator
-
empty(optional):
boolean
Whether the sort allows empty
-
localeSensitiveSorting(optional):
boolean
Whether the sort is locale sensititve
-
numDirectives(optional):
integer
The numnber of directives
Nested Schema : sortDirectives
Type:
object
The sort directives
Show Source
-
empty(optional):
boolean
Whether this is an empty query
-
localeSensitiveSorting(optional):
boolean
Whether this is a locale sensitive sorting
-
numDirectives(optional):
integer
The number of directives
Example Response (application/json)
{
"totalResults":1,
"endingIndex":250,
"offset":0,
"totalResultsParam":true,
"count":1,
"limit":250,
"sort":{
"collator":null,
"localeSensitiveSorting":false,
"numDirectives":1,
"empty":false
},
"items":[
{
"priceListGroupList":[
{
"deleted":false,
"displayName":"Default Price Group",
"repositoryId":"defaultPriceGroup",
"active":true,
"currency":{
"symbol":"$",
"displayName":"US Dollar",
"repositoryId":"en_US",
"fractionalDigits":2,
"currencyCode":"USD",
"numericCode":"840"
},
"id":"defaultPriceGroup",
"locale":"en_US"
}
],
"productionURL":null,
"useDefaultSiteLocale":false,
"requireGDPRP13nConsent":false,
"defaultCatalog":{
"repositoryId":"cloudLakeCatalog",
"rootCategories":[
{
"longDescription":"Cloud Commerce Non-Navigable",
"categoryImages":[
],
"displayName":"Non-Navigable",
"categoryPaths":[
"/Non-Navigable"
],
"active":false,
"description":null,
"categoryIdPaths":[
"nonNavigableCategory"
],
"childCategories":null,
"fixedParentCategories":[
],
"creationDate":"2017-03-31T05:19:46.000Z",
"route":"/non-navigable/category/nonNavigableCategory",
"repositoryId":"nonNavigableCategory",
"id":"nonNavigableCategory"
},
{
"longDescription":"Commerce Cloud Root Category",
"categoryImages":[
],
"displayName":"Storefront Navigation",
"categoryPaths":[
"/Storefront Navigation"
],
"active":false,
"description":null,
"categoryIdPaths":[
"rootCategory"
],
"childCategories":[
{
"repositoryId":"cat40013"
},
{
"repositoryId":"cat60023"
},
{
"repositoryId":"catOutdoor"
},
{
"repositoryId":"clearanceCat"
},
{
"repositoryId":"topLeaf"
},
{
"repositoryId":"cameracat"
},
{
"repositoryId":"AllProdPagination"
},
{
"repositoryId":"giftCards"
}
],
"fixedParentCategories":[
],
"creationDate":"2017-03-31T05:19:28.000Z",
"route":"/storefront-navigation/category/rootCategory",
"repositoryId":"rootCategory",
"id":"rootCategory"
}
],
"allRootCategories":[
]
},
"type":"siteConfiguration",
"defaultBillingCountryId":null,
"requireGDPRCookieConsent":false,
"timeToLive":null,
"defaultLocaleId":"1",
"emailAddress":"CloudCommerce@example.com",
"billingCountries":[
{
"countryCode":"DE",
"displayName":"Germany",
"repositoryId":"DE"
},
{
"countryCode":"LK",
"displayName":"Sri Lanka",
"repositoryId":"LK"
},
{
"countryCode":"CA",
"displayName":"Canada",
"repositoryId":"CA"
},
{
"countryCode":"US",
"displayName":"United States",
"repositoryId":"US"
},
{
"countryCode":"CL",
"displayName":"Chile",
"repositoryId":"CL"
},
{
"countryCode":"FO",
"displayName":"Faroe Islands",
"repositoryId":"FO"
},
{
"countryCode":"BD",
"displayName":"Bangladesh",
"repositoryId":"BD"
},
{
"countryCode":"AR",
"displayName":"Argentina",
"repositoryId":"AR"
},
{
"countryCode":"PA",
"displayName":"Panama",
"repositoryId":"PA"
},
{
"countryCode":"BR",
"displayName":"Brazil",
"repositoryId":"BR"
},
{
"countryCode":"CO",
"displayName":"Colombia",
"repositoryId":"CO"
},
{
"countryCode":"MX",
"displayName":"Mexico",
"repositoryId":"MX"
},
{
"countryCode":"MC",
"displayName":"Monaco",
"repositoryId":"MC"
},
{
"countryCode":"PE",
"displayName":"Peru",
"repositoryId":"PE"
},
{
"countryCode":"AU",
"displayName":"Australia",
"repositoryId":"AU"
}
],
"exchangeRate":0.6,
"maxCouponsPerOrder":null,
"siteTemplate":"cloudSiteTemplate",
"paymentGateways":[
],
"additionalProductionURLs":[
],
"id":"siteUS",
"defaultSalePriceList":{
"repositoryId":"salePrices"
},
"additionalLocaleIds":[
],
"siteDownURL":null,
"sfVersion":null,
"allowedOriginMethods":{
},
"defaultShippingSurchargePriceList":{
"repositoryId":"shippingSurchargePrices"
},
"defaultPriceListGroup":{
"deleted":false,
"displayName":"Default Price Group",
"repositoryId":"defaultPriceGroup",
"active":true,
"currency":{
"symbol":"$",
"displayName":"US Dollar",
"repositoryId":"en_US",
"fractionalDigits":2,
"currencyCode":"USD",
"numericCode":"840"
},
"id":"defaultPriceGroup",
"locale":"en_US"
},
"payShippingInSecondaryCurrency":true,
"recommendationsPort":"8080",
"profileContextList":{
"repositoryId":"siteUS-catalogAndPriceGroups"
},
"name":"Commerce Cloud Site",
"longDescription":null,
"inventoryLocationId":"SiteUS-GlenAllen187",
"description":"Commerce Cloud Site",
"secondaryCurrency":"USD",
"defaultAccessLevel":"FULL",
"enabled":true,
"defaultShippingCountryId":null,
"payTaxInSecondaryCurrency":true,
"endecaSiteId":null,
"cartSharingId":null,
"siteIcon":null,
"defaultListPriceList":{
"repositoryId":"listPrices"
},
"realmId":null,
"recommendationsHost":"recs.atgsvcs.example.com",
"favicon":null,
"allowAlternateCurrency":true,
"contextRoot":null,
"masterCatalog":{
"repositoryId":"cloudLakeCatalog",
"rootCategories":[
{
"longDescription":"Cloud Commerce Non-Navigable",
"categoryImages":[
],
"displayName":"Non-Navigable",
"categoryPaths":[
"/Non-Navigable"
],
"active":false,
"description":null,
"categoryIdPaths":[
"nonNavigableCategory"
],
"childCategories":null,
"fixedParentCategories":[
],
"creationDate":"2017-03-31T05:19:46.000Z",
"route":"/non-navigable/category/nonNavigableCategory",
"repositoryId":"nonNavigableCategory",
"id":"nonNavigableCategory"
},
{
"longDescription":"Commerce Cloud Root Category",
"categoryImages":[
],
"displayName":"Storefront Navigation",
"categoryPaths":[
"/Storefront Navigation"
],
"active":false,
"description":null,
"categoryIdPaths":[
"rootCategory"
],
"childCategories":[
{
"repositoryId":"cat40013"
},
{
"repositoryId":"cat60023"
},
{
"repositoryId":"catOutdoor"
},
{
"repositoryId":"clearanceCat"
},
{
"repositoryId":"topLeaf"
},
{
"repositoryId":"cameracat"
},
{
"repositoryId":"AllProdPagination"
},
{
"repositoryId":"giftCards"
}
],
"fixedParentCategories":[
],
"creationDate":"2017-03-31T05:19:28.000Z",
"route":"/storefront-navigation/category/rootCategory",
"repositoryId":"rootCategory",
"id":"rootCategory"
}
],
"allRootCategories":[
]
},
"siteTypes":[
"commerce"
],
"repositoryId":"siteUS"
}
],
"listingRequest":{
"endingIndex":250,
"queryOptions":{
"precachedPropertyNames":null,
"doNotCacheQuery":false,
"sortDirectives":{
"collator":null,
"localeSensitiveSorting":false,
"numDirectives":1,
"empty":false
},
"endingIndex":250,
"ignoreDuplicates":false,
"nthIndex":1,
"uncachedItems":false,
"uncachedItemsSet":false,
"startingIndex":0
},
"rqlString":null,
"sort":{
"collator":null,
"localeSensitiveSorting":false,
"numDirectives":1,
"empty":false
},
"startingIndex":0,
"filterProperties":[
],
"includeRqlInQueryGeneration":true,
"rqlStatement":null,
"expanded":false,
"limit":250,
"siteId":"siteUS",
"after":null,
"calculateTotalAvailable":true
},
"startingIndex":0,
"totalNumberOfItems":1
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code