ApimaticstickyapisSDK 0.0.1
dotnet add package ApimaticstickyapisSDK --version 0.0.1
NuGet\Install-Package ApimaticstickyapisSDK -Version 0.0.1
<PackageReference Include="ApimaticstickyapisSDK" Version="0.0.1" />
<PackageVersion Include="ApimaticstickyapisSDK" Version="0.0.1" />
<PackageReference Include="ApimaticstickyapisSDK" />
paket add ApimaticstickyapisSDK --version 0.0.1
#r "nuget: ApimaticstickyapisSDK, 0.0.1"
#:package ApimaticstickyapisSDK@0.0.1
#addin nuget:?package=ApimaticstickyapisSDK&version=0.0.1
#tool nuget:?package=ApimaticstickyapisSDK&version=0.0.1
Getting Started with sticky.io Restful API v2025.7.31
Introduction
sticky.io Restful API offers some new functionality as well as fully restful routes. All request with a payload should be sent as JSON. The authorization used is Basic Authentication
Requests
API requests that call for a request body are expected to be in JSON Format.
Responses
The v2 standard JSON responses will usually contain at least the following:
| Field | Data Type | Description |
|---|---|---|
| status | String | Status of the API call. "SUCCESS" or "FAILURE" are possible values. |
| data | Mixed | Data returned by API call. It could be an object or an array of objects. |
List Responses
GET requests that return a list of entities will usually contain the following:
| Field | Data Type | Description |
|---|---|---|
| status | String | Status of the API call. "SUCCESS" or "FAILURE" are possible values. |
| data | Mixed | Data returned by API call. It could be an object or an array of objects. |
| current_page | Integer | Current page associated with the dataset returned in data. |
| first_page_url | String | URL that maps to the first paginated list of a given entity. |
| last_page | Integer | Number of pages in a given dataset. |
| last_page_url | String | URL that maps to the last paginated list of a given entity. |
| next_page_url | String | URL that maps to the next paginated list of a given entity. |
| path | String | URL that maps to the index page of a given entity. |
| per_page | Mixed | Data returned by API call. It could be an object or an array of objects. |
| prev_page_url | Mixed | Data returned by API call. It could be an object or an array of objects. |
| from | Integer | Offset record number lower bound. |
| to | Mixed | Offset record number upper bound. |
| total | Integer | Total amount of records that exist for a given entity. |
Install the Package
If you are building with .NET CLI tools then you can also use the following command:
dotnet add package ApimaticstickyapisSDK --version 0.0.1
You can also view the package at: https://www.nuget.org/packages/ApimaticstickyapisSDK/0.0.1
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
| Environment | Environment |
The API environment. <br> Default: Environment.Production |
| Timeout | TimeSpan |
Http client timeout.<br>Default: TimeSpan.FromSeconds(100) |
| HttpClientConfiguration | Action<HttpClientConfiguration.Builder> |
Action delegate that configures the HTTP client by using the HttpClientConfiguration.Builder for customizing API call settings.<br>Default: new HttpClient() |
| LogBuilder | LogBuilder |
Represents the logging configuration builder for API calls |
| BasicCredentials | BasicCredentials |
The Credentials Setter for Basic Authentication |
| BearerCredentials | BearerCredentials |
The Credentials Setter for OAuth 2 Bearer token |
The API client can be initialized as follows:
Code-Based Initialization
using Microsoft.Extensions.Logging;
using StickyIoRestfulApiV2025731.Standard;
using StickyIoRestfulApiV2025731.Standard.Authentication;
namespace ConsoleApp;
StickyIoRestfulApiV2025731Client client = new StickyIoRestfulApiV2025731Client.Builder()
.BasicCredentials(
new BasicModel.Builder(
"username",
"password"
)
.Build())
.BearerCredentials(
new BearerModel.Builder(
"AccessToken"
)
.Build())
.HttpClientConfig(httpClientConfig =>
httpClientConfig.Timeout(TimeSpan.FromSeconds(100)))
.Environment(StickyIoRestfulApiV2025731.Standard.Environment.Production)
.LoggingConfig(config => config
.LogLevel(LogLevel.Information)
.RequestConfig(reqConfig => reqConfig.Body(true))
.ResponseConfig(respConfig => respConfig.Headers(true))
)
.Build();
Configuration-Based Initialization
using StickyIoRestfulApiV2025731.Standard;
using Microsoft.Extensions.Configuration;
namespace ConsoleApp;
// Build the IConfiguration using .NET conventions (JSON, environment, etc.)
var configuration = new ConfigurationBuilder()
.AddJsonFile("config.json")
.AddEnvironmentVariables() // [optional] read environment variables
.Build();
// Instantiate your SDK and configure it from IConfiguration
var client = StickyIoRestfulApiV2025731Client
.FromConfiguration(configuration.GetSection("StickyIoRestfulApiV2025731"));
See the Configuration-Based Initialization section for details.
Environments
The SDK can be configured to use a different environment for making API calls. Available environments are:
Fields
| Name | Description |
|---|---|
| Production | Default |
Authorization
This API uses the following authentication schemes.
List of APIs
- Billing Models
- Campaigns
- Payment Types Methods
- Promo Codes
- Custom Fields
- Start Stop Reset
- Line Item Custom Options
- Line Item Management
- Trial Workflows
- Payment Router
- Volume Discounts
- Permissions
- Affiliates
- Meta
- Addresses
- Wallet
- Interests
- Communications
- Contacts
- Coupons
- Customers
- Gateways
- Images
- Types
- Templates
- Notes
- Products
- Discount
- Credits
- Overrides
- Subscriptions
- Orders
- Configurations
- Offers
- Attributes
- Categories
- Variants
- Prospects
- Shipping
- Tokenization
- Users
- Chargeback
- Inventories
- Warehouse
- Order
- Subscription
- Misc
SDK Infrastructure
Configuration
- Configuration-Based Initialization
- HttpClientConfiguration
- HttpClientConfigurationBuilder
- LogBuilder
- LogRequestBuilder
- LogResponseBuilder
- ProxyConfigurationBuilder
HTTP
Utilities
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- APIMatic.Core (>= 0.4.13 && < 0.5.0)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.0)
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 |
|---|---|---|
| 0.0.1 | 115 | 4/20/2026 |