Soenneker.Shippo.OpenApiClientUtil
11.0.205
Prefix Reserved
dotnet add package Soenneker.Shippo.OpenApiClientUtil --version 11.0.205
NuGet\Install-Package Soenneker.Shippo.OpenApiClientUtil -Version 11.0.205
<PackageReference Include="Soenneker.Shippo.OpenApiClientUtil" Version="11.0.205" />
<PackageVersion Include="Soenneker.Shippo.OpenApiClientUtil" Version="11.0.205" />
<PackageReference Include="Soenneker.Shippo.OpenApiClientUtil" />
paket add Soenneker.Shippo.OpenApiClientUtil --version 11.0.205
#r "nuget: Soenneker.Shippo.OpenApiClientUtil, 11.0.205"
#:package Soenneker.Shippo.OpenApiClientUtil@11.0.205
#addin nuget:?package=Soenneker.Shippo.OpenApiClientUtil&version=11.0.205
#tool nuget:?package=Soenneker.Shippo.OpenApiClientUtil&version=11.0.205
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.157)
- Soenneker.Shippo.OpenApiClient (>= 11.0.66)
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.205 | 42 | 10/29/2026 |
| 11.0.204 | 49 | 10/27/2026 |
| 11.0.203 | 50 | 10/27/2026 |
| 11.0.202 | 45 | 10/27/2026 |
| 11.0.201 | 47 | 10/27/2026 |
| 11.0.200 | 43 | 10/27/2026 |
| 11.0.199 | 87 | 10/26/2026 |
| 11.0.198 | 86 | 10/26/2026 |
| 11.0.197 | 86 | 10/26/2026 |
| 4.0.196 | 96 | 10/25/2026 |
| 4.0.195 | 94 | 10/21/2026 |
| 4.0.194 | 89 | 10/15/2026 |
| 4.0.193 | 88 | 10/15/2026 |
| 4.0.192 | 89 | 10/14/2026 |
| 4.0.191 | 88 | 10/14/2026 |
| 4.0.189 | 88 | 10/14/2026 |
| 4.0.188 | 93 | 10/14/2026 |
| 4.0.181 | 94 | 10/13/2026 |
| 4.0.180 | 91 | 10/12/2026 |
| 4.0.179 | 90 | 10/12/2026 |
Update dependency Soenneker.Shippo.OpenApiClient to 11.0.66 (#346)