Parcel.NET.Abstractions
1.1.0
dotnet add package Parcel.NET.Abstractions --version 1.1.0
NuGet\Install-Package Parcel.NET.Abstractions -Version 1.1.0
<PackageReference Include="Parcel.NET.Abstractions" Version="1.1.0" />
<PackageVersion Include="Parcel.NET.Abstractions" Version="1.1.0" />
<PackageReference Include="Parcel.NET.Abstractions" />
paket add Parcel.NET.Abstractions --version 1.1.0
#r "nuget: Parcel.NET.Abstractions, 1.1.0"
#:package Parcel.NET.Abstractions@1.1.0
#addin nuget:?package=Parcel.NET.Abstractions&version=1.1.0
#tool nuget:?package=Parcel.NET.Abstractions&version=1.1.0

Parcel.NET.Abstractions
Shared interfaces and models for Parcel.NET — the carrier-agnostic foundation that all provider packages build on.
Unofficial project. Not affiliated with, endorsed by, or supported by DHL Group, GO! Express & Logistics Deutschland GmbH, or A&O Fischer GmbH & Co. KG. See the trademark notice below.
Installation
dotnet add package Parcel.NET.Abstractions
Key Types
| Type | Description |
|---|---|
IShipmentService |
Create and cancel shipments across carriers |
ITrackingService |
Track shipments across carriers |
ShipmentRequest / ShipmentResponse |
Carrier-agnostic shipment models |
TrackingResult / TrackingEvent |
Carrier-agnostic tracking models |
Address, Package, ContactInfo |
Shared value types |
ShippingException / TrackingException |
Typed exceptions with StatusCode, ErrorCode, RawResponse |
Usage
Program against the abstractions for multi-carrier support:
public class ShipmentController(IShipmentService shipmentService, ITrackingService trackingService)
{
public async Task<string> Ship(ShipmentRequest request)
{
var response = await shipmentService.CreateShipmentAsync(request);
return response.ShipmentNumber;
}
public async Task<TrackingResult> Track(string trackingNumber)
{
return await trackingService.TrackAsync(trackingNumber);
}
}
Links
Trademarks and disclaimer
This is an independent, community-maintained project. It is not an official product of any carrier and is not affiliated with, endorsed by, or sponsored by DHL Group, GO! Express & Logistics Deutschland GmbH, or A&O Fischer GmbH & Co. KG. "DHL", "Deutsche Post", "Packstation", "Internetmarke", "Portokasse" and "E-POST" are trademarks or registered trademarks of Deutsche Post AG / DHL Group. "GO!" and "GO! Express & Logistics" are trademarks or registered trademarks of GO! Express & Logistics Deutschland GmbH. "LetterXpress" and "SMART@MAIL" are trademarks or registered trademarks of A&O Fischer GmbH & Co. KG; all other names and brands are the property of their respective owners and are used solely to identify the third-party APIs this package communicates with. Provided under the MIT license, as-is, with no warranty and no support agreement from the carriers. Details: Parcel.NET.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Parcel.NET.Abstractions:
| Package | Downloads |
|---|---|
|
Parcel.NET.Dhl
Unofficial DHL authentication, shared configuration, and DI extensions for Parcel.NET. Community project, not affiliated with or endorsed by Deutsche Post AG / DHL Group. |
|
|
Parcel.NET.Dhl.Shipping
Unofficial DHL Parcel DE Shipping API v2 client for Parcel.NET. Community project, not affiliated with or endorsed by Deutsche Post AG / DHL Group. |
|
|
Parcel.NET.Dhl.UnifiedTracking
Unofficial DHL Unified Shipment Tracking API client (JSON) for Parcel.NET. Community project, not affiliated with or endorsed by Deutsche Post AG / DHL Group. |
|
|
Parcel.NET.Dhl.Pickup
Unofficial DHL Parcel DE Pickup API v3 client for Parcel.NET. Community project, not affiliated with or endorsed by Deutsche Post AG / DHL Group. |
|
|
Parcel.NET.Dhl.LocationFinder
Unofficial DHL Location Finder Unified API v1 client for Parcel.NET. Community project, not affiliated with or endorsed by Deutsche Post AG / DHL Group. |
GitHub repositories
This package is not used by any popular GitHub repositories.