Skip to content

IOrderService

// RB2 Core Connect
namespace CoreConnect.Commerce.Orders;
public interface IOrderService
{
Task<Order> GetOrder(GetOrderRequest request, bool? alwaysReturn = false, CancellationToken cancellationToken = default);
Task<Order> GetOrderByNumber(GetOrderByNumberRequest request, CancellationToken cancellationToken = default);
Task<Order> UpdateShipOrderStateAndShipTrackByOrderNumber(UpdateOrderRequest request, CancellationToken cancellationToken = default);
Task<GetMyOrdersResponse> GetMyOrders(GetMyOrdersRequest request, CancellationToken cancellationToken = default);
Task<Order> GetMyOrder(GetMyOrderRequest request, CancellationToken cancellationToken = default);
Task<Order> UpdateOrderCustomFields(UpdateOrderCustomFieldsRequest request, CancellationToken cancellationToken = default);
}