VTEX 3.0.166

There is a newer version of this package available.
See the version list below for details.
dotnet add package VTEX --version 3.0.166
                    
NuGet\Install-Package VTEX -Version 3.0.166
                    
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.166" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VTEX" Version="3.0.166" />
                    
Directory.Packages.props
<PackageReference Include="VTEX" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VTEX --version 3.0.166
                    
#r "nuget: VTEX, 3.0.166"
                    
#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.
#addin nuget:?package=VTEX&version=3.0.166
                    
Install VTEX as a Cake Addin
#tool nuget:?package=VTEX&version=3.0.166
                    
Install VTEX as a Cake Tool

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.262 50 5/26/2025
3.0.259 48 5/26/2025
3.0.256 129 5/19/2025
3.0.253 128 5/19/2025
3.0.250 130 5/19/2025
3.0.243 179 5/12/2025
3.0.240 138 5/8/2025
3.0.231 136 5/5/2025
3.0.226 148 4/28/2025
3.0.219 157 4/22/2025
3.0.212 160 4/21/2025
3.0.209 189 4/14/2025
3.0.206 168 4/14/2025
3.0.201 167 4/14/2025
3.0.194 156 4/7/2025
3.0.191 157 4/7/2025
3.0.186 151 3/31/2025
3.0.183 342 3/24/2025
3.0.180 332 3/24/2025
3.0.175 333 3/24/2025
3.0.172 144 3/17/2025
3.0.169 141 3/17/2025
3.0.166 146 3/17/2025
3.0.163 144 3/17/2025
3.0.154 146 3/17/2025
3.0.145 172 3/10/2025
3.0.142 165 3/10/2025
3.0.139 118 3/3/2025
3.0.136 111 3/3/2025
3.0.131 84 2/24/2025
3.0.128 93 2/24/2025
3.0.123 92 2/24/2025
3.0.118 109 2/17/2025
3.0.115 106 2/17/2025
3.0.110 109 2/17/2025
3.0.103 105 2/17/2025
3.0.94 106 2/17/2025
3.0.91 106 2/10/2025
3.0.88 101 2/10/2025
3.0.85 108 2/10/2025
3.0.78 104 2/3/2025
3.0.75 107 2/3/2025
3.0.72 107 2/3/2025
3.0.65 106 1/27/2025
3.0.62 106 1/27/2025
3.0.57 102 1/27/2025
3.0.52 115 1/20/2025
3.0.49 98 1/20/2025
3.0.46 91 1/20/2025
3.0.41 105 1/20/2025
3.0.32 90 1/20/2025
3.0.21 88 1/13/2025
3.0.18 89 1/13/2025
3.0.15 80 1/13/2025
3.0.9 80 1/13/2025
2.4.358 86 1/13/2025
2.4.330 102 1/6/2025
2.4.325 105 1/6/2025
2.4.316 104 1/6/2025
2.4.310 111 12/30/2024
2.4.303 104 12/30/2024
2.4.298 106 12/27/2024
2.4.278 103 12/24/2024
2.4.275 95 12/24/2024
2.4.270 103 12/23/2024
2.4.263 112 12/16/2024
2.4.260 99 12/16/2024
2.4.93 103 12/9/2024
2.4.90 100 12/9/2024
2.4.87 107 12/9/2024
2.4.80 98 12/2/2024
2.4.77 84 12/2/2024
2.4.74 93 12/2/2024
2.4.69 92 12/2/2024
2.4.60 113 11/25/2024
2.4.57 107 11/25/2024
2.4.52 107 11/25/2024
2.4.36 103 11/18/2024
2.4.29 97 11/18/2024
2.4.15 117 11/13/2024
2.4.12 103 11/13/2024
2.4.7 109 11/13/2024
2.4.4 101 11/13/2024
2.3.1685 106 11/12/2024
2.3.1682 106 11/12/2024
2.3.1679 99 11/12/2024
2.3.1672 107 11/12/2024
2.3.1651 97 11/12/2024
2.3.1648 98 11/12/2024
2.3.1641 111 11/12/2024
2.3.1616 116 11/11/2024
2.3.1613 111 11/11/2024
2.3.1478 103 11/4/2024
2.3.1471 102 11/4/2024
2.3.1203 105 10/28/2024
2.3.1200 114 10/28/2024
2.3.1197 108 10/28/2024
2.3.1146 117 10/21/2024
2.3.1143 114 10/20/2024
2.3.1140 119 10/20/2024
2.3.1133 110 10/20/2024
2.3.1129 122 10/19/2024
2.3.1125 154 10/18/2024
2.3.1122 96 10/18/2024
2.3.1117 101 10/18/2024
2.3.1113 95 10/17/2024
2.3.1109 103 10/17/2024
2.3.1098 101 10/14/2024
2.3.1095 97 10/14/2024
2.3.1090 104 10/12/2024
2.3.1087 106 10/12/2024
2.3.1082 102 10/12/2024
2.3.1075 100 10/12/2024
2.3.1060 111 10/3/2024
2.3.1057 108 10/3/2024
2.3.1054 102 10/3/2024
2.3.1051 117 10/3/2024
2.3.1041 108 9/23/2024
2.3.1038 109 9/23/2024
2.3.1029 118 9/16/2024
2.3.1026 123 9/16/2024
2.3.1021 112 9/9/2024
2.3.1018 106 9/9/2024
2.3.1013 104 9/9/2024
2.3.1006 117 9/2/2024
2.3.1003 113 8/28/2024
2.3.998 113 8/28/2024
2.3.993 117 8/27/2024
2.3.981 108 8/27/2024
2.3.976 108 8/27/2024
2.3.966 112 8/27/2024
2.3.959 119 8/26/2024
2.3.949 113 8/26/2024
2.3.937 140 8/24/2024
2.3.933 116 8/19/2024
2.3.930 133 8/12/2024
2.3.927 81 8/5/2024
2.3.924 110 7/29/2024
2.3.921 106 7/22/2024
2.3.915 106 7/17/2024
2.3.912 99 7/17/2024
2.3.902 94 7/17/2024
2.3.889 104 7/16/2024
2.3.882 109 7/16/2024
2.3.879 101 7/15/2024
2.3.870 101 7/15/2024
2.3.864 105 7/15/2024
2.3.856 86 7/15/2024
2.3.849 105 7/12/2024
2.3.845 105 7/12/2024
2.3.842 96 7/12/2024
2.3.839 111 7/12/2024
2.3.836 71 7/12/2024
2.3.827 106 7/8/2024
2.3.824 107 7/1/2024
2.3.821 122 6/24/2024
2.3.818 130 6/17/2024
2.3.815 112 6/10/2024
2.3.812 113 6/3/2024
2.3.809 112 5/27/2024
2.3.806 107 5/27/2024
2.3.801 110 5/27/2024
2.3.794 116 5/27/2024
2.3.785 121 5/20/2024
2.3.782 133 5/19/2024
2.3.774 139 5/6/2024
2.3.771 122 4/29/2024
2.3.768 122 4/29/2024
2.3.763 131 4/29/2024
2.3.756 128 4/29/2024
2.3.747 125 4/22/2024
2.3.744 121 4/22/2024
2.3.739 132 4/22/2024
2.3.732 134 4/15/2024
2.3.729 117 4/15/2024
2.3.724 123 4/15/2024
2.3.717 141 4/8/2024
2.3.714 134 4/8/2024
2.3.709 121 4/1/2024
2.3.706 130 3/27/2024
2.3.703 127 3/25/2024
2.3.700 146 3/18/2024
2.3.697 139 3/18/2024
2.3.692 133 3/18/2024
2.3.685 138 3/11/2024
2.3.682 131 3/4/2024
2.3.679 128 2/27/2024
2.3.676 131 2/27/2024
2.3.665 134 2/26/2024
2.3.660 141 2/19/2024
2.3.657 132 2/19/2024
2.3.652 129 2/19/2024
2.3.645 141 2/14/2024
2.3.642 128 2/14/2024
2.3.636 124 2/12/2024
2.3.633 124 2/5/2024
2.3.630 111 1/30/2024
2.3.627 127 1/30/2024
2.3.622 122 1/30/2024
2.3.619 117 1/30/2024
2.3.616 123 1/30/2024
2.3.599 117 1/29/2024
2.3.596 114 1/29/2024
2.3.588 131 1/22/2024
2.3.583 124 1/22/2024
2.3.578 128 1/22/2024
2.3.571 139 1/16/2024
2.3.568 129 1/16/2024
2.3.563 138 1/15/2024
2.3.556 133 1/8/2024
2.3.553 161 1/1/2024
2.3.550 153 12/25/2023
2.3.547 146 12/25/2023
2.3.542 145 12/25/2023
2.3.535 149 12/18/2023
2.3.530 118 12/18/2023
2.3.518 162 12/14/2023
2.3.511 154 12/11/2023
2.3.508 168 12/11/2023
2.3.503 152 12/11/2023
2.3.487 160 12/11/2023
2.3.476 157 12/11/2023
2.3.473 151 12/8/2023
2.3.469 150 12/4/2023
2.3.466 148 11/29/2023
2.3.461 148 11/28/2023
2.3.455 129 11/27/2023
2.3.452 119 11/27/2023
2.3.447 120 11/21/2023
2.3.444 144 11/21/2023
2.3.439 135 11/20/2023
2.3.432 147 11/20/2023
2.3.423 139 11/20/2023
2.3.412 1,395 11/14/2023
2.3.407 123 11/14/2023
2.3.399 121 11/13/2023
2.3.392 168 11/9/2023
2.3.387 142 11/6/2023
2.3.384 116 11/6/2023
2.3.379 180 10/30/2023
2.3.376 151 10/30/2023
2.3.373 154 10/30/2023
2.3.368 163 10/23/2023
2.3.365 161 10/23/2023
2.3.360 165 10/17/2023
2.3.357 152 10/16/2023
2.3.352 149 10/16/2023
2.3.345 151 10/16/2023
2.3.336 170 10/9/2023
2.3.333 160 10/2/2023
2.3.330 143 9/25/2023
2.3.327 155 9/23/2023
2.3.324 147 9/19/2023
2.3.320 139 9/18/2023
2.3.313 182 9/12/2023
2.3.310 166 9/12/2023
2.3.305 238 9/4/2023
2.3.302 256 8/28/2023
2.3.299 209 8/24/2023
2.3.296 305 8/14/2023
2.3.293 189 8/14/2023
2.3.288 248 8/8/2023
2.3.282 212 8/1/2023
2.3.277 184 7/31/2023
2.3.274 160 7/26/2023
2.3.272 187 7/25/2023
2.3.268 197 7/25/2023
2.3.264 321 7/24/2023
2.3.260 196 7/17/2023
2.3.257 176 7/17/2023
2.3.246 262 7/11/2023
2.3.243 188 7/11/2023
2.3.238 191 7/10/2023
2.3.231 282 7/3/2023
2.3.228 196 7/3/2023
2.3.223 187 7/1/2023
2.3.218 265 6/26/2023
2.3.215 263 6/19/2023
2.3.210 185 6/19/2023
2.3.195 213 6/19/2023
2.3.190 336 6/15/2023
2.3.187 201 6/15/2023
2.3.182 274 6/5/2023
2.3.179 192 6/5/2023
2.3.174 319 5/29/2023
2.3.171 224 5/22/2023
2.3.168 209 5/22/2023
2.3.163 221 5/15/2023
2.3.160 268 5/8/2023
2.3.157 203 5/8/2023
2.3.154 390 5/4/2023
2.3.151 222 5/3/2023
2.3.144 426 4/10/2023
2.3.141 262 4/8/2023
2.3.131 246 4/4/2023
2.3.126 331 4/3/2023
2.3.123 259 4/3/2023
2.3.117 255 4/3/2023
2.3.114 348 3/27/2023
2.3.111 265 3/26/2023
2.3.108 320 3/21/2023
2.3.105 269 3/21/2023
2.3.100 389 3/6/2023
2.3.97 308 3/4/2023
2.3.94 283 3/3/2023
2.3.60 296 2/28/2023
2.3.57 327 1/30/2023
2.3.54 552 1/23/2023
2.3.51 330 1/23/2023
2.3.48 349 1/23/2023
2.3.45 326 1/17/2023
2.3.44 542 1/16/2023
2.3.41 373 1/15/2023
2.3.38 355 1/15/2023
2.3.33 354 1/15/2023
2.3.25 326 1/15/2023
2.3.6 353 1/15/2023
2.3.4 353 1/15/2023
2.2.127 354 1/15/2023
2.2.120 358 1/15/2023
2.2.110 353 1/15/2023
2.2.107 356 1/15/2023
2.2.102 356 1/15/2023
2.2.95 350 1/15/2023
2.2.84 348 1/15/2023
2.2.73 365 1/15/2023
2.2.72 358 1/10/2023
2.2.66 362 12/14/2022
2.2.60 477 9/7/2022
2.2.55 467 9/7/2022
2.2.50 452 9/7/2022
2.2.45 458 9/7/2022
2.2.36 486 11/3/2021
2.2.28 460 9/27/2021
2.2.15 6,265 9/21/2020
2.1.47 579 4/24/2020
2.1.39 554 4/18/2020
2.1.31 579 4/18/2020
2.1.28 562 4/18/2020
2.1.27 574 4/7/2020
2.1.21 570 3/30/2020
2.1.15 694 3/29/2020
2.1.12 632 3/29/2020
1.0.14 705 12/30/2019
1.0.13 680 12/30/2019
1.0.8 642 9/22/2019

Chore