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.

OrderController

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

OrderController

public class OrderController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

OrderController

public OrderController(UmbracoControllerContext vendrContext, IStoreService storeService, 
    IOrderService orderService, IOrderStatusService orderStatusService, 
    IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, 
    IShippingMethodService shippingMethodService, ICountryService countryService, 
    ITranslationService translationService, 
    IRegisteredCustomerInfoService registeredCustomerInfoService, IUnitOfWorkProvider uowProvider)

Methods

CancelPayment

public OrderBasicDto CancelPayment(Guid orderId)

CapturePayment

public OrderBasicDto CapturePayment(Guid orderId)

ChangeOrderStatus

public OrderBasicDto ChangeOrderStatus(Guid orderId, Guid orderStatusId)

DeleteOrder

public HttpResponseMessage DeleteOrder(Guid orderId)

GetOrder

public OrderEditDto GetOrder(Guid orderId)

GetOrderEmailConfig

public object GetOrderEmailConfig(Guid orderId)

GetOrderHistoryByOrder

public IEnumerable<OrderBasicDto> GetOrderHistoryByOrder(Guid orderId)

GetOrderRegisteredCustomerInfo

public RegisteredCustomerInfoDto GetOrderRegisteredCustomerInfo(Guid orderId)

GetOrderTransactionInfo

public IEnumerable<PropertyDto> GetOrderTransactionInfo(Guid orderId)

RefundPayment

public OrderBasicDto RefundPayment(Guid orderId)

SaveOrder

public OrderEditDto SaveOrder(OrderSaveDto order)

SearchOrders

public PagedResult<OrderBasicDto> SearchOrders(OrderSearchDto model)

SyncPaymentStatus

public OrderBasicDto SyncPaymentStatus(Guid orderId)

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.