getCollection
get
                    /ccstore/v1/collections/{id}
Get Collection. Get a collection by ID.  Optionally takes the x-ccasset-language headers to get translated content in another language.Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization id of logged in user. If 'rootCategory' is passed as a category id, actual root category of the catalog is picked up and considered. The endpoint also returns dynamic properties for a collection if exists.
                Request
Supported Media Types
                - application/json
 
Path Parameters
                - 
                    id: string
                    
                    ID of collection.
 
Query Parameters
                - 
                        catalogId(optional): string
                        
                        ID of the catalog.
 - 
                        disableActiveProdCheck(optional): boolean
                        
                        False indicates category details are not returned if there are no active products under the category. True indicates category details are returned irrespective of the active products availability.
 - 
                        expand(optional): string
                        
                        If set to childCategories, then child categories will be expanded to include details, if there are any active products under it. disableActiveProdCheck can be set to true in case the category details are needed irrespective of active products are available.
 - 
                        maxLevel(optional): string
                        
                        Maximum level of depth for child categories.Root category will be considered as zero and child category will be picked up upto given maxLevel after root category. If maxLevel is given as zero then it will not return any child category. If maxLevel parameter is not present in the request URI then all the child categories will be returned.
 - 
                        multipleCategoryPaths(optional): boolean
                        
                        Return multiCatalogCategoryPaths and multiCatalogCategoryIdPaths to display linked paths from multiple catalogs prepended with catalog name and id respectively if the value is set to true. Default value of the parameter is false.
 
Header Parameters
                - 
                        X-CCAsset-Language(optional): string
                        
                        The asset language of the request
 
Response
Supported Media Types
                - application/json
 
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getCollection_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            active(optional): 
            boolean
            Whether or not the collection is active. Value is inherited from parents if not set.
 - 
            ancestorCategories(optional): 
            array  ancestorCategories
            
            Array of category objects.
 - 
            catalogsCount(optional): 
            integer
            Number of catalogs this category is associated to.
 - 
            catalogsInfo(optional): 
            array  catalogsInfo
            
            Array of associated catalog objects sorted by catalogId. With default configuration, only top 20 catalogs are returned.
 - 
            categoryImages(optional): 
            array  categoryImages
            
            Array of category images.
 - 
            categoryPaths(optional): 
            array  categoryPaths
            
            Array of category paths.
 - 
            childCategories(optional): 
            array  childCategories
            
            Array of category objects.
 - 
            childProducts(optional): 
            array  childProducts
            
            Array of child products. Note, if the catalogId is a filtered view catalog then this will only include the products in that filtered view catalog unless the includeBaseCatalogProducts param is true.
 - 
            childProductsCount(optional): 
            integer
            Count of the child products.
 - 
            description(optional): 
            string
            Description of the category.
 - 
            displayName(optional): 
            string
            Display Name of the category.
 - 
            fixedChildCategories(optional): 
            array  fixedChildCategories
            
            Array of category objects.
 - 
            fixedParentCategories(optional): 
            array  fixedParentCategories
            
            Array of category objects.
 - 
            id(optional): 
            string
            Category ID.
 - 
            keywords(optional): 
            array  keywords
            
            Array of keywords.
 - 
            longDescription(optional): 
            string
            Long description of the category.
 - 
            multiCatalogCategoryIdPaths(optional): 
            array  multiCatalogCategoryIdPaths
            
            An array of category ids in the path prepended with catalog id
 - 
            multiCatalogCategoryPaths(optional): 
            array  multiCatalogCategoryPaths
            
            An array of category paths prepended with catalog name
 - 
            myActive(optional): 
            boolean
            Local setting (not inherited) for whether or not collection is active.
 - 
            name(optional): 
            string
            Legacy property.
 - 
            parentCategory(optional): 
            object  parentCategory
            
            Default parent category of the category.
 - 
            repositoryId(optional): 
            string
            Repository ID.
 - 
            route(optional): 
            string
            Route of the category.
 - 
            seoDescriptionDerived(optional): 
            string
            Derived from display name and description of the category
 - 
            seoKeywordsDerived(optional): 
            string
            Derived from display name and ancestor category name's of the category
 - 
            seoMetaInfo(optional): 
            object  seoMetaInfo
            
            Seo meta info for category.
 - 
            seoTitleDerived(optional): 
            string
            Derived from display name of the category
 - 
            seoUrlSlugDerived(optional): 
            string
            Derived from seoUrlSlug of the category if available, else derived from display name of the category
 
