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 |
CreateBatchOrder(ctx, orderBatch) Maintains a batch of orders
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
orderBatch | OrderBatch |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateOrder(ctx, order) Maintains every transactional status of the order
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
order | Order |
(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(ctx, createUpdateBatchCategory) Create the categories in a batch
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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(ctx, createUpdateBatchProducts) Creates the products in a batch
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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(ctx, createUpdateCategory) Create/Update a category
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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(ctx, createUpdateProduct) Create/Update a product
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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]
EcommerceActivatePost(ctx, ) Fulfills the eCommerce pre-requisites
This endpoint does not need any parameter.
(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(ctx, optional) Return all your categories
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetCategoriesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetCategoriesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
limit | optional.Int64 | Number of documents per page | [default to 50] |
offset | optional.Int64 | Index of the first document in the page | [default to 0] |
sort | optional.String | Sort the results in the ascending/descending order of record creation. Default order is descending if `sort` is not passed | [default to desc] |
ids | optional.Interface of []string | Filter by category ids |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCategoryDetails GetCategoryInfo(ctx, id) Get a category details
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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(ctx, id) Get a product's details
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
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(ctx, optional) Return all your products
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetProductsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetProductsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
limit | optional.Int64 | Number of documents per page | [default to 50] |
offset | optional.Int64 | Index of the first document in the page | [default to 0] |
sort | optional.String | Sort the results in the ascending/descending order of record creation. Default order is descending if `sort` is not passed | [default to desc] |
ids | optional.Interface of []string | Filter by product ids |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]