getMetadata
get
                    /ccstore/v1/metadata/{id}
Get Metadata. Get the metadata for an item type
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    ID of the file.
Query Parameters
                - 
                        dynamicOnly(optional): boolean
                        
                        Indicates what type of properties to return. If set to true, only dynamic properties will be returned, otherwise all properties will be returned. Only supported for the 'order' item type.
- 
                        filterByShopperContext(optional): string
                        
                        If set to true, filters the dynamic properties that are related to shopper context
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getMetadata_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            default(optional): 
            boolean
            The default property of the metadata
- 
            dimension(optional): 
            string
            The dimension property of the metadata
- 
            id(optional): 
            string
            The id of the metadata
- 
            itemType(optional): 
            string
            The itemtype property of the metadata
- 
            label(optional): 
            string
            The label property of the metadata
- 
            length(optional): 
            integer
            The length of the metadata
- 
            multiSelect(optional): 
            boolean
            The multi-select property of the metadata
- 
            order(optional): 
            integer
            The order of the metadata
- 
            required(optional): 
            boolean
            The required property of the metadata
- 
            searchable(optional): 
            boolean
            The searchable property of the metadata
- 
            textSearchable(optional): 
            boolean
            The textSearchable property of the metadata
- 
            type(optional): 
            string
            The type property of the metadata
- 
            uiEditorType(optional): 
            string
            The uiEditorType property of the metadata
Example Response (application/json)
                    [
    {
        "itemType":"product",
        "length":254,
        "label":"Name",
        "type":"shortText",
        "required":true,
        "searchable":true,
        "uiEditorType":null,
        "default":null,
        "textSearchable":true,
        "id":"displayName",
        "dimension":null,
        "multiSelect":true,
        "order":"0"
    },
    {
        "itemType":"product",
        "length":165,
        "label":"Product ID",
        "type":"shortText",
        "required":true,
        "searchable":null,
        "uiEditorType":null,
        "default":"",
        "textSearchable":null,
        "id":"id",
        "dimension":null,
        "multiSelect":null,
        "order":"10"
    }
]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