VTEX 3.0.21

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

// Install VTEX as a Cake Tool
#tool nuget:?package=VTEX&version=3.0.21                

VTEX SDK

🛒 ⚙️ VTEX platform .NET SDK.

GitHub license Time tracker

VTEX logo

CI/CD

Build status Last commit Tests Coverage Code Smells LoC
Build status GitHub last commit AppVeyor tests (branch) Coverage Code Smells Lines of Code

Code Quality

Codacy Badge Codacy Badge

codecov CodeFactor

Maintainability Test Coverage

Quality Gate Status Maintainability Rating

Technical Debt Duplicated Lines (%)

Reliability Rating Security Rating

Bugs Vulnerabilities


Installation

Github Releases

GitHub last release Github All Releases

Download the latest .zip file from the Releases page.

Nuget package manager

Package Version Downloads
VTEX VTEX NuGet Version VTEX NuGet Downloads
VTEX.Health VTEX Health NuGet Version VTEX Health NuGet Downloads

Features


Usage

Dependency Injection (IoC)

Register the VTEX Service using the CrispyWaffle toolkit's Service Locator:

var connectionVtex = new Connection(); // Fill in your details
ServiceLocator.Register(() => new VTEXContext(connectionVtex), LifeStyle.Singleton);
Constructor Injection
public class MyClass
{
    private readonly VTEXContext _vtexContext;

    public MyClass(VTEXContext vtexContext)
    {
        _vtexContext = vtexContext ?? throw new ArgumentNullException(nameof(vtexContext));
    }
}
Manual Resolution
var vtexContext = ServiceLocator.Resolve<VTEXContext>();

Authentication

Authenticate with VTEX platform API keys. Refer to this tutorial.

var vtex = new VTEXContext("store name", "app-key-xyz", "app-token-secret-hash");
var order = vtex.GetOrder("V-123456789-01");
Console.WriteLine($"Sequence: {order.Sequence} | Value: {order.Value}");

Support

If you need help, feel free to open an issue.


Contributing

Contributions are welcome! Check out the CONTRIBUTING.md guide for details.


Contributors

Thanks to all contributors! 💙

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/guibranco"> <img src="https://avatars.githubusercontent.com/u/3362854?v=4" width="100;" alt="guibranco"/> <br /> <sub><b>Guilherme Branco Stracini</b></sub> </a> </td> <td align="center"> <a href="https://github.com/joaovaladares"> <img src="https://avatars.githubusercontent.com/u/42593399?v=4" width="100;" alt="joaovaladares"/> <br /> <sub><b>João Vítor Valadares</b></sub> </a> </td> <td align="center"> <a href="https://github.com/viktoriussuwandi"> <img src="https://avatars.githubusercontent.com/u/68414300?v=4" width="100;" alt="viktoriussuwandi"/> <br /> <sub><b>Viktorius Suwandi</b></sub> </a> </td> </tr> <tbody> </table>

