software.amzn.spapi 1.14.0

dotnet add package software.amzn.spapi --version 1.14.0
                    
NuGet\Install-Package software.amzn.spapi -Version 1.14.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="software.amzn.spapi" Version="1.14.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="software.amzn.spapi" Version="1.14.0" />
                    
Directory.Packages.props
<PackageReference Include="software.amzn.spapi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add software.amzn.spapi --version 1.14.0
                    
#r "nuget: software.amzn.spapi, 1.14.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package software.amzn.spapi@1.14.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=software.amzn.spapi&version=1.14.0
                    
Install as a Cake Addin
#tool nuget:?package=software.amzn.spapi&version=1.14.0
                    
Install as a Cake Tool

C# SDK for Selling Partner API

NuGet

The Selling Partner API SDK for C# enables you to easily connect your C# application to Amazon's REST-based Selling Partner API.

Getting started

Credentials

Before you can use the SDK, you need to be registered as a Selling Partner API developer. If you haven't done that yet, please follow the instructions in the SP-API Registration Overview. You also need to register your application to get valid credentials to call SP-API. If you haven't done that yet, please follow the instructions in Registering your Application. If you are already registered successfully, you can find instructions on how to view your credentials in Viewing your Application Information and Credentials.

Minimum requirements

To run the SDK you need dotnet 7.0 or higher.

Integrate the SDK
  1. Find the latest version number here.
  2. Add the dependency to your project
NuGet

Add the following lines to the dependencies in your yourProject.csproj file:

   <ItemGroup>
    <Compile Include="Yourtest.cs" />
    <PackageReference Include="software.amzn.spapi" Version="1.1.2" />
  </ItemGroup>

Use the SDK

In order to call one of the APIs included in the Selling Partner API, you need to:

  1. Configure credentials (Note: Use your individual credentials for clientId, clientSecret and refreshToken)
  2. Create an instance for a specific API
  3. Call an operation

For an example, refer to the following sample code for connecting to Sellers API:


using System;
using System.IO;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using RestSharp;
using software.amzn.spapi;
using software.amzn.spapi.Client;
using software.amzn.spapi.Api;
using software.amzn.spapi.Model;
using Amazon.SellingPartnerAPIAA;
using software.amzn.spapi.Api.sellers.v1;
using software.amzn.spapi.Model.sellers.v1;
using System.Threading;

// Configure your LWA credentials
LWAAuthorizationCredentials lwaAuthorizationCredentials = new LWAAuthorizationCredentials
{
    ClientId = "yourClientId",
    ClientSecret = "YourClientSecret",
    RefreshToken = "YourRefreshToken",
    Endpoint = new Uri("https://api.amazon.com/auth/o2/token")
};

// Create an instance of the Sellers API
SellersApi sellersApi = new SellersApi.Builder()
    .SetLWAAuthorizationCredentials(lwaAuthorizationCredentials)
    .Build();

// Call operation
GetMarketplaceParticipationsResponse result = sellersApi.GetMarketplaceParticipations();
Console.WriteLine(result.ToJson());

Giving Feedback

We need your help in making this SDK great. Please participate in the community and contribute to this effort by submitting issues, participating in discussion forums and submitting pull requests through the following channels:

Submit issues - this is the preferred channel to interact with our team Articulate your feature request or upvote existing ones on our Issues page

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.14.0 286 11/3/2026
1.13.0 1,196 10/2/2026
1.12.0 220 8/27/2026
1.11.0 648 8/7/2026
1.10.0 552 7/31/2026
1.9.0 1,600 5/29/2026
1.8.0 2,536 5/4/2026
1.7.0 4,569 2/2/2026
1.6.1 263 1/12/2026
1.6.0 2,828 10/7/2025
1.2.0 3,450 8/5/2025
1.1.2 3,631 6/23/2025
1.1.1 418 6/11/2025
1.1.0 469 5/30/2025

Latest release notes can be found here: https://github.com/amzn/selling-partner-api-sdk/releases/latest