Enferno.StormApiClient 2.5.4

.NET Framework 4.5
dotnet add package Enferno.StormApiClient --version 2.5.4
NuGet\Install-Package Enferno.StormApiClient -Version 2.5.4
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="Enferno.StormApiClient" Version="2.5.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Enferno.StormApiClient --version 2.5.4
#r "nuget: Enferno.StormApiClient, 2.5.4"
#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.
// Install Enferno.StormApiClient as a Cake Addin
#addin nuget:?package=Enferno.StormApiClient&version=2.5.4

// Install Enferno.StormApiClient as a Cake Tool
#tool nuget:?package=Enferno.StormApiClient&version=2.5.4

Enferno Storm Commerce API Client library.

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Enferno.StormApiClient:

Package Downloads
Enferno.Public.Web

Enferno Web helpers.

Enferno.Public.Web.SalesTool

Enferno UI component for sales staff to impersonate customers and place orders and quotations.

Enferno.Public.Web.Components

Enferno component library that helps the developer implement common views and scenarios such as shopping basket, product and checkout in a easy way.

Enferno.Public.Web.Product

Enferno Product component.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.4 543 5/18/2022
2.5.3 1,549 3/15/2022
2.5.3-beta 98 3/15/2022
2.5.2 553 3/3/2022
2.5.2-beta2 98 3/2/2022
2.5.2-beta 92 2/28/2022
2.5.1 721 1/20/2022
2.5.1-beta2 105 1/17/2022
2.5.1-beta 109 1/5/2022
2.5.0 227 12/27/2021
2.5.0-beta2 119 11/30/2021
2.5.0-beta 118 11/29/2021
2.4.1-beta2 168 10/5/2021
2.4.1-beta 179 10/4/2021
2.4.0 392 6/9/2021
2.3.9 985 10/19/2020
2.3.8 696 9/2/2020
2.3.7 479 8/21/2020
2.3.6 586 7/6/2020
2.3.6-beta 289 7/2/2020
2.3.5 760 4/14/2020
2.3.5-beta 367 4/2/2020
2.3.4 516 2/25/2020
2.3.4-beta 349 2/18/2020
2.3.3 1,340 11/21/2019
2.3.2 724 10/17/2019
2.3.1 569 10/3/2019
2.3.1-beta 386 9/30/2019
2.3.0 562 9/12/2019
2.1.4 622 7/31/2019
2.1.3 575 7/30/2019
2.1.2 829 5/21/2019
2.1.2-Beta 440 5/20/2019
2.1.1 592 4/4/2019
2.1.1-beta 423 4/2/2019
2.1.0 1,857 3/4/2019
2.0.7 594 2/25/2019
2.0.6 811 1/17/2019
2.0.6-beta 545 1/2/2019
2.0.5 1,536 1/2/2019
2.0.5-beta 547 10/18/2018
2.0.4.1 881 10/17/2018
2.0.4-beta 553 10/8/2018
2.0.3 841 9/12/2018
2.0.2 814 8/30/2018
2.0.2-beta 642 8/20/2018
2.0.1 995 6/28/2018
2.0.1-beta 801 6/26/2018
2.0.0 5,905 5/30/2018
2.0.0-beta 1,051 5/28/2018
1.8.23 599 5/21/2019
1.8.23-Beta 423 5/20/2019
1.8.22 581 4/4/2019
1.8.22-beta 451 4/2/2019
1.8.21 589 2/25/2019
1.8.20 816 1/17/2019
1.8.20-beta 531 1/2/2019
1.8.19 724 1/2/2019
1.8.19-beta 573 10/18/2018
1.8.18.1 765 10/17/2018
1.8.18-beta 578 10/8/2018
1.8.17 749 9/12/2018
1.8.16 774 8/30/2018
1.8.16-beta 632 8/20/2018
1.8.15 893 6/28/2018
1.8.15-beta 816 6/26/2018
1.8.14 986 5/30/2018
1.8.14-beta2 812 5/22/2018
1.8.14-beta 756 5/21/2018
1.8.12 2,811 4/18/2018
1.8.12-beta2 763 4/17/2018
1.8.12-beta 704 4/3/2018
1.8.11 1,577 2/6/2018
1.8.11-Beta2 782 2/1/2018
1.8.11-Beta 688 1/25/2018
1.8.10 927 1/23/2018
1.8.10-beta2 784 1/22/2018
1.8.10-beta 724 12/18/2017
1.8.9 917 11/27/2017
1.8.9-beta 707 11/17/2017
1.8.8 879 11/7/2017
1.8.8-beta 718 10/20/2017
1.8.7 1,581 10/19/2017
1.8.7-beta 725 10/2/2017
1.8.6 1,496 8/10/2017
1.8.6-beta2 748 6/16/2017
1.8.6-beta 763 6/12/2017
1.8.5.1 997 5/15/2017
1.8.5 922 4/26/2017
1.8.5-beta 1,216 4/20/2017
1.8.4 1,214 3/14/2017
1.8.4-beta 772 2/28/2017
1.8.3 1,154 2/23/2017
1.8.3-beta 802 2/14/2017
1.8.2 1,271 1/12/2017
1.8.2-beta4 797 12/19/2016
1.8.2-beta3 815 12/5/2016
1.8.2-beta2 811 11/24/2016
1.8.2-beta 810 11/22/2016
1.8.1 982 11/21/2016
1.8.1-beta 965 11/2/2016
1.8.0 5,654 10/10/2016
1.8.0-beta 1,431 10/5/2016
1.7.8 971 9/29/2016
1.7.8-beta3 1,116 9/19/2016
1.7.8-beta2 771 9/16/2016
1.7.8-beta 770 9/13/2016
1.7.7 1,013 8/16/2016
1.7.7-beta2 834 7/20/2016
1.7.7-beta 810 7/1/2016
1.7.6 1,081 6/30/2016
1.7.6-beta2 804 6/28/2016
1.7.6-beta 844 6/20/2016
1.7.5 1,095 6/15/2016
1.7.5-beta 826 6/1/2016
1.7.4 1,059 5/18/2016
1.7.4-beta5 802 5/13/2016
1.7.4-beta4 802 5/12/2016
1.7.4-beta3 802 5/12/2016
1.7.4-beta 856 4/28/2016
1.7.3 1,264 4/28/2016
1.7.3-beta2 1,074 4/22/2016
1.7.3-beta 894 4/19/2016
1.7.2 971 4/12/2016
1.7.2-beta 810 3/21/2016
1.7.1.1 1,166 2/2/2016
1.7.1 1,221 1/7/2016
1.7.1-beta 849 12/18/2015
1.7.0 1,440 12/3/2015
1.7.0-Beta2 924 11/20/2015
1.7.0-Beta 919 11/19/2015
1.6.16.5 1,730 12/3/2015
1.6.16.4 1,301 12/3/2015
1.6.16.3 1,107 12/3/2015
1.6.16.2 1,243 12/3/2015
1.6.16.1 1,170 12/2/2015
1.6.16 1,090 11/16/2015
1.6.16-RC 825 11/11/2015
1.6.16-beta4 845 11/10/2015
1.6.16-beta3 880 11/9/2015
1.6.16-beta2 852 10/27/2015
1.6.16-beta 847 10/26/2015
1.6.15 1,824 10/29/2015
1.6.15-RC 839 10/27/2015
1.6.15-beta5 931 10/26/2015
1.6.15-beta4 848 10/22/2015
1.6.15-beta3 906 10/16/2015
1.6.15-beta2 831 10/16/2015
1.6.15-beta 842 10/9/2015
1.6.14.1 997 10/27/2015
1.6.14 1,185 9/30/2015
1.6.13 1,663 9/15/2015
1.6.13-beta3 889 9/7/2015
1.6.13-beta2 856 9/4/2015
1.6.13-beta 858 9/1/2015
1.6.12 1,044 8/27/2015
1.6.12-beta1 845 8/20/2015
1.6.12-beta 872 8/14/2015
1.6.11 1,233 7/16/2015
1.6.11-beta 974 7/15/2015
1.6.10 1,059 6/17/2015
1.6.10-beta9 842 6/12/2015
1.6.10-beta8 826 6/12/2015
1.6.10-beta7 847 6/12/2015
1.6.10-beta6 849 6/9/2015
1.6.10-beta5 853 5/29/2015
1.6.10-beta4 859 5/20/2015
1.6.10-beta3 834 5/12/2015
1.6.10-beta2 893 5/12/2015
1.6.10-beta 831 5/12/2015
1.6.9.2 1,199 6/12/2015
1.6.9.1 2,656 6/4/2015
1.6.9 1,249 4/27/2015
1.6.9-beta5 957 4/24/2015
1.6.9-beta4 953 4/20/2015
1.6.9-beta3 940 4/20/2015
1.6.9-beta2 973 4/20/2015
1.6.9-beta 951 4/20/2015
1.6.8.1 1,127 4/20/2015
1.6.8 1,811 3/30/2015
1.6.8-beta3 884 3/27/2015
1.6.8-beta2 932 3/27/2015
1.6.8-beta 990 3/27/2015
1.6.7 1,095 3/26/2015
1.6.7-beta2 899 3/25/2015
1.6.7-beta 914 3/24/2015
1.6.6 1,156 1/28/2015
1.6.6-beta 869 1/23/2015
1.6.5.5 1,062 1/19/2015
1.6.5.4 1,066 1/15/2015
1.6.5.3 1,030 1/15/2015
1.6.5.2 1,030 1/13/2015
1.6.5 1,216 1/9/2015
1.6.5-beta7 1,227 12/19/2014
1.6.5-Beta6 1,633 12/17/2014
1.6.5-beta5 1,094 12/12/2014
1.6.5-Beta4 1,161 12/9/2014
1.6.5-beta3 1,097 12/9/2014
1.6.5-Beta2 1,038 12/5/2014
1.6.5-Beta 959 12/4/2014
1.6.4 1,319 12/1/2014
1.6.4-beta 1,125 11/21/2014
1.6.3.2 1,160 11/28/2014
1.6.3 1,486 11/17/2014
1.6.2 2,964 11/3/2014
1.6.2-beta 882 10/29/2014
1.6.1 1,121 10/30/2014
1.6.1-beta 901 10/27/2014
1.6.0 1,125 10/27/2014
1.6.0-beta2 858 10/22/2014
1.6.0-beta 892 10/20/2014
1.6.0-alpha 873 10/14/2014
1.5.10-beta 908 10/10/2014
1.5.9 1,177 10/7/2014
1.5.9-beta4 858 10/2/2014
1.5.9-beta3 892 10/2/2014
1.5.9-beta2 884 10/2/2014
1.5.9-beta 935 10/2/2014
1.5.8 1,090 10/1/2014
1.5.8-beta 897 9/29/2014
1.5.7 1,121 9/23/2014
1.5.7-beta 875 9/12/2014
1.5.6 1,118 9/9/2014
1.5.6-beta 872 9/5/2014
1.5.5.2 1,176 6/26/2014
1.5.5.1 1,143 6/26/2014
1.5.5 4,558 6/25/2014
1.5.5-alpha3 1,702 6/18/2014
1.5.5-alpha2 885 6/18/2014
1.5.5-alpha1 928 6/18/2014
1.5.5-alpha 946 6/10/2014
1.5.4 5,292 6/9/2014
1.5.4-alpha2 902 6/9/2014
1.5.4-alpha1 895 6/9/2014
1.5.3.7 1,064 5/21/2014
1.5.3.6 3,578 5/20/2014
1.5.3.5 1,051 5/19/2014
1.5.3.4 1,044 5/19/2014
1.5.3.3 1,062 5/15/2014
1.5.3.2 1,043 5/14/2014
1.5.3.1 1,043 5/14/2014
1.5.3 1,046 5/14/2014
1.5.2 1,063 5/2/2014
1.5.1 1,193 4/23/2014
1.5.1-beta 1,122 4/17/2014
1.5.1-alpha 1,098 4/17/2014
1.5.0.27 1,237 4/10/2014
1.5.0.26 1,263 4/10/2014