Bots

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/dependabot[bot]"> <img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100;" alt="dependabot[bot]"/> <br /> <sub><b>dependabot[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/github-actions[bot]"> <img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/> <br /> <sub><b>github-actions[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/penify-dev[bot]"> <img src="https://avatars.githubusercontent.com/in/399279?v=4" width="100;" alt="penify-dev[bot]"/> <br /> <sub><b>penify-dev[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/stack-file[bot]"> <img src="https://avatars.githubusercontent.com/in/408123?v=4" width="100;" alt="stack-file[bot]"/> <br /> <sub><b>stack-file[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/codefactor-io[bot]"> <img src="https://avatars.githubusercontent.com/in/25603?v=4" width="100;" alt="codefactor-io[bot]"/> <br /> <sub><b>codefactor-io[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/snyk-bot"> <img src="https://avatars.githubusercontent.com/u/19733683?v=4" width="100;" alt="snyk-bot"/> <br /> <sub><b>Snyk bot</b></sub> </a> </td> </tr> <tbody> </table>

Product 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 is compatible.  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 is compatible.  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. 
.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 is compatible. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.0.21 17 1/13/2025
3.0.18 21 1/13/2025
3.0.15 17 1/13/2025
3.0.9 18 1/13/2025
2.4.358 27 1/13/2025
2.4.330 72 1/6/2025
2.4.325 75 1/6/2025
2.4.316 73 1/6/2025
2.4.310 90 12/30/2024
2.4.303 83 12/30/2024
2.4.298 85 12/27/2024
2.4.278 81 12/24/2024
2.4.275 74 12/24/2024
2.4.270 78 12/23/2024
2.4.263 78 12/16/2024
2.4.260 71 12/16/2024
2.4.93 81 12/9/2024
2.4.90 79 12/9/2024
2.4.87 85 12/9/2024
2.4.80 79 12/2/2024
2.4.77 65 12/2/2024
2.4.74 68 12/2/2024
2.4.69 73 12/2/2024
2.4.60 95 11/25/2024
2.4.57 86 11/25/2024
2.4.52 86 11/25/2024
2.4.36 81 11/18/2024
2.4.29 79 11/18/2024
2.4.15 96 11/13/2024
2.4.12 84 11/13/2024
2.4.7 91 11/13/2024
2.4.4 81 11/13/2024
2.3.1685 90 11/12/2024
2.3.1682 86 11/12/2024
2.3.1679 83 11/12/2024
2.3.1672 90 11/12/2024
2.3.1651 79 11/12/2024
2.3.1648 81 11/12/2024
2.3.1641 93 11/12/2024
2.3.1616 97 11/11/2024
2.3.1613 93 11/11/2024
2.3.1478 88 11/4/2024
2.3.1471 85 11/4/2024
2.3.1203 89 10/28/2024
2.3.1200 95 10/28/2024
2.3.1197 91 10/28/2024
2.3.1146 95 10/21/2024
2.3.1143 102 10/20/2024
2.3.1140 101 10/20/2024
2.3.1133 96 10/20/2024
2.3.1129 108 10/19/2024
2.3.1125 140 10/18/2024
2.3.1122 82 10/18/2024
2.3.1117 84 10/18/2024
2.3.1113 82 10/17/2024
2.3.1109 87 10/17/2024
2.3.1098 86 10/14/2024
2.3.1095 81 10/14/2024
2.3.1090 88 10/12/2024
2.3.1087 92 10/12/2024
2.3.1082 86 10/12/2024
2.3.1075 84 10/12/2024
2.3.1060 97 10/3/2024
2.3.1057 93 10/3/2024
2.3.1054 89 10/3/2024
2.3.1051 104 10/3/2024
2.3.1041 88 9/23/2024
2.3.1038 94 9/23/2024
2.3.1029 105 9/16/2024
2.3.1026 108 9/16/2024
2.3.1021 102 9/9/2024
2.3.1018 93 9/9/2024
2.3.1013 92 9/9/2024
2.3.1006 106 9/2/2024
2.3.1003 102 8/28/2024
2.3.998 101 8/28/2024
2.3.993 106 8/27/2024
2.3.981 94 8/27/2024
2.3.976 97 8/27/2024
2.3.966 99 8/27/2024
2.3.959 106 8/26/2024
2.3.949 100 8/26/2024
2.3.937 127 8/24/2024
2.3.933 102 8/19/2024
2.3.930 121 8/12/2024
2.3.927 69 8/5/2024
2.3.924 99 7/29/2024
2.3.921 89 7/22/2024
2.3.915 87 7/17/2024
2.3.912 85 7/17/2024
2.3.902 82 7/17/2024
2.3.889 90 7/16/2024
2.3.882 95 7/16/2024
2.3.879 84 7/15/2024
2.3.870 87 7/15/2024
2.3.864 91 7/15/2024
2.3.856 72 7/15/2024
2.3.849 94 7/12/2024
2.3.845 87 7/12/2024
2.3.842 83 7/12/2024
2.3.839 99 7/12/2024
2.3.836 59 7/12/2024
2.3.827 92 7/8/2024
2.3.824 90 7/1/2024
2.3.821 107 6/24/2024
2.3.818 118 6/17/2024
2.3.815 100 6/10/2024
2.3.812 101 6/3/2024
2.3.809 102 5/27/2024
2.3.806 97 5/27/2024
2.3.801 97 5/27/2024
2.3.794 105 5/27/2024
2.3.785 109 5/20/2024
2.3.782 122 5/19/2024
2.3.774 127 5/6/2024
2.3.771 110 4/29/2024
2.3.768 111 4/29/2024
2.3.763 117 4/29/2024
2.3.756 117 4/29/2024
2.3.747 111 4/22/2024
2.3.744 111 4/22/2024
2.3.739 122 4/22/2024
2.3.732 123 4/15/2024
2.3.729 104 4/15/2024
2.3.724 110 4/15/2024
2.3.717 127 4/8/2024
2.3.714 120 4/8/2024
2.3.709 110 4/1/2024
2.3.706 118 3/27/2024
2.3.703 114 3/25/2024
2.3.700 133 3/18/2024
2.3.697 127 3/18/2024
2.3.692 118 3/18/2024
2.3.685 125 3/11/2024
2.3.682 116 3/4/2024
2.3.679 115 2/27/2024
2.3.676 119 2/27/2024
2.3.665 120 2/26/2024
2.3.660 125 2/19/2024
2.3.657 116 2/19/2024
2.3.652 113 2/19/2024
2.3.645 129 2/14/2024
2.3.642 117 2/14/2024
2.3.636 114 2/12/2024
2.3.633 111 2/5/2024
2.3.630 101 1/30/2024
2.3.627 117 1/30/2024
2.3.622 110 1/30/2024
2.3.619 105 1/30/2024
2.3.616 110 1/30/2024
2.3.599 106 1/29/2024
2.3.596 104 1/29/2024
2.3.588 119 1/22/2024
2.3.583 112 1/22/2024
2.3.578 113 1/22/2024
2.3.571 126 1/16/2024
2.3.568 117 1/16/2024
2.3.563 126 1/15/2024
2.3.556 120 1/8/2024
2.3.553 148 1/1/2024
2.3.550 140 12/25/2023
2.3.547 132 12/25/2023
2.3.542 132 12/25/2023
2.3.535 136 12/18/2023
2.3.530 106 12/18/2023
2.3.518 148 12/14/2023
2.3.511 140 12/11/2023
2.3.508 156 12/11/2023
2.3.503 139 12/11/2023
2.3.487 148 12/11/2023
2.3.476 145 12/11/2023
2.3.473 140 12/8/2023
2.3.469 146 12/4/2023
2.3.466 144 11/29/2023
2.3.461 143 11/28/2023
2.3.455 122 11/27/2023
2.3.452 112 11/27/2023
2.3.447 116 11/21/2023
2.3.444 138 11/21/2023
2.3.439 130 11/20/2023
2.3.432 143 11/20/2023
2.3.423 134 11/20/2023
2.3.412 1,127 11/14/2023
2.3.407 119 11/14/2023
2.3.399 119 11/13/2023
2.3.392 165 11/9/2023
2.3.387 139 11/6/2023
2.3.384 113 11/6/2023
2.3.379 175 10/30/2023
2.3.376 147 10/30/2023
2.3.373 152 10/30/2023
2.3.368 158 10/23/2023
2.3.365 155 10/23/2023
2.3.360 161 10/17/2023
2.3.357 150 10/16/2023
2.3.352 138 10/16/2023
2.3.345 149 10/16/2023
2.3.336 167 10/9/2023
2.3.333 156 10/2/2023
2.3.330 138 9/25/2023
2.3.327 150 9/23/2023
2.3.324 142 9/19/2023
2.3.320 134 9/18/2023
2.3.313 177 9/12/2023
2.3.310 162 9/12/2023
2.3.305 232 9/4/2023
2.3.302 251 8/28/2023
2.3.299 204 8/24/2023
2.3.296 297 8/14/2023
2.3.293 179 8/14/2023
2.3.288 239 8/8/2023
2.3.282 204 8/1/2023
2.3.277 177 7/31/2023
2.3.274 153 7/26/2023
2.3.272 179 7/25/2023
2.3.268 188 7/25/2023
2.3.264 315 7/24/2023
2.3.260 188 7/17/2023
2.3.257 165 7/17/2023
2.3.246 254 7/11/2023
2.3.243 177 7/11/2023
2.3.238 184 7/10/2023
2.3.231 272 7/3/2023
2.3.228 189 7/3/2023
2.3.223 178 7/1/2023
2.3.218 257 6/26/2023
2.3.215 254 6/19/2023
2.3.210 177 6/19/2023
2.3.195 205 6/19/2023
2.3.190 320 6/15/2023
2.3.187 186 6/15/2023
2.3.182 258 6/5/2023
2.3.179 176 6/5/2023
2.3.174 304 5/29/2023
2.3.171 211 5/22/2023
2.3.168 192 5/22/2023
2.3.163 207 5/15/2023
2.3.160 246 5/8/2023
2.3.157 186 5/8/2023
2.3.154 375 5/4/2023
2.3.151 206 5/3/2023
2.3.144 411 4/10/2023
2.3.141 247 4/8/2023
2.3.131 231 4/4/2023
2.3.126 316 4/3/2023
2.3.123 244 4/3/2023
2.3.117 241 4/3/2023
2.3.114 332 3/27/2023
2.3.111 249 3/26/2023
2.3.108 304 3/21/2023
2.3.105 252 3/21/2023
2.3.100 373 3/6/2023
2.3.97 293 3/4/2023
2.3.94 268 3/3/2023
2.3.60 281 2/28/2023
2.3.57 310 1/30/2023
2.3.54 535 1/23/2023
2.3.51 313 1/23/2023
2.3.48 331 1/23/2023
2.3.45 308 1/17/2023
2.3.44 525 1/16/2023
2.3.41 355 1/15/2023
2.3.38 338 1/15/2023
2.3.33 334 1/15/2023
2.3.25 308 1/15/2023
2.3.6 335 1/15/2023
2.3.4 336 1/15/2023
2.2.127 337 1/15/2023
2.2.120 340 1/15/2023
2.2.110 334 1/15/2023
2.2.107 337 1/15/2023
2.2.102 339 1/15/2023
2.2.95 333 1/15/2023
2.2.84 331 1/15/2023
2.2.73 347 1/15/2023
2.2.72 340 1/10/2023
2.2.66 345 12/14/2022
2.2.60 458 9/7/2022
2.2.55 448 9/7/2022
2.2.50 433 9/7/2022
2.2.45 433 9/7/2022
2.2.36 453 11/3/2021
2.2.28 426 9/27/2021
2.2.15 5,498 9/21/2020
2.1.47 537 4/24/2020
2.1.39 513 4/18/2020
2.1.31 537 4/18/2020
2.1.28 521 4/18/2020
2.1.27 533 4/7/2020
2.1.21 528 3/30/2020
2.1.15 651 3/29/2020
2.1.12 589 3/29/2020
1.0.14 658 12/30/2019
1.0.13 639 12/30/2019
1.0.8 599 9/22/2019

Chore