Home > @infiniteobjects/shopify-data-manager > AdminTypes > SegmentMigration
A segment and its corresponding saved search. For example, you can use SegmentMigration to retrieve the segment ID that corresponds to a saved search ID.
Signature:
export interface SegmentMigration
| Property | Modifiers | Type | Description |
|---|---|---|---|
| id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
| savedSearchId | Scalars[‘ID’][‘output’] | The ID of the saved search. | |
| segmentId? | Maybe<Scalars[‘ID’][‘output’]> | (Optional) The ID of the segment. |