API sending sub orders

MultivendorX Pro

Tagged: 

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #215686
      Zia Rahim
      Participant

      The woocommerce API is sending parent and sub orders to external applications.

      This was not happening in the past and I can see the code in your core files that clearly restricts sub orders.

      Did you update something or has something changed? We use 5 different external applications and I have used postman to check.

      I would appreciate your help since we have many errors right now.

    • #215713

      @Zia Rahim We placed an order using Postman as mentioned by you (and in that case also only one main order and a suborder under that main order is created(https://prnt.sc/nQpLH3FVEpkF).
      So kindly let us know how we can recreate the issue that you are facing on our end and only after recreating the issue on our end we will be able to help you to fix that.

    • #215879
      Zia Rahim
      Participant

      Hi Sangita

      Thanks for your help.

      Sorry I should have been more clear.

      1. Create an order via woocommerce using the front end of the website or manual order using a vendor connected to multivendorx.
      2. Then try to pull all orders and check if the main order and sub order is pullled.

      What I want is for only the main/parent order to be pulled or the sub order but not both. There is a part in your core files that has disabled sub orders from going into the orders API. I can tell you where this is code is if you want? I am asking why this code has stopped working.

    • #215906

      @Zia Rahim Thanks for explaining the flow to us. Since you’ve mentioned an issue with a piece of code that has ceased to function, please provide us with the specific cod. This will enable our development team to assess the issue and assist you accordingly.

    • #218121

      It’s been long and we have not heard back from you. We presume your query is resolved now. We are closing this thread. If you need help or face issue in future please do create a new support ticket.

Viewing 4 reply threads

The topic ‘API sending sub orders’ is closed to new replies.