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.

EntityController

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

EntityController

public class EntityController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

EntityController

public EntityController(UmbracoControllerContext vendrContext, IStoreService storeService, 
    IOrderStatusService orderStatusService, IShippingMethodService shippingMethodService, 
    IPaymentMethodService paymentMethodService, ICountryService countryService, 
    ICurrencyService currencyService, ITaxService taxService, 
    IEmailTemplateService emailTemplateService, IDiscountService discountService, 
    IGiftCardService giftCardService, IOrderService orderService)

Methods

DeleteEntity

public HttpResponseMessage DeleteEntity(string entityType, Guid entityId, 
    Guid? storeId = default(Guid?), Guid? parentId = default(Guid?))

GetEntities

public IEnumerable<object> GetEntities(string entityType, Guid? storeId = default(Guid?), 
    Guid? parentId = default(Guid?))

GetEntity

public object GetEntity(string entityType, Guid entityId)

GetStoreByEntityId

public StoreBasicDto GetStoreByEntityId(string entityType, Guid entityId)

SortEntities

public HttpResponseMessage SortEntities(SortEntitiesPostDto model)

Edit this page on GitHub

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