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.x
Multi-store. Franchise. Facilitator. AI tools.
Everything your marketplace needs - now in one platform.
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

-
DAYS
-
HOURS
-
MINUTES
-
SECONDS
20% Off Is Temporary. The Benefits Aren't.

HAPPY20

Join the MultiVendorX Facebook Community

Contact, share, and grow with thousands of MultiVendorX users around the world.

Issue with the rest API

Resolved
Viewing 10 reply threads
  • Author
    Posts
    • #146333
      Mathieu
      Participant

      Hi team,

      When I call the rest API to get the vendor list, I received an empty array but I have a lot of vendors in my database.

      Can you help me ?

      This is the call I made :

      curl https://example.com/wp-json/mvx/v1/vendors \
      -u ck_XXXXXXXXX:cs_XXXXXXXX

      Also your Rest API documentation is not up to date

      Thanks for your help 🙂

    • #146337

      https://wc-marketplace.github.io/rest-api-docs/#get-all-vendors From here you can get the rest API you need .You just need to replace wcmp with mvx in the url

    • #146338
      Mathieu
      Participant

      Hi @sangita,

      If you look the Curl request, I made the same call.

      But the result is an empty array.

    • #146342

      Can you please check if you have enabled rest API in your site

    • #146343
      Mathieu
      Participant

      Yes, beaucause other API call works well.

    • #146348

      Mathieu don’t worry Our team will check .We will surely keep you posted

    • #146352

      we don’t face any such issue in our end

      https://www.loom.com/share/91a14bbd23524e58ba77f85bea1239db

      There must be some theme and plugin conflict issue in your site.You can check by deactivating plugins other than MultiVendorX pro.

    • #146355
      Mathieu
      Participant
      This reply has been marked as private.
    • #146367
      Mathieu
      Participant

      So, I made some test tonight.

      I deactivated all plugin and theme and the array is still empty.

    • #146371

      As shared earlier we check rest API with postman.It is working perfectly fine for us .You must have some issue in your end . It must be a configuration issue.Please check carefully.

    • #149846

      We haven’t heard back from you, so we presume this issue has been fixed.
      So we are closing this one.
      If you need any further help, do open another thread.

Viewing 10 reply threads
  • The topic ‘Issue with the rest API’ is closed to new replies.
Shopping Cart
Launch Your Marketplace
in Days, Not Month
Get expert guidance to build, scale, and grow your MultiVendorX marketplace
Book Free Strategy Call
Trusted by 10000+ marketplace Owners
Scroll to Top