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.

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.

  • Thanks. It works with OrderConfirmationId also. – akash Oct 26 '18 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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