- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
ListConditions
Fields of ListConditions and how to reach it.
Selection. This type is a selection. An intent returns it, and you choose which of its fields come back.
The schema carries no description for this type.
Where it appears
Section titled “Where it appears”No connection leads here from a primary entity.
ListSearchInput.conditions
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
filter |
JSON |
A filter expression that selects the records of the list. It uses the same syntax as the filter of a search. |
orderBy |
[String] |
The fields that set the sort order of the records. |
limit |
Int |
The maximum number of records that the search returns. |
Example
Section titled “Example”query { lists { edges { node { searchInput { conditions { filter orderBy limit } } } } }}Response, as returned:
{ "data": { "lists": { "edges": [ { "node": { "searchInput": { "conditions": { "filter": { "AND": [ { "AND": [ { "IN": [ "addresses.state", [ "NY", "AK" ] ] } ] }, { "IN": [ "operatingStatuses.operatingStatus", [ "Open", "Unknown", "Temporarily Closed" ] ] } ] }, "orderBy": null, "limit": null } } } …}