• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Can we push the order to API

General Discussion
2
6
1.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Bhima last edited by Bhima 20 Mar 2020, 11:43 20 Mar 2020, 11:41

    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?

    1 Reply Last reply Reply Quote 0
    • N
      Naresh-webkul last edited by 20 Mar 2020, 12:49

      Hello @Bhima ,
      you can listen the event dispatch in OrderRepository under the path /packages/Webkul/Sales/Repositories/src/OrderRepository.php .

      1 Reply Last reply Reply Quote 0
      • B
        Bhima last edited by 22 Mar 2020, 06:23

        @Naresh-webkul
        thank for your response
        Can you explain to me a little bit about how to do that?

        1 Reply Last reply Reply Quote 0
        • N
          Naresh-webkul last edited by 22 Mar 2020, 18:03

          Hello @Bhima ,
          Can you please elaborate this so that i can explain you in a better way.
          Thank you.

          1 Reply Last reply Reply Quote 0
          • B
            Bhima last edited by 23 Mar 2020, 05:28

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • N
              Naresh-webkul last edited by 23 Mar 2020, 09:22

              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.

              1 Reply Last reply Reply Quote 0
              3 out of 6
              • First post
                3/6
                Last post