Nested Schema : catalogsInfo
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of associated catalog objects sorted by catalogId. With default configuration, only top 20 catalogs are returned.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : childProducts
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of child products.  Note, if the catalogId is a filtered view catalog then this will only include the products in that filtered view catalog unless the includeBaseCatalogProducts param is true.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : multiCatalogCategoryIdPaths
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn array of category ids in the path prepended with catalog id
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : multiCatalogCategoryPaths
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn array of category paths prepended with catalog name
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : parentCategory
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault parent category of the category.
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository id of the default parent category of the category.
 
Nested Schema : seoMetaInfo
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectSeo meta info for category.
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository id of seo metadata.
 - 
            seoDescription(optional): 
            string
            Description of category.
 - 
            seoKeywords(optional): 
            string
            Keywords of category.
 - 
            seoTitle(optional): 
            string
            Title of category.
 - 
            seoUrlSlug(optional): 
            string
            Url Slug of category.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            repositoryId(optional): 
            string
            Repository id of ancestor child category.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            Display name of the associated catalog
 - 
            repositoryId(optional): 
            string
            Repository id of the associated catalog
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            metadata(optional): 
            object  metadata
            
            Seo meta info for category.
 - 
            name(optional): 
            string
            image name
 - 
            path(optional): 
            string
            image path
 - 
            repositoryId(optional): 
            string
            Image repository ID.
 - 
            url(optional): 
            string
            URL to the image
 
Nested Schema : metadata
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectSeo meta info for category.
    
    
    
    
        Show Source
        - 
            altText(optional): 
            string
            Alt text for category image.
 - 
            titleText(optional): 
            string
            Title text for category image.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            catalogsCount(optional): 
            integer
            Number of catalogs this category is associated to.
 - 
            repositoryId(optional): 
            string
            Repository id of child category.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            isFilteredCatalogMember(optional): 
            boolean
            (only shows if expand=childProducts) true if the product is a member of the catalog specified by catalogId. This is useful if the catalog is a filtered view catalog and includeBaseCatalogProducts=true to determine which products are only in the base catalog.
 - 
            repositoryId(optional): 
            string
            Repository id of child product.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            repositoryId(optional): 
            string
            Repository id of fixed child category.
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            repositoryId(optional): 
            string
            Repository id of parent category.
 
Example Response (application/json)
                    {
    "items":[
        {
            "longDescription":null,
            "route":"/for-him/category/cat50067",
            "dimensionId":"1234567890",
            "displayName":"For Him",
            "childCategories":[
                {
                    "longDescription":null,
                    "route":"/under-$25/category/cat90042",
                    "dimensionId":"1234567892",
                    "displayName":"Under $25",
                    "id":"cat90042",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                },
                {
                    "longDescription":null,
                    "route":"/under-$50/category/cat90040",
                    "dimensionId":"1234567893",
                    "displayName":"Under $50",
                    "id":"cat90040",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                }
            ],
            "id":"cat50067",
            "creationDate":"2011-01-07T17:19:47.000Z"
        },
        {
            "longDescription":null,
            "route":"/for-her/category/cat60001",
            "dimensionId":"1234567891",
            "displayName":"For Her",
            "childCategories":[
                {
                    "longDescription":null,
                    "route":"/under-$25/category/cat90046",
                    "dimensionId":"1234567894",
                    "displayName":"Under $25",
                    "id":"cat90046",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                },
                {
                    "longDescription":null,
                    "route":"/under-$50/category/cat90026",
                    "dimensionId":"1234567895",
                    "displayName":"Under $50",
                    "id":"cat90026",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                },
                {
                    "longDescription":null,
                    "route":"/for-the-romantic/category/cat90028",
                    "dimensionId":"1234567896",
                    "displayName":"For the Romantic",
                    "id":"cat90028",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                },
                {
                    "longDescription":null,
                    "route":"/for-the-fashionista/category/cat90037",
                    "dimensionId":"1234567897",
                    "displayName":"For the Fashionista",
                    "id":"cat90037",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                },
                {
                    "longDescription":null,
                    "route":"/for-the-outdoor-lover/category/cat90034",
                    "dimensionId":"1234567898",
                    "displayName":"For the Outdoor Lover",
                    "id":"cat90034",
                    "creationDate":"2011-01-07T17:19:47.000Z"
                }
            ],
            "id":"cat60001",
            "creationDate":"2011-01-07T17:19:47.000Z"
        }
    ]
}
                    
                    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: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn 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