0

I need to get Order detail using OrderConfirmationId in sitecore commerce storefront side(not in commerce engine). I could only find methods in OrderServiceProvider which requires OrderId to get Order. Is there any api or method from where we can get order by OrderConfirmationId/TrackingNumber. Thanks in advance.

1 Answer 1

2

You can use the normal GetVisitorOrder method from the OrderServiceProvider and pass the OrderConfirmationId into the OrderID. The engine API accepets both the orderid and orderconfirmationid as the key.

1
  • Thanks. It works with OrderConfirmationId also. Commented Oct 26, 2018 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.