---
title: "SegmentMigration"
description: "Saved customer segmentation query conditions."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-migration'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-migration.md'
---
# SegmentMigration

Saved customer segmentation query conditions.

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

## Type Signature

`SegmentMigration`

## Fields

* `id`

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

  Global ID

* `savedSearchId`

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

  The ID of the saved search.

## Schema Definition

```graphql
type SegmentMigration { 
	id: ID
	savedSearchId: String 
}
```

## Field from

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

  List of nodes contained in SegmentMigrationEdge

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

  node list

## 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).

