All URIs are relative to https://api.sendinblue.com/v3
Method | HTTP request | Description |
---|---|---|
CreateBatchOrder | POST /orders/status/batch | Maintains a batch of orders |
CreateOrder | POST /orders/status | Maintains every transactional status of the order |
CreateUpdateBatchCategory | POST /categories/batch | Create the categories in a batch |
CreateUpdateBatchProducts | POST /products/batch | Creates the products in a batch |
CreateUpdateCategory | POST /categories | Create/Update a category |
CreateUpdateProduct | POST /products | Create/Update a product |
EcommerceActivatePost | POST /ecommerce/activate | Fulfills the eCommerce pre-requisites |
GetCategories | GET /categories | Return all your categories |
GetCategoryInfo | GET /categories/{id} | Get a category details |
GetProductInfo | GET /products/{id} | Get a product's details |
GetProducts | GET /products | Return all your products |
void CreateBatchOrder (OrderBatch orderBatch)
Maintains a batch of orders
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateBatchOrderExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var orderBatch = new OrderBatch(); // OrderBatch |
try
{
// Maintains a batch of orders
apiInstance.CreateBatchOrder(orderBatch);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateBatchOrder: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
orderBatch | OrderBatch |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void CreateOrder (Order order)
Maintains every transactional status of the order
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateOrderExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var order = new Order(); // Order |
try
{
// Maintains every transactional status of the order
apiInstance.CreateOrder(order);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateOrder: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
order | Order |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateUpdateBatchCategoryModel CreateUpdateBatchCategory (CreateUpdateBatchCategory createUpdateBatchCategory)
Create the categories in a batch
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateUpdateBatchCategoryExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var createUpdateBatchCategory = new CreateUpdateBatchCategory(); // CreateUpdateBatchCategory | Values to create a batch of categories
try
{
// Create the categories in a batch
CreateUpdateBatchCategoryModel result = apiInstance.CreateUpdateBatchCategory(createUpdateBatchCategory);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateUpdateBatchCategory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createUpdateBatchCategory | CreateUpdateBatchCategory | Values to create a batch of categories |
CreateUpdateBatchCategoryModel
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateUpdateBatchProductsModel CreateUpdateBatchProducts (CreateUpdateBatchProducts createUpdateBatchProducts)
Creates the products in a batch
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateUpdateBatchProductsExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var createUpdateBatchProducts = new CreateUpdateBatchProducts(); // CreateUpdateBatchProducts | Values to create a batch of products
try
{
// Creates the products in a batch
CreateUpdateBatchProductsModel result = apiInstance.CreateUpdateBatchProducts(createUpdateBatchProducts);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateUpdateBatchProducts: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createUpdateBatchProducts | CreateUpdateBatchProducts | Values to create a batch of products |
CreateUpdateBatchProductsModel
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateCategoryModel CreateUpdateCategory (CreateUpdateCategory createUpdateCategory)
Create/Update a category
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateUpdateCategoryExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var createUpdateCategory = new CreateUpdateCategory(); // CreateUpdateCategory | Values to create/update a category
try
{
// Create/Update a category
CreateCategoryModel result = apiInstance.CreateUpdateCategory(createUpdateCategory);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateUpdateCategory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createUpdateCategory | CreateUpdateCategory | Values to create/update a category |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateProductModel CreateUpdateProduct (CreateUpdateProduct createUpdateProduct)
Create/Update a product
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class CreateUpdateProductExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var createUpdateProduct = new CreateUpdateProduct(); // CreateUpdateProduct | Values to create/update a product
try
{
// Create/Update a product
CreateProductModel result = apiInstance.CreateUpdateProduct(createUpdateProduct);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.CreateUpdateProduct: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
createUpdateProduct | CreateUpdateProduct | Values to create/update a product |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void EcommerceActivatePost ()
Fulfills the eCommerce pre-requisites
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class EcommerceActivatePostExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
try
{
// **Fulfills the eCommerce pre-requisites**
apiInstance.EcommerceActivatePost();
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.EcommerceActivatePost: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCategories GetCategories (long? limit = null, long? offset = null, string sort = null, List ids = null)
Return all your categories
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class GetCategoriesExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var limit = 789; // long? | Number of documents per page (optional) (default to 50)
var offset = 789; // long? | Index of the first document in the page (optional) (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
var ids = new List<string>(); // List<string> | Filter by category ids (optional)
try
{
// Return all your categories
GetCategories result = apiInstance.GetCategories(limit, offset, sort, ids);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.GetCategories: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
limit | long? | Number of documents per page | [optional] [default to 50] |
offset | long? | Index of the first document in the page | [optional] [default to 0] |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if `sort` is not passed | [optional] [default to desc] |
ids | List<string> | Filter by category ids | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCategoryDetails GetCategoryInfo (string id)
Get a category details
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class GetCategoryInfoExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var id = id_example; // string | Category ID
try
{
// Get a category details
GetCategoryDetails result = apiInstance.GetCategoryInfo(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.GetCategoryInfo: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Category ID |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetProductDetails GetProductInfo (string id)
Get a product's details
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class GetProductInfoExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var id = id_example; // string | Product ID
try
{
// Get a product's details
GetProductDetails result = apiInstance.GetProductInfo(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.GetProductInfo: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Product ID |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetProducts GetProducts (long? limit = null, long? offset = null, string sort = null, List ids = null)
Return all your products
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class GetProductsExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new EcommerceApi();
var limit = 789; // long? | Number of documents per page (optional) (default to 50)
var offset = 789; // long? | Index of the first document in the page (optional) (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
var ids = new List<string>(); // List<string> | Filter by product ids (optional)
try
{
// Return all your products
GetProducts result = apiInstance.GetProducts(limit, offset, sort, ids);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EcommerceApi.GetProducts: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
limit | long? | Number of documents per page | [optional] [default to 50] |
offset | long? | Index of the first document in the page | [optional] [default to 0] |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if `sort` is not passed | [optional] [default to desc] |
ids | List<string> | Filter by product ids | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]