Please see release notes for 2.0.0 for details if you are upgrading from <= v1.8.x.
Note that the 1.8.x branch will no longer be updated.

Also note the breaking change in Enferno.Public 2.3.0.

Make sure to use our new addresses:
Stage/Lab: https://api.lab.storm.io/api/1.1
Production: https://api.storm.io/api/1.1

Breaking changes in 2.5.0


## What's new?

Fixes in 2.5.4

Updated to latest Model

* Added new Endpoints
- CloseBasketForPostPurchaseUpsell
- InsertItemsPostPurchase
- IsPostPurchasePossbile
- ListFlagGroups
- ListParametricGroups
- InsertCompanyPaymentMethod2
- GetCompanyPaymentMethod

* Added new Entities
- CompanyPaymentMethod
- FlagGroupList
- ParametricGroupList


* Added field to Entity
- CommodityCode in Product
- RelationsMetadata in ProductRelations
- RelationsMetadata in VariantRelations
- IsGlobal in CategoryParametric
- IsGlobal in ParametricInfo


Using Oauth2 instead of certificates.

What's new?

To use OAUTH2 you need 4 settings.

* Client Id
* Client Secret
* Scope
* Application Id.

- Client Id and Secret is created in Storm Admin. At https://admin.storm.io/admin/settings/user under the OAUTH tab.

