Package software.xdev.brevo.api
Class EcommerceApi
java.lang.Object
software.xdev.brevo.client.BaseApi
software.xdev.brevo.api.EcommerceApi
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBatchOrder(OrderBatch orderBatch) Create orders in batch Create multiple orders at one time instead of one order at a timecreateBatchOrder(OrderBatch orderBatch, Map<String, String> additionalHeaders) Create orders in batch Create multiple orders at one time instead of one order at a timevoidcreateOrder(Order order) Managing the status of the order Manages the transactional status of the ordervoidcreateOrder(Order order, Map<String, String> additionalHeaders) Managing the status of the order Manages the transactional status of the ordercreateUpdateBatchCategory(CreateUpdateBatchCategory createUpdateBatchCategory) Create categories in batchcreateUpdateBatchCategory(CreateUpdateBatchCategory createUpdateBatchCategory, Map<String, String> additionalHeaders) Create categories in batchcreateUpdateBatchProducts(CreateUpdateBatchProducts createUpdateBatchProducts) Create products in batchcreateUpdateBatchProducts(CreateUpdateBatchProducts createUpdateBatchProducts, Map<String, String> additionalHeaders) Create products in batchcreateUpdateCategory(CreateUpdateCategory createUpdateCategory) Create/Update a categorycreateUpdateCategory(CreateUpdateCategory createUpdateCategory, Map<String, String> additionalHeaders) Create/Update a categorycreateUpdateProduct(CreateUpdateProduct createUpdateProduct) Create/Update a productcreateUpdateProduct(CreateUpdateProduct createUpdateProduct, Map<String, String> additionalHeaders) Create/Update a productvoidActivate the eCommerce app Getting access to Brevo eCommerce.voidecommerceActivatePost(Map<String, String> additionalHeaders) Activate the eCommerce app Getting access to Brevo eCommerce.ecommerceAttributionMetricsConversionSourceConversionSourceIdGet(String conversionSource, String conversionSourceId) Get detailed attribution metrics for a single Brevo campaign or workflowecommerceAttributionMetricsConversionSourceConversionSourceIdGet(String conversionSource, String conversionSourceId, Map<String, String> additionalHeaders) Get detailed attribution metrics for a single Brevo campaign or workflowecommerceAttributionMetricsGet(OffsetDateTime periodFrom, OffsetDateTime periodTo, List<String> emailCampaignId, List<String> smsCampaignId, List<String> automationWorkflowEmailId, List<String> automationWorkflowSmsId) Get attribution metrics for one or more Brevo campaigns or workflowsecommerceAttributionMetricsGet(OffsetDateTime periodFrom, OffsetDateTime periodTo, List<String> emailCampaignId, List<String> smsCampaignId, List<String> automationWorkflowEmailId, List<String> automationWorkflowSmsId, Map<String, String> additionalHeaders) Get attribution metrics for one or more Brevo campaigns or workflowsecommerceAttributionProductsConversionSourceConversionSourceIdGet(String conversionSource, String conversionSourceId) Get attributed product sales for a single Brevo campaign or workflowecommerceAttributionProductsConversionSourceConversionSourceIdGet(String conversionSource, String conversionSourceId, Map<String, String> additionalHeaders) Get attributed product sales for a single Brevo campaign or workflowGet the ISO 4217 compliant display currency code for your Brevo accountecommerceConfigDisplayCurrencyGet(Map<String, String> additionalHeaders) Get the ISO 4217 compliant display currency code for your Brevo accountgetCategories(Long limit, Long offset, String sort, List<String> ids, String name, String modifiedSince, String createdSince) Return all your categoriesgetCategories(Long limit, Long offset, String sort, List<String> ids, String name, String modifiedSince, String createdSince, Map<String, String> additionalHeaders) Return all your categoriesGet a category detailsgetCategoryInfo(String id, Map<String, String> additionalHeaders) Get a category detailsvoidGet order details Get all the ordersvoidgetOrders(Long limit, Long offset, String sort, String modifiedSince, String createdSince, Map<String, String> additionalHeaders) Get order details Get all the ordersgetProductInfo(String id) Get a product's detailsgetProductInfo(String id, Map<String, String> additionalHeaders) Get a product's detailsgetProducts(Long limit, Long offset, String sort, List<String> ids, String name, BigDecimal priceLte, BigDecimal priceGte, BigDecimal priceLt, BigDecimal priceGt, BigDecimal priceEq, BigDecimal priceNe, List<String> categories, String modifiedSince, String createdSince) Return all your productsgetProducts(Long limit, Long offset, String sort, List<String> ids, String name, BigDecimal priceLte, BigDecimal priceGte, BigDecimal priceLt, BigDecimal priceGt, BigDecimal priceEq, BigDecimal priceNe, List<String> categories, String modifiedSince, String createdSince, Map<String, String> additionalHeaders) Return all your products<T> TinvokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) Directly invoke the API for the given URL.setConfigDisplayCurrency(EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet200Response) Set the ISO 4217 compliant display currency code for your Brevo accountsetConfigDisplayCurrency(EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet200Response, Map<String, String> additionalHeaders) Set the ISO 4217 compliant display currency code for your Brevo accountMethods inherited from class software.xdev.brevo.client.BaseApi
getApiClient, invokeAPI, invokeAPI, invokeAPI, invokeAPI, invokeAPI, invokeAPI, setApiClient
-
Constructor Details
-
EcommerceApi
public EcommerceApi() -
EcommerceApi
-
-
Method Details
-
createBatchOrder
Create orders in batch Create multiple orders at one time instead of one order at a time- Parameters:
orderBatch- (required)- Returns:
- CreatedBatchId
- Throws:
ApiException- if fails to make API call
-
createBatchOrder
public CreatedBatchId createBatchOrder(@Nonnull OrderBatch orderBatch, Map<String, String> additionalHeaders) throws ApiExceptionCreate orders in batch Create multiple orders at one time instead of one order at a time- Parameters:
orderBatch- (required)additionalHeaders- additionalHeaders for this call- Returns:
- CreatedBatchId
- Throws:
ApiException- if fails to make API call
-
createOrder
Managing the status of the order Manages the transactional status of the order- Parameters:
order- (required)- Throws:
ApiException- if fails to make API call
-
createOrder
public void createOrder(@Nonnull Order order, Map<String, String> additionalHeaders) throws ApiExceptionManaging the status of the order Manages the transactional status of the order- Parameters:
order- (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
createUpdateBatchCategory
public CreateUpdateBatchCategoryModel createUpdateBatchCategory(@Nonnull CreateUpdateBatchCategory createUpdateBatchCategory) throws ApiException Create categories in batch- Parameters:
createUpdateBatchCategory- Values to create a batch of categories (required)- Returns:
- CreateUpdateBatchCategoryModel
- Throws:
ApiException- if fails to make API call
-
createUpdateBatchCategory
public CreateUpdateBatchCategoryModel createUpdateBatchCategory(@Nonnull CreateUpdateBatchCategory createUpdateBatchCategory, Map<String, String> additionalHeaders) throws ApiExceptionCreate categories in batch- Parameters:
createUpdateBatchCategory- Values to create a batch of categories (required)additionalHeaders- additionalHeaders for this call- Returns:
- CreateUpdateBatchCategoryModel
- Throws:
ApiException- if fails to make API call
-
createUpdateBatchProducts
public CreateUpdateBatchProductsModel createUpdateBatchProducts(@Nonnull CreateUpdateBatchProducts createUpdateBatchProducts) throws ApiException Create products in batch- Parameters:
createUpdateBatchProducts- Values to create a batch of products (required)- Returns:
- CreateUpdateBatchProductsModel
- Throws:
ApiException- if fails to make API call
-
createUpdateBatchProducts
public CreateUpdateBatchProductsModel createUpdateBatchProducts(@Nonnull CreateUpdateBatchProducts createUpdateBatchProducts, Map<String, String> additionalHeaders) throws ApiExceptionCreate products in batch- Parameters:
createUpdateBatchProducts- Values to create a batch of products (required)additionalHeaders- additionalHeaders for this call- Returns:
- CreateUpdateBatchProductsModel
- Throws:
ApiException- if fails to make API call
-
createUpdateCategory
public CreateCategoryModel createUpdateCategory(@Nonnull CreateUpdateCategory createUpdateCategory) throws ApiException Create/Update a category- Parameters:
createUpdateCategory- Values to create/update a category (required)- Returns:
- CreateCategoryModel
- Throws:
ApiException- if fails to make API call
-
createUpdateCategory
public CreateCategoryModel createUpdateCategory(@Nonnull CreateUpdateCategory createUpdateCategory, Map<String, String> additionalHeaders) throws ApiExceptionCreate/Update a category- Parameters:
createUpdateCategory- Values to create/update a category (required)additionalHeaders- additionalHeaders for this call- Returns:
- CreateCategoryModel
- Throws:
ApiException- if fails to make API call
-
createUpdateProduct
public CreateProductModel createUpdateProduct(@Nonnull CreateUpdateProduct createUpdateProduct) throws ApiException Create/Update a product- Parameters:
createUpdateProduct- Values to create/update a product (required)- Returns:
- CreateProductModel
- Throws:
ApiException- if fails to make API call
-
createUpdateProduct
public CreateProductModel createUpdateProduct(@Nonnull CreateUpdateProduct createUpdateProduct, Map<String, String> additionalHeaders) throws ApiExceptionCreate/Update a product- Parameters:
createUpdateProduct- Values to create/update a product (required)additionalHeaders- additionalHeaders for this call- Returns:
- CreateProductModel
- Throws:
ApiException- if fails to make API call
-
ecommerceActivatePost
Activate the eCommerce app Getting access to Brevo eCommerce.- Throws:
ApiException- if fails to make API call
-
ecommerceActivatePost
Activate the eCommerce app Getting access to Brevo eCommerce.- Parameters:
additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionMetricsConversionSourceConversionSourceIdGet
public EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response ecommerceAttributionMetricsConversionSourceConversionSourceIdGet(@Nonnull String conversionSource, @Nonnull String conversionSourceId) throws ApiException Get detailed attribution metrics for a single Brevo campaign or workflow- Parameters:
conversionSource- The Brevo campaign type or workflow type for which data will be retrieved (required)conversionSourceId- The Brevo campaign or automation workflow id for which data will be retrieved (required)- Returns:
- EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionMetricsConversionSourceConversionSourceIdGet
public EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response ecommerceAttributionMetricsConversionSourceConversionSourceIdGet(@Nonnull String conversionSource, @Nonnull String conversionSourceId, Map<String, String> additionalHeaders) throws ApiExceptionGet detailed attribution metrics for a single Brevo campaign or workflow- Parameters:
conversionSource- The Brevo campaign type or workflow type for which data will be retrieved (required)conversionSourceId- The Brevo campaign or automation workflow id for which data will be retrieved (required)additionalHeaders- additionalHeaders for this call- Returns:
- EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionMetricsGet
public EcommerceAttributionMetricsGet200Response ecommerceAttributionMetricsGet(@Nullable OffsetDateTime periodFrom, @Nullable OffsetDateTime periodTo, @Nullable List<String> emailCampaignId, @Nullable List<String> smsCampaignId, @Nullable List<String> automationWorkflowEmailId, @Nullable List<String> automationWorkflowSmsId) throws ApiException Get attribution metrics for one or more Brevo campaigns or workflows- Parameters:
periodFrom- When getting metrics for a specific period, define the starting datetime in RFC3339 format (optional)periodTo- When getting metrics for a specific period, define the end datetime in RFC3339 format (optional)emailCampaignId- The email campaign ID(s) to get metrics for (optional)smsCampaignId- The SMS campaign ID(s) to get metrics for (optional)automationWorkflowEmailId- The automation workflow ID(s) to get email attribution metrics for (optional)automationWorkflowSmsId- The automation workflow ID(s) to get SMS attribution metrics for (optional)- Returns:
- EcommerceAttributionMetricsGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionMetricsGet
public EcommerceAttributionMetricsGet200Response ecommerceAttributionMetricsGet(@Nullable OffsetDateTime periodFrom, @Nullable OffsetDateTime periodTo, @Nullable List<String> emailCampaignId, @Nullable List<String> smsCampaignId, @Nullable List<String> automationWorkflowEmailId, @Nullable List<String> automationWorkflowSmsId, Map<String, String> additionalHeaders) throws ApiExceptionGet attribution metrics for one or more Brevo campaigns or workflows- Parameters:
periodFrom- When getting metrics for a specific period, define the starting datetime in RFC3339 format (optional)periodTo- When getting metrics for a specific period, define the end datetime in RFC3339 format (optional)emailCampaignId- The email campaign ID(s) to get metrics for (optional)smsCampaignId- The SMS campaign ID(s) to get metrics for (optional)automationWorkflowEmailId- The automation workflow ID(s) to get email attribution metrics for (optional)automationWorkflowSmsId- The automation workflow ID(s) to get SMS attribution metrics for (optional)additionalHeaders- additionalHeaders for this call- Returns:
- EcommerceAttributionMetricsGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionProductsConversionSourceConversionSourceIdGet
public EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response ecommerceAttributionProductsConversionSourceConversionSourceIdGet(@Nonnull String conversionSource, @Nonnull String conversionSourceId) throws ApiException Get attributed product sales for a single Brevo campaign or workflow- Parameters:
conversionSource- The Brevo campaign or automation workflow type for which data will be retrieved (required)conversionSourceId- The Brevo campaign or automation workflow id for which data will be retrieved (required)- Returns:
- EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceAttributionProductsConversionSourceConversionSourceIdGet
public EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response ecommerceAttributionProductsConversionSourceConversionSourceIdGet(@Nonnull String conversionSource, @Nonnull String conversionSourceId, Map<String, String> additionalHeaders) throws ApiExceptionGet attributed product sales for a single Brevo campaign or workflow- Parameters:
conversionSource- The Brevo campaign or automation workflow type for which data will be retrieved (required)conversionSourceId- The Brevo campaign or automation workflow id for which data will be retrieved (required)additionalHeaders- additionalHeaders for this call- Returns:
- EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceConfigDisplayCurrencyGet
public EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet() throws ApiExceptionGet the ISO 4217 compliant display currency code for your Brevo account- Returns:
- EcommerceConfigDisplayCurrencyGet200Response
- Throws:
ApiException- if fails to make API call
-
ecommerceConfigDisplayCurrencyGet
public EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet(Map<String, String> additionalHeaders) throws ApiExceptionGet the ISO 4217 compliant display currency code for your Brevo account- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- EcommerceConfigDisplayCurrencyGet200Response
- Throws:
ApiException- if fails to make API call
-
getCategories
public GetCategories getCategories(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable List<String> ids, @Nullable String name, @Nullable String modifiedSince, @Nullable String createdSince) throws ApiException Return all your categories- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- 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- Filter by category ids (optional)name- Filter by category name (optional)modifiedSince- Filter (urlencoded) the categories modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the categories created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)- Returns:
- GetCategories
- Throws:
ApiException- if fails to make API call
-
getCategories
public GetCategories getCategories(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable List<String> ids, @Nullable String name, @Nullable String modifiedSince, @Nullable String createdSince, Map<String, String> additionalHeaders) throws ApiExceptionReturn all your categories- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- 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- Filter by category ids (optional)name- Filter by category name (optional)modifiedSince- Filter (urlencoded) the categories modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the categories created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)additionalHeaders- additionalHeaders for this call- Returns:
- GetCategories
- Throws:
ApiException- if fails to make API call
-
getCategoryInfo
Get a category details- Parameters:
id- Category ID (required)- Returns:
- GetCategoryDetails
- Throws:
ApiException- if fails to make API call
-
getCategoryInfo
public GetCategoryDetails getCategoryInfo(@Nonnull String id, Map<String, String> additionalHeaders) throws ApiExceptionGet a category details- Parameters:
id- Category ID (required)additionalHeaders- additionalHeaders for this call- Returns:
- GetCategoryDetails
- Throws:
ApiException- if fails to make API call
-
getOrders
public void getOrders(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable String modifiedSince, @Nullable String createdSince) throws ApiException Get order details Get all the orders- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)modifiedSince- Filter (urlencoded) the orders modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the orders created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)- Throws:
ApiException- if fails to make API call
-
getOrders
public void getOrders(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable String modifiedSince, @Nullable String createdSince, Map<String, String> additionalHeaders) throws ApiExceptionGet order details Get all the orders- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)modifiedSince- Filter (urlencoded) the orders modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the orders created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getProductInfo
Get a product's details- Parameters:
id- Product ID (required)- Returns:
- GetProductDetails
- Throws:
ApiException- if fails to make API call
-
getProductInfo
public GetProductDetails getProductInfo(@Nonnull String id, Map<String, String> additionalHeaders) throws ApiExceptionGet a product's details- Parameters:
id- Product ID (required)additionalHeaders- additionalHeaders for this call- Returns:
- GetProductDetails
- Throws:
ApiException- if fails to make API call
-
getProducts
public GetProducts getProducts(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable List<String> ids, @Nullable String name, @Nullable BigDecimal priceLte, @Nullable BigDecimal priceGte, @Nullable BigDecimal priceLt, @Nullable BigDecimal priceGt, @Nullable BigDecimal priceEq, @Nullable BigDecimal priceNe, @Nullable List<String> categories, @Nullable String modifiedSince, @Nullable String createdSince) throws ApiException Return all your products- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- 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- Filter by product ids (optional)name- Filter by product name, minimum 3 characters should be present for search (optional)priceLte- Price filter for products less than and equals to particular amount (optional)priceGte- Price filter for products greater than and equals to particular amount (optional)priceLt- Price filter for products less than particular amount (optional)priceGt- Price filter for products greater than particular amount (optional)priceEq- Price filter for products equals to particular amount (optional)priceNe- Price filter for products not equals to particular amount (optional)categories- Filter by product categories (optional)modifiedSince- Filter (urlencoded) the orders modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the orders created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)- Returns:
- GetProducts
- Throws:
ApiException- if fails to make API call
-
getProducts
public GetProducts getProducts(@Nullable Long limit, @Nullable Long offset, @Nullable String sort, @Nullable List<String> ids, @Nullable String name, @Nullable BigDecimal priceLte, @Nullable BigDecimal priceGte, @Nullable BigDecimal priceLt, @Nullable BigDecimal priceGt, @Nullable BigDecimal priceEq, @Nullable BigDecimal priceNe, @Nullable List<String> categories, @Nullable String modifiedSince, @Nullable String createdSince, Map<String, String> additionalHeaders) throws ApiExceptionReturn all your products- Parameters:
limit- Number of documents per page (optional, default to 50)offset- Index of the first document in the page (optional, default to 0)sort- 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- Filter by product ids (optional)name- Filter by product name, minimum 3 characters should be present for search (optional)priceLte- Price filter for products less than and equals to particular amount (optional)priceGte- Price filter for products greater than and equals to particular amount (optional)priceLt- Price filter for products less than particular amount (optional)priceGt- Price filter for products greater than particular amount (optional)priceEq- Price filter for products equals to particular amount (optional)priceNe- Price filter for products not equals to particular amount (optional)categories- Filter by product categories (optional)modifiedSince- Filter (urlencoded) the orders modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)createdSince- Filter (urlencoded) the orders created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.** (optional)additionalHeaders- additionalHeaders for this call- Returns:
- GetProducts
- Throws:
ApiException- if fails to make API call
-
setConfigDisplayCurrency
public EcommerceConfigDisplayCurrencyGet200Response setConfigDisplayCurrency(@Nullable EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet200Response) throws ApiException Set the ISO 4217 compliant display currency code for your Brevo account- Parameters:
ecommerceConfigDisplayCurrencyGet200Response- set ISO 4217 compliant display currency code payload (optional)- Returns:
- EcommerceConfigDisplayCurrencyGet200Response
- Throws:
ApiException- if fails to make API call
-
setConfigDisplayCurrency
public EcommerceConfigDisplayCurrencyGet200Response setConfigDisplayCurrency(@Nullable EcommerceConfigDisplayCurrencyGet200Response ecommerceConfigDisplayCurrencyGet200Response, Map<String, String> additionalHeaders) throws ApiExceptionSet the ISO 4217 compliant display currency code for your Brevo account- Parameters:
ecommerceConfigDisplayCurrencyGet200Response- set ISO 4217 compliant display currency code payload (optional)additionalHeaders- additionalHeaders for this call- Returns:
- EcommerceConfigDisplayCurrencyGet200Response
- Throws:
ApiException- if fails to make API call
-
invokeAPI
public <T> T invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) throws ApiExceptionDescription copied from class:BaseApiDirectly invoke the API for the given URL. Useful if the API returns direct links/URLs for subsequent requests.- Specified by:
invokeAPIin classBaseApi- Parameters:
url- The URL for the request, either full URL or only the path.method- The HTTP method for the request.request- The request object.returnType- The return type.additionalHeaders- Additional headers for the request.- Returns:
- The API response in the specified type.
- Throws:
ApiException- if fails to make API call.
-