Can we push the order to API
-
Hi, I would like to ask you guys in bagisto is there any override order function where I can call the order function and push the order to API or any order trigger function?
-
Hello @Bhima ,
you can listen the event dispatch in OrderRepository under the path /packages/Webkul/Sales/Repositories/src/OrderRepository.php . -
@Naresh-webkul
thank for your response
Can you explain to me a little bit about how to do that? -
Hello @Bhima ,
Can you please elaborate this so that i can explain you in a better way.
Thank you. -
This post is deleted! -
Hello @Bhima ,
For this you can listen the following event dispatch in the order repository :
(checkout.order.save.after) from your event service provider.you should check the following link:
https://devdocs.bagisto.com/events.html
Thank you.