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!