Hi,
I am trying to use the orderNumber instead of the orderId to search for orders.
I tried something like
$criteria->addFilter(new EqualsFilter('orderNumber', 10010));
$transactions = $this->orderRepository->search($criteria, $context);
but it does not work as expected: “Field “orderNumber” in entity “order_transaction” was not found.”
Could someone please advise?