Search for Products
post
                    /rest/v18/products/actions/search
Use this endpoint to filter CPQ products using the specified search criteria.
                
                Request
Supported Media Types
                - application/json
Root Schema : Product Search Collection Request Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Product Search Collection Request Definitions- 
            context: 
            object  Product Search Context
            
            Title:Product Search ContextContext definition for product search.
- 
            criteria: 
            object  Query Definition
            
            Title:Query DefinitionCaptures the query definition for the current resource request.
Nested Schema : Product Search Context
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Product Search ContextContext definition for product search.
    
    
    
    
    Show Source
        - 
            commerce: 
            object  Commerce Data
            
            Title:Commerce DataTransaction data for products search.
- 
            pricebookVarName: 
            string
            Title:Pricebook Variable NameString value that specifies the variable Name of the pricebook.
Nested Schema : Query Definition
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Query DefinitionCaptures the query definition for the current resource request.
    
    
    
    
    Show Source
        - 
            actions: 
            array  actions
            
            Array of actions names, whose state is requested in the state object response.
- 
            childDefs: 
            array  childDefs
            
            
- 
            enableHierarchy: 
            boolean
            Parameter value should be true to execute hierarchy search and sort. Default value is false.
- 
            excludeFieldTypes: 
            array  excludeFieldTypes
            
            Array of field names that you want to exclude in the response.
- 
            expand: 
            array  expand
            
            Array of child resource names that you want to expand so that the contents return with the parent in the same request.
- 
            expandedDomainCriteria: 
            array  expandedDomainCriteria
            
            Map of dynamic menu field names, whose expanded domains are requested in the state object response, to a map of criteria, which are meant for filtering dynamic menu options. The criteria map should contain the node(s) information when dynamic menus on LIG are expanded. The criteria map also contains the search string. The search strings support contains, and are case-insensitive.
- 
            expandedDomains: 
            array  expandedDomains
            
            Array of field names, whose expanded domains are requested in the state object response.
- 
            expandNodes: 
            boolean
            Boolean value that only be available when enableHierarchy is true. True = all nodes will be expanded; False = All nodes will be collapsed.Default value is true.
- 
            fields: 
            array  fields
            
            Array of field names that you wanted returned in a request.
- 
            groups: 
            array  groups
            
            Array of group names, whose state is requested in the state object response.
- 
            limit: 
            integer
            Positive integer value that specifies the maximum number of items returned by the server.
- 
            nodesExceptionList: 
            array  nodesExceptionList
            
            Array of document_number, recording the nodes that violate current expandNodes flag
- 
            offset: 
            integer
            Non-negative integer values that specifies the index of the first item to be returned. The offset index begins at 0. By default, the offset is 0, which returns all items starting from the first item in the collection.
- 
            orderBy: 
            array  orderBy
            
            Array of field names, each optionally followed by asc or desc, that specifies the order of items returned in the response payload.
- 
            q: 
            string
            Filter (a ???where???clause) to restrict the items returned in the collection. By default, no filtering is applied.
- 
            state: 
            boolean
            Boolean value that specifies whether to calculate the state property. By default, this value is set to false indicating that state is not calculated.
- 
            totalResults: 
            boolean
            Boolean value that specifies whether to calculate the totalResults property. By default, this value is set to false indicating that totalResults is not calculated.
Nested Schema : Commerce Data
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Commerce DataTransaction data for products search.
    
    
    
    
    Show Source
        - 
            cacheInstanceId: 
            string
            Title:Cache Instance IdThe unique identifier for the entry of transaction data stored in the cache. This typically is obtained from first createTransaction or OpenTransaction action to avoid reload transaction data from db.
- 
            currencyCode: 
            string
            Title:Currency CodeThe currencyCode value in which the attribute is represented
- 
            id: 
            string
            Title:Transaction IdCurrent Unique Buyside ID of the transaction.
- 
            mainDocument: 
            object  Main Document Data
            
            Title:Main Document DataThe transaction's main document data.
- 
            process: 
            object  Process
            
            Title:ProcessThe transaction's process meta-data.
Nested Schema : Main Document Data
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Main Document DataThe transaction's main document data.
    
    
    
    
    Show Source
        - 
            attributes: 
            object  Attributes
            
            Title:AttributesA set of key, value pairs with key being attribute's variableName and value being the value of the attribute.If its an msm, it can take list of values in items array.
