Soenneker.Shippo.OpenApiClientUtil
11.0.229
Prefix Reserved
dotnet add package Soenneker.Shippo.OpenApiClientUtil --version 11.0.229
NuGet\Install-Package Soenneker.Shippo.OpenApiClientUtil -Version 11.0.229
<PackageReference Include="Soenneker.Shippo.OpenApiClientUtil" Version="11.0.229" />
<PackageVersion Include="Soenneker.Shippo.OpenApiClientUtil" Version="11.0.229" />
<PackageReference Include="Soenneker.Shippo.OpenApiClientUtil" />
paket add Soenneker.Shippo.OpenApiClientUtil --version 11.0.229
#r "nuget: Soenneker.Shippo.OpenApiClientUtil, 11.0.229"
#:package Soenneker.Shippo.OpenApiClientUtil@11.0.229
#addin nuget:?package=Soenneker.Shippo.OpenApiClientUtil&version=11.0.229
#tool nuget:?package=Soenneker.Shippo.OpenApiClientUtil&version=11.0.229
Soenneker.Shippo.OpenApiClientUtil
Provides a lazily initialized Shippo client for shipments, rates, labels, tracking, addresses, parcels, customs, manifests, pickups, refunds, orders, and webhooks.
Installation
dotnet add package Soenneker.Shippo.OpenApiClientUtil
Configuration
{
"Shippo": {
"ApiKey": "your-shippo-token"
}
}
Set Shippo:ClientBaseUrl only when requests should use a different Shippo-compatible API origin. Authentication header overrides supported by the HTTP provider also apply here.
Usage
using Soenneker.Shippo.OpenApiClientUtil.Abstract;
using Soenneker.Shippo.OpenApiClientUtil.Registrars;
services.AddShippoOpenApiClientUtilAsSingleton();
public sealed class ShipmentReader
{
private readonly IShippoOpenApiClientUtil _shippo;
public ShipmentReader(IShippoOpenApiClientUtil shippo)
{
_shippo = shippo;
}
public async Task GetShipments(CancellationToken cancellationToken)
{
var client = await _shippo.Get(cancellationToken);
var shipments = await client.Shipments.GetAsync(
cancellationToken: cancellationToken);
}
}
Use AddShippoOpenApiClientUtilAsScoped() when each scope should have its own generated client wrapper. Both registrations reuse the singleton authenticated HTTP client provider; disposing a scoped utility does not remove that provider's client.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Shippo.HttpClients (>= 11.0.170)
- Soenneker.Shippo.OpenApiClient (>= 11.0.81)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.229 | 39 | 11/15/2026 |
| 11.0.228 | 43 | 11/15/2026 |
| 11.0.227 | 53 | 11/15/2026 |
| 11.0.226 | 54 | 11/12/2026 |
| 11.0.225 | 53 | 11/11/2026 |
| 11.0.224 | 53 | 11/11/2026 |
| 11.0.223 | 45 | 11/11/2026 |
| 11.0.222 | 48 | 11/11/2026 |
| 11.0.221 | 64 | 11/11/2026 |
| 11.0.220 | 61 | 11/10/2026 |
| 11.0.219 | 96 | 11/5/2026 |
| 11.0.218 | 78 | 11/3/2026 |
| 11.0.217 | 91 | 11/3/2026 |
| 11.0.216 | 95 | 11/3/2026 |
| 11.0.215 | 92 | 11/3/2026 |
| 11.0.214 | 94 | 11/3/2026 |
| 11.0.213 | 94 | 11/3/2026 |
| 11.0.212 | 99 | 11/2/2026 |
| 11.0.211 | 99 | 11/2/2026 |
| 11.0.210 | 99 | 11/2/2026 |
Updated Soenneker.Shippo.HttpClients to 11.0.170