- Documentation >
- Search >
- Search Criteria reference >
- CustomerGroupId
CustomerGroupId Criterion
The CustomerGroupId Search Criterion searches for content based on the ID of its customer group.
Arguments
value - int(s) representing the customer group ID(s)
Example
PHP
| $query->query = new Criterion\CustomerGroupId(1);
|