- 
            variableName: 
            string
            Title:Main Document Variable NameThe variable name of the main document that the current transaction data belongs to.
Nested Schema : Process
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ProcessThe transaction's process meta-data.
    
    
    
    
    Show Source
        - 
            variableName: 
            string
            Title:Process Variable NameThe variable name of the process that the current transaction data belongs to.
Nested Schema : Attributes
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    AttributesA set of key, value pairs with key being attribute's variableName and value being the value of the attribute.If its an msm, it can take list of values in items array.
    
    
    
    
    
    
    
    
    
    
Nested Schema : actions
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of actions names, whose state is requested in the state object response.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : childDefs
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  Child query criteria.
            
            Title:Child query criteria.Captures the query criteria for the child resource.
Nested Schema : excludeFieldTypes
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of field names that you want to exclude in the response.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : expand
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of child resource names that you want to expand so that the contents return with the parent in the same request.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : expandedDomainCriteria
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayMap of dynamic menu field names, whose expanded domains are requested in the state object response, to a map of criteria, which are meant for filtering dynamic menu options. The criteria map should contain the node(s) information when dynamic menus on LIG are expanded. The criteria map also contains the search string. The search strings support contains, and are case-insensitive.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : expandedDomains
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of field names, whose expanded domains are requested in the state object response.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : fields
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of field names that you wanted returned in a request.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : groups
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of group names, whose state is requested in the state object response.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : nodesExceptionList
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of document_number, recording the nodes that violate current expandNodes flag
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : orderBy
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of field names, each optionally followed by asc or desc, that specifies the order of items returned in the response payload.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : Child query criteria.
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Child query criteria.Captures the query criteria for the child resource.
    
    
    
    
    Show Source
        - 
            name: 
            string
            Rest alias name of the child resource this query belongs to.
- 
            queryDef: 
            object  Query Definition
            
            Title:Query DefinitionCaptures the query definition for the current resource request.
- 
            recursive: 
            boolean
            Boolean value that specifies whether this query is a recursive expand on the current child resource query.
Response
Supported Media Types
                - application/json
Default Response
Root Schema : Product Search Collection Response Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Product Search Collection Response Definitions- 
            result: 
            object  Product Collection Definitions
            
            Title:Product Collection Definitions
Nested Schema : Product Collection Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Product Collection Definitions- 
            count: 
            integer
            The number of resource instances returned in the current range.
- 
            hasMore: 
            boolean
            Returns true if more resources are available on the server than the subset returned in current page.
- 
            items: 
            array  items
            
            
- 
            limit: 
            integer
            The actual paging size used by the server.
- 
            offset: 
            integer
            The offset used in the current page.
- 
            totalResults: 
            integer
            Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  Product Instance Definitions
            
            Title:Product Instance Definitions
Nested Schema : Product Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Product Instance Definitions- 
            bomItemVariableName: 
            string
            Title:BOM Item Variable NameThe variable name of the BOM item
- 
            description: 
            string
            Title:DescriptionDescription of the Product
- 
            id: 
            integer
            Title:IdResource ID
- 
            label: 
            string
            Title:LabelProduct label
- 
            listPrice: 
            string
            Title:List PriceList Price of the Product
- 
            model: 
            string
            Title:ModelName of the model
- 
            modelPath: 
            string
            Title:Model Path Variable NameUniquely identifies a product mode
- 
            partNumber: 
            string
            Title:Part NumberPart number of the Product
- 
            productIdentifier: 
            string
            Title:Product IdentifierUniquely identifies a Product
- 
            productType: 
            object  Product Type
            
            Title:Product TypeType of The Product
- 
            status: 
            object  Status
            
            Title:StatusWorkflow status of this product
Nested Schema : Product Type
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Product TypeType of The Product
    
    
    
    
    Show Source
        - 
            displayValue: 
            string
            Title:Display ValueTranslated display name of the type for which fixed list of values can be defined.
- 
            id: 
            integer
            Title:IdPrimary Key of the fixed list of value resource.
- 
            lookupCode: 
            string
            Title:Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Status
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    StatusWorkflow status of this product
    
    
    
    
    Show Source
        - 
            displayValue: 
            string
            Title:Display ValueTranslated display name of the type for which fixed list of values can be defined.
- 
            id: 
            integer
            Title:IdPrimary Key of the fixed list of value resource.
- 
            lookupCode: 
            string
            Title:Lookup CodeLanguage independent code of the fixed list of value.