Documentation > Search > Search Criteria reference > CustomerGroupId This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version. 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¶ 1$query->query = new Criterion\CustomerGroupId(1); 📋 Copy for LLM 📄 View as Markdown