---
title: "Update Tracker"
method: POST
path: "/print-mail/v1/trackers/{id}"
tags: ["Trackers"]
---

# Update Tracker

`POST /print-mail/v1/trackers/{id}`

Update a Tracker by ID.

## Path parameters

- `id` string, required

## Request body

- TrackerUpdate
  - `redirectURLTemplate` string, required — The base template for URLs generated by this Tracker.
  - `urlExpireAfterDays` 30 | 60 | 90 | 180 | 365, required — The number of days generated Tracker URLs remain valid.
  - `description` string — An optional string describing this resource. Will be visible in the API and the dashboard.
  - `metadata` object — See the section on Metadata.

## Response `200`

The updated Tracker.

- Tracker
  - `id` string, required — A unique ID prefixed with tracker_
  - `description` string — An optional string describing this resource. Will be visible in the API and the dashboard.
  - `metadata` object — See the section on Metadata.
  - `live` boolean, required — `true` if this is a live mode resource else `false`.
  - `createdAt` string, date-time, required — The UTC time at which this resource was created.
  - `updatedAt` string, date-time, required — The UTC time at which this resource was last updated.

## Other responses

- `400` — The updated Tracker.
- `401` — The updated Tracker.
- `404` — The updated Tracker.
- `422` — The updated Tracker.
- `429` — The updated Tracker.
- `500` — The updated Tracker.

---

[API](https://skmtc.net/postgrid/apis/postgrid-address-verification-api.md) · [All operations](https://skmtc.net/postgrid/apis/postgrid-address-verification-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postgrid/postgrid-address-verification-api/revisions/537d2bbc624a/schema)
