---
schema_version: "1"
id: e09e064426bc64b51555562d02c56d91f531283389c851daa110a7d5dd2a68d6
title: getItemsByParam(JSONParams)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_modeler_listobject_getitems_param.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_modeler_listobject_getitems_param.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cfd402ba0fed3b5a6decb1ee4dbf0b9501eaadb453c1c1f0397811c230fcda94
description: Returns an array of items that match the parameters.
products:
  - Consumer Goods
release: "264"
---
# getItemsByParam(JSONParams)

Returns an array of items that match the parameters.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong>, <strong>Unlimited</strong>, and <strong>Enterprise</strong> Editions that have Consumer Goods Cloud enabled.</td></tr></tbody></table>

The JSONParams is a JSON structure that contains the parameters and the filter values for each parameter. For example: `SimpleProperty1: Value1, SimpleProperty2:Value2, SimpleProperty3: Value3}`

## Parameters

Parameters: JSON

## Returns

A List of items that match the specified parameters.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_vscode_modeler-264-0-0-production-enus/87cab158-9245-45b0-9080-f17a57d69ec9/images/icon_example.png)

Example

```
Var list = SomeListObject
Var item = List.getItemsByParams({"bpaMainPKey": "a16characterpkey", "status" : "1"})
```