Information that helps track a Parcel.

interface TrackingData {
    carrier?: string;
    isReturn?: boolean;
    provider?: string;
    providerTransaction?: string;
    trackingId?: string;
}

Properties

carrier?: string

Name of the carrier that delivers the Parcel.

isReturn?: boolean
  • If true, the Parcel is being returned.
    • If false, the Parcel is being delivered to the customer.
provider?: string

Name of the provider that serves as facade to several carriers.

providerTransaction?: string

Transaction identifier with the provider.

trackingId?: string

Identifier to track the Parcel.