AdobeMPClient 1.0.1

dotnet add package AdobeMPClient --version 1.0.1
                    
NuGet\Install-Package AdobeMPClient -Version 1.0.1
                    
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="AdobeMPClient" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AdobeMPClient" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="AdobeMPClient" />
                    
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 AdobeMPClient --version 1.0.1
                    
#r "nuget: AdobeMPClient, 1.0.1"
                    
#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 AdobeMPClient@1.0.1
                    
#: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=AdobeMPClient&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=AdobeMPClient&version=1.0.1
                    
Install as a Cake Tool

AdobeMPClient

🚧 ACTIVE DEVELOPMENT

This library is in early development. The API may change without prior notice until version 1.0.0.

Status: In Development .NET

A .NET SDK/wrapper for the Adobe Marketplace Partner API. This library provides strongly-typed models and a fluent client interface for interacting with Adobe's marketplace services, including customer management, orders, subscriptions, and notifications.

Features

  • Strongly-typed models - All API responses and requests are represented as strongly-typed C# classes
  • Result-based error handling - Uses Result<T> pattern for explicit success/failure handling
  • Dependency Injection ready - Built with Microsoft.Extensions.DependencyInjection in mind
  • Async/await support - All operations are asynchronous with CancellationToken support
  • Token caching - Automatic OAuth token management with thread-safe caching
  • Comprehensive error handling - Handles HTTP errors, network exceptions, and JSON parsing errors
  • Well-organized models - Models organized by domain (Customer, Orders, Subscriptions, etc.)

Installation

PackageReference in your .csproj:

<PackageReference Include="AdobeMPClient" Version="1.0.0" />

Quick Start

1. Configure Settings

Add your Adobe API credentials to appsettings.json:

{
  "Adobe": {
    "BaseUrl": "https://partnersandbox-stage.adobe.io/",
    "ApiKey": "your-api-key",
    "ClientSecret": "your-client-secret",
    "Ims": "https://ims-na1-stg1.adobelogin.com",
    "ImsOrg": "your-ims-org"
  }
}

Required Settings

  • BaseUrl: Base URL of the Adobe Marketplace Partner API
  • ApiKey: Your Adobe API key
  • ClientSecret: Your Adobe client secret
  • Ims: Identity Management Service URL
  • ImsOrg: Your IMS organization ID (optional, may be required depending on your setup)

2. Register Services

In your Program.cs or Startup.cs:

using AdobeMPClient.Extensions;

var builder = WebApplication.CreateBuilder(args);

// Register Adobe Client
builder.Services.AddAdobeClient(builder.Configuration);

var app = builder.Build();

3. Use the Client

Inject IAdobeClient into your services:

using AdobeMPClient.Interfaces;
using AdobeMPClient.Models.Common;
using AdobeMPClient.Models.Customer;

public class CustomerService
{
    private readonly IAdobeClient _adobeClient;

    public CustomerService(IAdobeClient adobeClient)
    {
        _adobeClient = adobeClient;
    }

    public async Task<CustomerResponse?> GetCustomerAsync(string customerId)
    {
        var result = await _adobeClient.GetCustomerAsync(customerId);

        return result.Match(
            (customer, statusCode) => customer,
            (error, statusCode) =>
            {
                Console.WriteLine($"Error: {error?.Message}");
                return null;
            }
        );
    }
}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues, questions, or contributions, please open an issue on GitHub.

Product 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. 
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.0.1 95 4/21/2026
1.0.0 92 4/21/2026
1.0.0-beta 94 4/21/2026