TrackInfo
Contains tracking information for a shipment.
type TrackInfo {
trackingNumber: String!
lastEvent: TrackEvent
events(
first: Int
after: String
last: Int
before: String
): TrackEventConnection
sender: ContactInfo
recipient: ContactInfo
}
Fields
TrackInfo.trackingNumber ● String! non-null scalar
The tracking number for the shipment.
TrackInfo.lastEvent ● TrackEvent object
Represents the most likely event that has occurred recently. This may differ from the last item in
TrackInfo.events.For example, if there are any abnormal situations such as OUT_FOR_DELIVERY events being registered after the DELIVERED event in events, the lastEvent.status.code will still prioritize DELIVERED.
TrackInfo.events ● TrackEventConnection object
A list of tracking events for the shipment.
The event sort order is from oldest to newest events.
Important: See also
TrackInfo.lastEventfield.
TrackInfo.events.first●IntscalarRelay-style Cursor Connection
firstargument.
TrackInfo.events.after ● String scalar
Relay-style Cursor Connection
afterargument.
TrackInfo.events.last ● Int scalar
Relay-style Cursor Connection
lastargument.
TrackInfo.events.before ● String scalar
Relay-style Cursor Connection
beforeargument.
TrackInfo.sender ● ContactInfo object
The sender's contact information.
TrackInfo.recipient ● ContactInfo object
The recipient's contact information.
Returned by
track query