Get order by Litium order Id in Litium 8

Hi
Is there a way to get an order by its litium order id (LS…) in Litium 8.7.2?

Litium version: [8.7.2]

you can use the orderservice

var order = _orderService.Get<SalesOrder>("LS1234567");
2 Likes

I created a query because I wanted to get a result even if the I do not have the complete litium order id

  var query = _dataService.CreateQuery<Litium.Sales.Order>()
                      .Filter(f => f.Id("contains", "LS123"));

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.