getCartSharingSites

get

/ccagent/v1/sites/{id}/cartSharingSites

Get all sites that belong to the same site group as the input site ID. There are couple of query parameters - includeGivenSite and includeInactiveSites to control whether the input site should be returned in the response and whether the inactive sites should be returned in the response. By default includeGiveSite is false while includeInactiveSites is true. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
Path Parameters
  • The ID of the site for which sharing sites should be retrieved.
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getSharingSite_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of available sites
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "items":[
        {
            "productionURL":"localhost:8080",
            "name":"Site Agent",
            "id":"SiteA",
            "enabled":true
        },
        {
            "productionURL":"localhostSiteUS:8080",
            "name":"Commerce Cloud Site",
            "id":"siteUS",
            "enabled":true
        }
    ],
    "startingIndex":0,
    "totalNumberOfItems":2
}

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