![]() |
VOOZH | about |
dotnet add package ShipEngine --version 3.2.1
NuGet\Install-Package ShipEngine -Version 3.2.1
<PackageReference Include="ShipEngine" Version="3.2.1" />
<PackageVersion Include="ShipEngine" Version="3.2.1" />Directory.Packages.props
<PackageReference Include="ShipEngine" />Project file
paket add ShipEngine --version 3.2.1
#r "nuget: ShipEngine, 3.2.1"
#:package ShipEngine@3.2.1
#addin nuget:?package=ShipEngine&version=3.2.1Install as a Cake Addin
#tool nuget:?package=ShipEngine&version=3.2.1Install as a Cake Tool
👁 Nuget (with prereleases)
👁 GitHub
👁 Build Status
👁 Coverage Status
Install ShipEngine .NET SDK via the .NET CLI.
dotnet add package ShipEngine
The only configuration requirement is an API key.
using ShipEngineSDK;
var shipengine = new ShipEngine("___YOUR_API_KEY_HERE__");
This C# SDK is automatically generated by the OpenAPI Generator project:
<a id="frameworks-supported"></a>
<a id="documentation-for-api-endpoints"></a>
| API | Method | Description |
|---|---|---|
| Account | Create an Account Image | |
| Account | Delete Account Image By Id | |
| Account | Get Account Image By ID | |
| Account | List Account Images | |
| Account | List Account Settings | |
| Account | Update Account Image By ID | |
| Addresses | Parse an address | |
| Addresses | Validate An Address | |
| Batches | Add to a Batch | |
| Batches | Create A Batch | |
| Batches | Delete Batch By Id | |
| Batches | Get Batch By External ID | |
| Batches | Get Batch By ID | |
| Batches | Get Batch Errors | |
| Batches | List Batches | |
| Batches | Process Batch ID Labels | |
| Batches | Remove From Batch | |
| Batches | Update Batch By Id | |
| CarrierAccounts | Connect a carrier account | |
| CarrierAccounts | Disconnect a carrier | |
| CarrierAccounts | Get carrier settings | |
| CarrierAccounts | Update carrier settings | |
| Carriers | Add Funds To Carrier | |
| Carriers | Disconnect Carrier by ID | |
| Carriers | Get Carrier By ID | |
| Carriers | Get Carrier Options | |
| Carriers | List Carrier Package Types | |
| Carriers | List Carrier Services | |
| Carriers | List Carriers | |
| Downloads | Download File | |
| Insurance | Add Funds To Insurance | |
| Insurance | Connect a Shipsurance Account | |
| Insurance | Disconnect a Shipsurance Account | |
| Insurance | Get Insurance Funds Balance | |
| Labels | Created Combined Label Document | |
| Labels | Purchase Label | |
| Labels | Purchase Label with Rate ID | |
| Labels | Purchase Label from Rate Shopper | |
| Labels | Purchase Label with Shipment ID | |
| Labels | Create a return label | |
| Labels | Get Label By External Shipment ID | |
| Labels | Get Label By ID | |
| Labels | Get Label Tracking Information | |
| Labels | List labels | |
| Labels | Void a Label By ID | |
| Manifests | Create Manifest | |
| Manifests | Get Manifest By Id | |
| Manifests | Get Manifest Request By Id | |
| Manifests | List Manifests | |
| PackagePickups | Delete a Scheduled Pickup | |
| PackagePickups | Get Pickup By ID | |
| PackagePickups | List Scheduled Pickups | |
| PackagePickups | Schedule a Pickup | |
| PackageTypes | Create Custom Package Type | |
| PackageTypes | Delete A Custom Package By ID | |
| PackageTypes | Get Custom Package Type By ID | |
| PackageTypes | List Custom Package Types | |
| PackageTypes | Update Custom Package Type By ID | |
| Rates | Get Shipping Rates | |
| Rates | Get Bulk Rates | |
| Rates | Estimate Rates | |
| Rates | Get Rate By ID | |
| ServicePoints | Get Service Point By ID | |
| ServicePoints | List Service Points | |
| Shipments | Cancel a Shipment | |
| Shipments | Create Shipments | |
| Shipments | Get Shipment By External ID | |
| Shipments | Get Shipment By ID | |
| Shipments | Get Shipment Rates | |
| Shipments | List Shipments | |
| Shipments | Parse shipping info | |
| Shipments | Get Shipment Tags | |
| Shipments | Update Shipments Tags | |
| Shipments | Add Tag to Shipment | |
| Shipments | Remove Tag from Shipment | |
| Shipments | Update Shipment By ID | |
| Tags | Create a New Tag | |
| Tags | Create a New Tag | |
| Tags | Delete Tag | |
| Tags | Get Tags | |
| Tags | Update Tag Name | |
| Tokens | Get Ephemeral Token | |
| Tracking | Get Tracking Information | |
| Tracking | Start Tracking a Package | |
| Tracking | Stop Tracking a Package | |
| Warehouses | Create Warehouse | |
| Warehouses | Delete Warehouse By ID | |
| Warehouses | Get Warehouse By Id | |
| Warehouses | List Warehouses | |
| Warehouses | Update Warehouse By Id | |
| Warehouses | Update Warehouse Settings | |
| Webhooks | Create a Webhook | |
| Webhooks | Delete Webhook By ID | |
| Webhooks | Get Webhook By ID | |
| Webhooks | List Webhooks | |
| Webhooks | Update a Webhook |
These methods have been deprecated in favor of the methods listed above, but are still in the SDK.
GetRatesWithShipmentDetails method, the returned information contains a RateId property that can be used to purchase a label without having to refill in the shipment information repeatedly.Contributions, enhancements, and bug-fixes are welcome! Open an issue on GitHub and submit a pull request.
To build the project locally on your computer:
Clone this repo<br>
git clone https://github.com/ShipEngine/shipengine-dotnet.git
Install .NET 8.x
Install dependencies<br>
dotnet restore
Build the code<br>
dotnet build
Format the code<br>
dotnet format
Run the tests<br>
dotnet test<br><br>
By default, the test project targets all supported frameworks, if your environment only supports a subset then you can specify in the CLI. <br><br>
dotnet test -f net8.0
To regenerate the SDK from the OpenAPI spec, you will first need to get the latest version of the spec. It can be downloaded from the online documentation
and should be saved to ./generation/swagger.json. Then run npm run generate from the command line. This will regenerate all the API calls and models, but not docs or tests.
The templates for autogeneration were extracted using the command:
npx @openapitools/openapi-generator-cli author template -g csharp -o generation/templates
Create a fork for your changes.
Update the with any relevant new features or bug fixes and modify the packageVersion property in the .openapitools.json file to match the new version.
In the ShipEngine.csproj file, update to the desired version (using semantic versioning) and push to your fork.
Run dotnet format
Create a pull request.
Once a member of the ShipEngine team reviews your PR and it's merged to main, the build pipeline will handle all the necessary github tags and nuget packaging and publishing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 2 NuGet packages that depend on ShipEngine:
| Package | Downloads |
|---|---|
|
Apsy.Elemental.ECommerce
Package Description |
|
|
Apsy.Elemental.ShippingAddress
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.1 | 1,302 | 5/27/2026 |
| 3.2.0 | 10,181 | 3/20/2026 |
| 3.1.0 | 37,416 | 3/25/2025 |
| 3.0.0 | 14,205 | 2/19/2025 |
| 3.0.0-beta.16 | 1,187 | 10/16/2024 |
| 3.0.0-beta.15 | 995 | 10/9/2024 |
| 3.0.0-beta.14 | 138 | 10/8/2024 |
| 3.0.0-beta.13 | 275 | 10/3/2024 |
| 3.0.0-beta.12 | 1,062 | 9/11/2024 |
| 3.0.0-beta.11 | 2,210 | 8/26/2024 |
| 3.0.0-beta.10 | 165 | 8/26/2024 |
| 3.0.0-beta.9 | 1,050 | 7/28/2024 |
| 3.0.0-beta.8 | 168 | 7/24/2024 |
| 2.3.6 | 12,800 | 2/5/2025 |
| 2.3.5 | 12,753 | 1/9/2025 |
| 2.3.4 | 13,394 | 11/12/2024 |
| 2.3.3 | 19,576 | 10/9/2024 |
| 2.3.2 | 21,373 | 9/12/2024 |
| 2.3.1 | 12,752 | 9/3/2024 |
| 2.3.0 | 12,744 | 8/26/2024 |