> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# trackersSearch

> Search shipment trackers by text and filters, with the same matching as the Redo app's Shipments page: its search box (order number, customer name and email, tracking number) and its filters. Results come from a search index and can trail writes by a few seconds; to sync changes, use `trackers` with `updatedAtAfter` instead.

**Required scopes:** [`orders_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-orders_read)

**Store must have one of:** `ORDER_TRACKING`

## Arguments

**after** `String`

Forward pagination cursor — returns trackers after it.

**before** `String`

Backward pagination cursor — returns trackers before it.

**filter** `[TrackerFilter](/docs/api-reference/v3/reference/orders/tracker-filter)`

Which trackers to include.

**fields**

**and** `[\[TrackerFilter!\]](/docs/api-reference/v3/reference/orders/tracker-filter)`

Every one of these filters matches.

**carrier** `[StringListFilter](/docs/api-reference/v3/reference/common/string-list-filter)`

The carrier Redo tracks the shipment with, as `Tracker.carrier` gives it (for example `usps`, `ups`, `fedex`, `dhl`). A carrier also matches its services, so `dhl` matches `dhl_ecommerce`. A tracker has one carrier, so `allOf` with two carriers matches nothing.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**createdAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the tracker was created.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**destinationCountryCode** `[StringListFilter](/docs/api-reference/v3/reference/common/string-list-filter)`

The ISO 3166-1 alpha-2 country code of the address the shipment goes to. An address stored without a code is indexed by its country name, which these codes don't match. For a shipment that fulfills several orders, the index keeps one order's address.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**firstInTransitAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the carrier first scanned the shipment in transit. A tracker not yet in transit never matches.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**not** `[TrackerFilter](/docs/api-reference/v3/reference/orders/tracker-filter)`

This filter does not match.

**or** `[\[TrackerFilter!\]](/docs/api-reference/v3/reference/orders/tracker-filter)`

At least one of these filters matches.

**orderCreatedAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the order the shipment fulfills was placed. A tracker with no order never matches; for one that fulfills several orders, the index keeps one order's date.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**salesChannel** `[StringListFilter](/docs/api-reference/v3/reference/common/string-list-filter)`

The sales channel of the order the shipment fulfills, as the store's platform names it (for example `web`, `pos`, `shopify_draft_order`). For a shipment that fulfills several orders, the index keeps one of them, as the Shipments page does.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**status** `[TrackerStatusFilter](/docs/api-reference/v3/reference/common/tracker-status-filter)`

The tracker's status. `UNKNOWN` also matches trackers whose stored status Redo does not recognize, as in `trackers`.

**fields**

**anyOf** `[\[TrackerStatus!\]](/docs/api-reference/v3/reference/orders/tracker-status)`

One of these values.

**noneOf** `[\[TrackerStatus!\]](/docs/api-reference/v3/reference/orders/tracker-status)`

None of these values.

**tags** `[StringListFilter](/docs/api-reference/v3/reference/common/string-list-filter)`

The tracker's tags, by name (`TrackerTag.name`).

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**updatedAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the tracker was last updated.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**first** `Int`

Forward pagination: returns the first N trackers (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N trackers (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**reverse** `Boolean`

Flips the order: weakest match, or oldest, first.

**sort** `[TrackerSearchSortKey](/docs/api-reference/v3/reference/orders/tracker-search-sort-key)`

Defaults to RELEVANCE with `text`, CREATED\_AT without. Relevance order can shift as trackers change; use a date sort to page through every match stably.

**text** `String`

What to search for, at most 200 characters. Omit to page through the filter's matches.

## Returns

**trackersSearch** `[TrackerConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of Tracker items.

**fields**

**edges** `[\[TrackerEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[Tracker!](/docs/api-reference/v3/reference/orders/tracker)` *required*

The item at this edge.

**fields**

**carrier** `String`

The carrier transporting the shipment, if known.

**carrierService** `String`

The carrier service level, if known.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the tracker was created.

**deliveredAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the shipment was delivered, if it has been.

**estimatedDeliveryAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

The carrier's estimated delivery time, if known.

**id** `ID!` *required*

The id of this tracker.

**incomingCarrier** `String`

The carrier name the shipment came in with, before Redo matched it to `carrier`. Null when it had none.

**internalNote** `String`

An internal note about this shipment, visible only to the merchant's team.

**orders** `[TrackerOrderConnection!](/docs/api-reference/v3/pagination)` *required*

The orders fulfilled by this shipment.

**Requires:** [`orders_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-orders_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor.

**before** `String`

Backward pagination cursor.

**first** `Int`

Forward pagination: returns the first N orders (max 100, default 25).

**last** `Int`

Backward pagination: returns the last N orders (max 100, default 25).

**scans** `[TrackerScanConnection!](/docs/api-reference/v3/pagination)` *required*

The tracker's carrier scan history, newest first.

**Requires:** [`orders_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-orders_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns scans after it.

**before** `String`

Backward pagination cursor — returns scans before it.

**first** `Int`

Forward pagination: returns the first N scans (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N scans (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**setupIssue** `[TrackerSetupIssue](/docs/api-reference/v3/reference/orders/tracker-setup-issue)`

Why Redo couldn't start tracking the shipment. Null when tracking started, hasn't been tried yet, or was skipped (`untrackedReason`).

**status** `[TrackerStatus!](/docs/api-reference/v3/reference/orders/tracker-status)` *required*

The current carrier-tracked delivery status.

**tags** `[\[TrackerTag!\]!](/docs/api-reference/v3/reference/orders/tracker-tag)` *required*

Tags applied to this shipment, A–Z by name.

**trackingNumber** `String`

The carrier tracking number, if known.

**trackingUrl** `String`

A public URL to track the shipment, if known.

**untrackedReason** `[TrackerUntrackedReason](/docs/api-reference/v3/reference/orders/tracker-untracked-reason)`

Why Redo chose not to track the shipment. Null unless it did.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the tracker was last updated.

**nodes** `[\[Tracker!\]!](/docs/api-reference/v3/reference/orders/tracker)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**carrier** `String`

The carrier transporting the shipment, if known.

**carrierService** `String`

The carrier service level, if known.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the tracker was created.

**deliveredAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the shipment was delivered, if it has been.

**estimatedDeliveryAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

The carrier's estimated delivery time, if known.

**id** `ID!` *required*

The id of this tracker.

**incomingCarrier** `String`

The carrier name the shipment came in with, before Redo matched it to `carrier`. Null when it had none.

**internalNote** `String`

An internal note about this shipment, visible only to the merchant's team.

**orders** `[TrackerOrderConnection!](/docs/api-reference/v3/pagination)` *required*

The orders fulfilled by this shipment.

**Requires:** [`orders_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-orders_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor.

**before** `String`

Backward pagination cursor.

**first** `Int`

Forward pagination: returns the first N orders (max 100, default 25).

**last** `Int`

Backward pagination: returns the last N orders (max 100, default 25).

**Fields**

**edges** `[\[TrackerOrderEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[TrackerOrder!\]!](/docs/api-reference/v3/reference/orders/tracker-order)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**scans** `[TrackerScanConnection!](/docs/api-reference/v3/pagination)` *required*

The tracker's carrier scan history, newest first.

**Requires:** [`orders_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-orders_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns scans after it.

**before** `String`

Backward pagination cursor — returns scans before it.

**first** `Int`

Forward pagination: returns the first N scans (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N scans (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**Fields**

**edges** `[\[TrackerScanEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[TrackerScan!\]!](/docs/api-reference/v3/reference/orders/tracker-scan)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**setupIssue** `[TrackerSetupIssue](/docs/api-reference/v3/reference/orders/tracker-setup-issue)`

Why Redo couldn't start tracking the shipment. Null when tracking started, hasn't been tried yet, or was skipped (`untrackedReason`).

**status** `[TrackerStatus!](/docs/api-reference/v3/reference/orders/tracker-status)` *required*

The current carrier-tracked delivery status.

**tags** `[\[TrackerTag!\]!](/docs/api-reference/v3/reference/orders/tracker-tag)` *required*

Tags applied to this shipment, A–Z by name.

**fields**

**color** `[TagColor!](/docs/api-reference/v3/reference/common/tag-color)` *required*

The color the tag is shown in.

**id** `ID!` *required*

The id of this tracker tag.

**name** `String!` *required*

The tag's name. Names compare case-insensitively when a tag is created.

**origin** `[TagSource!](/docs/api-reference/v3/reference/common/tag-source)` *required*

Who added the tag.

**trackingNumber** `String`

The carrier tracking number, if known.

**trackingUrl** `String`

A public URL to track the shipment, if known.

**untrackedReason** `[TrackerUntrackedReason](/docs/api-reference/v3/reference/orders/tracker-untracked-reason)`

Why Redo chose not to track the shipment. Null unless it did.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the tracker was last updated.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  trackersSearch(after: "...", before: "...", filter: { ... }, first: 10, last: 10, reverse: true, sort: CREATED_AT, text: "...") {
    nodes {
      carrier
      carrierService
      createdAt
      deliveredAt
      estimatedDeliveryAt
      id
      incomingCarrier
      internalNote
      # ...
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.