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

# OrderTrackingSettings

> How Redo tracks the store's shipments: Settings › Order tracking in the app.

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

**carrierMappings** `[\[CarrierMapping!\]!](/docs/api-reference/v3/reference/orders/carrier-mapping)` *required*

Carrier mappings, in evaluation order. The first that matches sets the carrier.

**fields**

**carrierPattern** `[CarrierMatchPattern!](/docs/api-reference/v3/reference/orders/carrier-match-pattern)` *required*

Compared with the carrier name the sales channel gave.

**fields**

**matchType** `[CarrierMatchType!](/docs/api-reference/v3/reference/orders/carrier-match-type)` *required*

How the pattern is compared.

**value** `String`

The pattern. Null for CATCH\_ALL and UNSPECIFIED.

**targetCarrier** `[TrackingCarrier](/docs/api-reference/v3/reference/orders/tracking-carrier)`

The carrier to track with. Null when the saved carrier isn't one Redo supports.

**trackingNumberPattern** `[CarrierMatchPattern](/docs/api-reference/v3/reference/orders/carrier-match-pattern)`

When set, the tracking number must also match. Null matches any tracking number.

**fields**

**matchType** `[CarrierMatchType!](/docs/api-reference/v3/reference/orders/carrier-match-type)` *required*

How the pattern is compared.

**value** `String`

The pattern. Null for CATCH\_ALL and UNSPECIFIED.

**useAlternateSource** `Boolean!` *required*

Whether Redo tracks through the carrier's alternate data source, for when updates from the usual one are missing, late or wrong.

**carrierMappingsRevision** `String!` *required*

Opaque. Changes whenever a carrier mapping or their order changes. Pass it to orderTrackingCarrierMappingUpdate.

**exclusionRules** `[\[OrderExclusionCondition!\]!](/docs/api-reference/v3/reference/orders/order-exclusion-condition)` *required*

Orders matching any condition aren't tracked. These are the rules in effect, including the defaults while the store has saved none.

**fields**

**checks** `[\[OrderExclusionCheck!\]!](/docs/api-reference/v3/reference/orders/order-exclusion-check)` *required*

The checks, all of which must match.

**fields**

**field** `[OrderExclusionField!](/docs/api-reference/v3/reference/orders/order-exclusion-field)` *required*

The order value tested.

**operator** `[OrderExclusionOperator!](/docs/api-reference/v3/reference/orders/order-exclusion-operator)` *required*

How the value is compared.

**value** `String`

The value compared with. Null for IS\_EMPTY.

**exclusionRulesCustomized** `Boolean!` *required*

False while the store uses the default exclusion rules, which skip orders with neither an email address nor a phone number.

**stalledInFulfillment** `[StalledShipmentRule!](/docs/api-reference/v3/reference/orders/stalled-shipment-rule)` *required*

When an unfulfilled order counts as stalled, counting days since it was placed.

**fields**

**skipSaturdays** `Boolean!` *required*

Whether Saturdays don't count toward the threshold.

**skipSundays** `Boolean!` *required*

Whether Sundays don't count toward the threshold.

**thresholdDays** `Int!` *required*

Days without progress before the shipment counts as stalled. Skipped weekend days don't count toward it.

**stalledInTransit** `[StalledShipmentRule!](/docs/api-reference/v3/reference/orders/stalled-shipment-rule)` *required*

When a shipment in transit counts as stalled, counting days since the last carrier update.

**fields**

**skipSaturdays** `Boolean!` *required*

Whether Saturdays don't count toward the threshold.

**skipSundays** `Boolean!` *required*

Whether Sundays don't count toward the threshold.

**thresholdDays** `Int!` *required*

Days without progress before the shipment counts as stalled. Skipped weekend days don't count toward it.

**textRules** `[\[TrackingTextRule!\]!](/docs/api-reference/v3/reference/orders/tracking-text-rule)` *required*

Rules applied, in order, to each carrier scan's text.

**fields**

**phrases** `[String!]!` *required*

Phrases to replace. Matching ignores case.

**replacement** `String!` *required*

Text that replaces a matched phrase. An empty string hides it.

**target** `[TrackingTextTarget!](/docs/api-reference/v3/reference/orders/tracking-text-target)` *required*

Which text the rule changes.

**weeklyAnalyticsEmail** `[OrderTrackingWeeklyAnalyticsEmail!](/docs/api-reference/v3/reference/orders/order-tracking-weekly-analytics-email)` *required*

The weekly order tracking recap email.

**fields**

**enabled** `Boolean!` *required*

Whether the email is sent.

**recipients** `[String!]!` *required*

Email addresses the recap is sent to. Left out of the developer log.


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