---
title: "SegmentFilter"
description: "Customer segmentation recommendations"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-filter'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-filter.md'
---
# SegmentFilter

Customer segmentation recommendations

- **Required Scopes:** `read_customers`
- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`SegmentFilter`

## Fields

* `queryName`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Query condition name

* `queryValue`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Query condition value

## Schema Definition

```graphql
type SegmentFilter { 
	queryName: String
	queryValue: String 
}
```

## Field from

* [SegmentFilterConnection](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-filter-connection.md).nodes

  node list

* [SegmentFilterEdge](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-filter-edge.md).node

  
  SegmentFilter node information

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