- Scope tells us if you are trying to access lab/qa/production data. (This will not point the request to a specific environment, it will only say that you gives the client access to the specified environment.)
Existing scopes: lab / qa / production

- Application Id is the application that you want to use.


To read these settings we use the Interface IOAuth2CredentialsProvider registed with DI.
You can create your own if you want, or you can use our OAuth2AppSettingsCredentialsProvider.


Our OAuth2AppSettingsCredentialsProvider will read the settings from the appsettings in web.config.

The AccessClient will for each request check IOAuth2CredentialsProvider.ApplicationId to see what application it should use.
You can override this by using the applicationId parameter when creating an AccessClient.
So with help of these(parameter in AccessClient,your own IOAuth2CredentialsProvider) you can use multiple applications.

*** If you are using Enferno.Web.StormUtils with multiple applications you must create your own IOAuth2CredentialsProvider. ***





** Checklist of changes that may have to be updated after an upgrade.

- Register IOAuth2CredentialsProvider to DI
Ex: in web.config
<register type="IOAuth2CredentialsProvider" mapTo="OAuth2AppSettingsCredentialsProvider">
<lifetime type="singleton" />
</register>

Ex: via code:
IoC.RegisterType<IOAuth2CredentialsProvider, OAuth2AppSettingsCredentialsProvider="">
();


- If you are using OAuth2AppSettingsCredentialsProvider add these appsettings to your web.config

appSettings:

API.OAuth2.ClientId     : clientId guid.
API.OAuth2.ClientSecret : clientsecret guid.
API.OAuth2.Scope        : lab/qa/production
API.ApplicationId       : applicationId you want to use


- Update Endpoints in web.config

attributes under client.endpoint:
remove: behaviorConfiguration
change: bindingConfiguration from SOAP -> Auth2-SOAP

add a new binding under bindings.wsHttpBinding with name "Auth2-SOAP".

<binding name="Auth2-SOAP" maxReceivedMessageSize="10000000" >
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="None"  />
</security>
</binding>



Remove SOAP under bindings.wsHttpBinding.

Remove endpointBehaviors: CertificateBehavior.

- If you are using Enferno.Web.StormUtils with multiple applications you must create your own IOAuth2CredentialsProvider.


     Regards,
     The Storm API Team