IkasAdminApiLibrary 2.0.0-beta.1

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

IkasAdminApiLibrary

NuGet

.NET ile ikas Admin API v2 uzerinden urun, siparis, musteri, merchant, satis kanali, stok lokasyonu, fiyat listesi, webhook ve storefront islemleri icin istemci kutuphanesi.

v1 kodu v1 branch'inde korunur. Bu branch ikas Admin API v2 endpoint'lerini kullanir.

Dokumantasyon

Kurulum

dotnet add package IkasAdminApiLibrary

NuGet Versiyonlama

GitHub Actions, v* veya V* tag push edildiginde NuGet paketi yayinlar. Tag adindaki v kaldirilir ve kalan kisim NuGet paket surumu olarak kullanilir.

Beta paket yayinlamak icin:

git tag v2.0.0-beta.1
git push origin v2.0.0-beta.1

Stable paket yayinlamak icin:

git tag v2.0.0
git push origin v2.0.0

Tag, 3 parcali SemVer formatinda olmalidir: v2.0.0, v2.0.1, v2.0.0-beta.1. v2.0.0.0-beta veya v2.0.0.-beta.1 gibi 4 parcali ya da fazladan nokta iceren surumler kullanilmaz.

Lokal paket almak icin:

dotnet pack IkasAdminApiLibrary/IkasAdminApiLibrary.csproj -c Release /p:PackageVersion=2.0.0-beta.1 /p:Version=2.0.0-beta.1

Client Olusturma

using IkasAdminApiLibrary;
using IkasAdminApiLibrary.Abstracts;

IConfig config = new Config(
    clientId: "client-id",
    clientSecret: "client-secret",
    storeName: "store-name",
    tokenStoragePath: "token.json");

IIkasClient client = new IkasClient(config);

Urun Listeleme

using IkasAdminApiLibrary.Api.Common.Models;
using IkasAdminApiLibrary.Api.Products.Models.Inputs;

var result = await client.ProductManager.List(new ListProductInput
{
    Pagination = new PaginationInput(20, 1)
});

if (result.IsFail())
    throw new Exception($"{result.GetMessage()} ({result.GetCode()})");

foreach (var product in result.Data.Data)
    Console.WriteLine($"{product.Id} - {product.Name}");

v2 Varyant Ekleme

v2'de varyant degeri yazarken ID yerine isim kullanilir:

var result = await client.ProductManager.AddVariant(new AddVariantToProductInput
{
    ProductId = "product-id",
    Variant = new CreateProductVariantInput
    {
        IsActive = true,
        Sku = "SKU-SIYAH",
        Prices =
        [
            new ProductPriceInput(100)
        ],
        VariantValues =
        [
            new CreateVariantValueInput
            {
                VariantTypeName = "Renk",
                VariantValueName = "Siyah"
            }
        ]
    }
});

v2 Manager'lar

  • ProductManager
  • OrderManager
  • CustomerManager
  • MerchantManager
  • SalesChannelsManager
  • StockLcationManager
  • PriceListsManager
  • WebhookManager
  • TimelineManager
  • StorefrontManager

Test Console

Test console projesinde v1 ve v2 ornekleri ayri siniflarda tutulur:

  • V1Examples
  • V2Examples
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 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
2.0.0-beta.1 76 6/7/2026
1.0.9 96 6/8/2026
1.0.8 125 1/21/2026
1.0.7 210 12/13/2025
1.0.6 326 11/11/2025
1.0.5 223 10/2/2025
1.0.4 217 9/9/2025
1.0.3 222 9/9/2025
1.0.2 299 8/6/2025
1.0.1 216 7/13/2025
1.0.0 223 7/13/2025

Ikas Admin API v2 endpoint ve model uyumluluğu.