---
title: "CustomerSegment"
description: "Customer group selection"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-segment'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-segment.md'
---
# CustomerSegment

Customer group selection

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `uid`

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

  uid

* `phoneSubsStatus`

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

  phone Subs Status (0=non-subscription, 1=subscription)

* `emailSubsStatus`

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

  email Subs Status(0=non-subscription, 1=subscription)

* `numberOfOrders`

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

  number Of Orders

* `amountSpent`

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

  amount Spent

* `lineSubsStatus`

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

  line Subs Status （(0=non-subscription, 1=subscription)

* `messSubsStatus`

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

  mess Subs Status (0=non-subscription, 1=subscription)

## Field from

* [CustomerSegmentsEdge](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-segments-edge.md).node

