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

# trackerUpdate

> Update a shipment tracker's internal note and tags. Returns null if no tracker in this store matches the id.

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

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

## Arguments

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

The id of the tracker to update.

**input** `[TrackerUpdateInput!](/docs/api-reference/v3/reference/orders/tracker-update-input)` *required*

The fields to update.

**fields**

**addTagIds** `[ID!]`

Ids of tracker tags to add to this shipment.

**internalNote** `String`

An internal note about this shipment. Pass null to clear it.

**removeTagIds** `[ID!]`

Ids of tracker tags to remove from this shipment.

## Returns

**trackerUpdate** `[Tracker](/docs/api-reference/v3/reference/orders/tracker)`

A carrier shipment tracker: the live delivery state of a shipment, with its full carrier scan history.

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

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

**fields**

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

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

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

The item at this edge.

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

**fields**

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

The id of this order.

**orderName** `String`

The order name, if any.

**orderNumber** `String`

The merchant-facing order number, if any.

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

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

**fields**

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

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

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

The item at this edge.

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

**fields**

**city** `String`

The city where the scan occurred, if reported.

**country** `String`

The country where the scan occurred, if reported.

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

The id of this scan.

**message** `String!` *required*

The human-readable scan message.

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

When the carrier recorded this scan.

**postalCode** `String`

The postal code where the scan occurred, if reported.

**state** `String`

The state or province where the scan occurred, if reported.

**status** `[TrackerScanStatus!](/docs/api-reference/v3/reference/common/tracker-scan-status)` *required*

The normalized carrier status at this scan.

**statusDetail** `String`

The carrier's raw status detail, if any.

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

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

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

When the tracker was last updated.

## Example

```graphql theme={null}
mutation {
  trackerUpdate(id: "...", input: { ... }) {
    carrier
    carrierService
    createdAt
    deliveredAt
    estimatedDeliveryAt
    id
    internalNote
    orders {
      nodes {
        id
        orderName
        orderNumber
      }
      pageInfo { hasNextPage endCursor }
    }
    # ...
  }
}
```


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