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

# TrackerFilter

> Which trackers to include, matched as the Shipments page's filters match them. Fields set side by side must all match; `and`, `or` and `not` nest up to 4 levels and 50 filters in all.

**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.


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