Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

VendrApi

API reference for VendrApi in Vendr, the eCommerce solution for Umbraco v8+

VendrApi

Convenient singleton access to the Vendr API

public static class VendrApi

Namespace

Properties

Instance

Get the IVendrApi entry point

public static IVendrApi Instance { get; }

Remarks

This helper is providing singleton access to the Vendr API which generally isn't considered "best practice". You should instead look to resolve the IVendrApi via dependency injection where possible, and only resort to this singleton where you have no other option.

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.