getSites

get

/ccadmin/v1/sites

Get Sites. Get the list of available sites.

Request

Supported Media Types
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getSites_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of available sites
Show Source
Nested Schema : sort
Type: array
Array having the order and property of sites.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : additionalLocaleIds
Type: array
IDs of additional locales.
Show Source
Nested Schema : additionalProductionURLs
Type: array
A list of additional production URLs (without schema). Currently, only plain hostnames are supported.
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 for the site.
Show Source
Nested Schema : defaultPriceListGroup
Type: object
The default PLG for the site.
Show Source
Nested Schema : loyaltyPrograms
Type: array
List of loyalty programs associated with site.
Show Source
Nested Schema : priceListGroupList
Type: array
List of priceListGroups to be associated with site.
Show Source
Nested Schema : shipFromAddress
Type: object
The ship from address used for tax calculations.
Show Source
Nested Schema : siteTypes
Type: array
The list of site types.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "endingIndex":250,
    "totalResultsParam":true,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadmin/v1/sites"
        }
    ],
    "sort":{
        "collator":null,
        "numDirectives":1,
        "empty":false
    },
    "items":[
        {
            "priceListGroupList":[
                {
                    "repositoryId":"defaultPriceGroup",
                    "id":"defaultPriceGroup"
                }
            ],
            "recommendationsHost":"pt-recs-app1.us.oracle.com",
            "productionURL":"wakko:9080",
            "favicon":null,
            "timezone":"europe_london",
            "noimage":null,
            "defaultCatalog":{
                "repositoryId":"cloudLakeCatalog"
            },
            "defaultBillingCountryId":"AR",
            "defaultShippingCountryId":null,
            "siteTypes":[
                "commerce"
            ],
            "recommendationsPort":"8080",
            "defaultLocaleId":"1",
            "repositoryId":"site2",
            "name":"Commerce Cloud Site",
            "additionalProductionURLs":[
                "mysite.com"
            ],
            "id":"site2",
            "additionalLocaleIds":[
                "3",
                "4",
                "5"
            ]
        },
        {
            "priceListGroupList":[
                {
                    "repositoryId":"defaultPriceGroup",
                    "id":"defaultPriceGroup"
                }
            ],
            "recommendationsHost":"pt-recs-app1.us.oracle.com",
            "productionURL":"wakko:9080",
            "favicon":null,
            "timezone":"america_newyork",
            "noimage":null,
            "secondaryCurrency":"USD",
            "defaultCatalog":{
                "repositoryId":"cloudLakeCatalog"
            },
            "payShippingInSecondaryCurrency":true,
            "defaultBillingCountryId":"AR",
            "defaultShippingCountryId":null,
            "siteTypes":[
                "commerce"
            ],
            "payTaxInSecondaryCurrency":true,
            "recommendationsPort":"8080",
            "defaultLocaleId":"1",
            "repositoryId":"siteUS",
            "name":"Commerce Cloud Site",
            "additionalProductionURLs":[
                "othersite.com"
            ],
            "id":"siteUS",
            "additionalLocaleIds":[
                "3",
                "4",
                "5"
            ]
        }
    ]
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top