- This topic has 10 replies, 3 voices, and was last updated 3 years, 5 months ago by
Team MultiVendorX.
-
AuthorPosts
-
-
November 17, 2022 at 4:26 PM #146333
Mathieu
ParticipantHi 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_XXXXXXXXAlso your Rest API documentation is not up to date
Thanks for your help 🙂
-
November 17, 2022 at 4:54 PM #146337
Sangita Support Squad
Keymasterhttps://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
-
November 17, 2022 at 4:56 PM #146338
-
November 17, 2022 at 5:16 PM #146342
Sangita Support Squad
KeymasterCan you please check if you have enabled rest API in your site
-
November 17, 2022 at 5:17 PM #146343
Mathieu
ParticipantYes, beaucause other API call works well.
-
November 17, 2022 at 5:49 PM #146348
Sangita Support Squad
KeymasterMathieu don’t worry Our team will check .We will surely keep you posted
-
November 17, 2022 at 7:33 PM #146352
Sangita Support Squad
Keymasterwe 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.
-
November 17, 2022 at 7:43 PM #146355
Mathieu
ParticipantThis reply has been marked as private. -
November 18, 2022 at 2:37 AM #146367
Mathieu
ParticipantSo, I made some test tonight.
I deactivated all plugin and theme and the array is still empty.
-
November 18, 2022 at 10:55 AM #146371
Sangita Support Squad
KeymasterAs 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.
-
January 28, 2023 at 12:10 PM #149846
Team MultiVendorX
KeymasterWe 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.
-
-
AuthorPosts
- The topic ‘Issue with the rest API’ is closed to new replies.




