Skip to main content
Version: Next

Filter Listings

You can use Pimcore's webservice filter logic as described here to filter listing.

Sample

Get all Manufacturer objects which have 'ca' in their name field.

Filtered GridFiltered GridFiltered Grid

Request

{
getManufacturerListing(filter: "{\"name\": {\"$like\" :\"%ca%\"}}") {
edges {
node {
id
name
}
},
totalCount
}
}

Response

{
"data": {
"getManufacturerListing": {
"edges": [
{
"node": {
"id": "45",
"name": "Cadillac"
}
},
{
"node": {
"id": "80",
"name": "AC Cars"
}
},
{
"node": {
"id": "153",
"name": "MG Cars"
}
}
],
"totalCount": 3
}
}
}