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)