Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.0
Something big is coming for marketplace admins… MultiVendorX 5.0 is almost here. Are you ready?
Be the first to explore all the game-changing features!
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

Incorrect orders_count in vendors API response

Tagged: 

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #248939
      Sathanda SA de CV
      Participant

      Hello,

      I’m using the MultiVendorX vendors REST API endpoint:
      GET /wp-json/mvx/v1/vendors

      However, the orders_count field returned in the JSON response seems to be incorrect: it shows the same number of orders for all vendors, even though only one of them actually has orders.

      For example, vendor valdeschino@hotmail.com is the only one who has orders, but the API response shows “orders_count”: 2 for all vendors.

      Could you please advise why this might be happening? Or is there another recommended way to correctly retrieve the number of orders per vendor via API?

      Thank you in advance!

    • #248949
      Anushka Sinha
      Moderator

      Hi there,
      We’ve added a fix for the issue regarding “vendors REST API endpoint “. This fix is available in our GitHub version.
      You can download the file from the following link and test it on your end: https://github.com/user-promi/MultiVendorX/archive/refs/heads/new-vul.zip

      We’ll also include this fix in our next official update and we will keep you posted accordingly.

      If you need any further assistance, please don’t hesitate to let us know. We’re happy to help.

    • #249925

      We’ve already included the fix in MultiVendorX version 4.2.29. Please update to the latest version and check it on your end.

      As this issue has been addressed, we’ll go ahead and close this thread for now. If you face any issues in the future or need further assistance, please feel free to create a new support ticket—we’ll be happy to help.

Viewing 2 reply threads
  • The topic ‘Incorrect orders_count in vendors API response’ is closed to new replies.
Shopping Cart
Scroll to Top