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, 
    IEntityService entityService)

Methods

DeleteEntity

public HttpResponseMessage DeleteEntity(string entityType, Guid entityId)

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 © 2021 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.