Try our conversational search powered by Generative AI!

Commerce Order Events


Hello All

I have been doing some reading on events within Episerver. I was looking at and was wondering if there is any events within Commerce that I can hook into for when a purchase order is created / modified?

I am trying to sync the purchase order to a third party system if that helps.



Apr 06, 2016 16:37


Not sure if I understand your question correctly - but you can simply listen to OrderGroupUpdated event. PurchaseOrder is an OrderGroup, so you can just convert it to a PurchaseOrder and do the processing there.



Apr 06, 2016 17:44

Just modify the code like so

private void Current_OrderGroupUpdated(object sender, OrderGroupEventArgs e)
        if (send is PurchaseOrder)
            Task.Run(()=> DoSomething(sender as PurchaseOrder, e));
Apr 08, 2016 11:11

Thanks for the help guys.

Apr 08, 2016 11:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.