POST
Update a Tracker

Authorizations

Authorization
string
header
required

sk_test_ / sk_live_ / rk_test_ / rk_live_ keys

Headers

Shipping-Version
string
Shipping-Account
string

Act on behalf of a connected account (acct_...)

Path Parameters

id
string
required

Body

application/json
refresh
object
user_metadata
object

Client-writable. Up to 50 string key/value pairs. Never sent to carriers.

Response

OK

id
string
required

Prefixed trk_

Example:

"trk_1Q2w3E4r"

object
enum<string>
required
Available options:
tracker
livemode
boolean
required
created
integer<unix-time>
required

Unix timestamp (seconds)

tracking_number
string
required
carrier
string
required
status
enum<string>
required
Available options:
pre_transit,
in_transit,
out_for_delivery,
available_for_pickup,
delivered,
exception,
return_to_sender,
returned,
cancelled,
unknown
updated
integer<unix-time>

Unix timestamp (seconds)

connection
string | null
shipment

ID (shp_...). Expandable to Shipment.

status_detail
string
status_updated_at
integer<unix-time>

Unix timestamp (seconds)

delivered_at
integer<unix-time> | null

Unix timestamp (seconds)

estimated_delivery
object | null
origin
object | null
destination
object | null
signed_by
string | null
proof_of_delivery
object | null
attempts
integer
events
object[]
tracking_url
string | null
public_url
string | null
refresh
object
messages
object[]
user_metadata
object

Client-writable. Up to 50 string key/value pairs. Never sent to carriers.

carrier_metadata
object
read-only

Read-only. Carrier-returned data not modelled by the spec (routing codes, internal IDs). Untrusted and unversioned; keys may change with the carrier's API.

system_metadata
object
read-only

Read-only. Implementer provenance. Implementer-specific keys are prefixed x_.