0

How can we fetch Custom table data by using Magento 2 REST API ?

2
  • What data you want to fetch. Mar 18, 2021 at 10:44
  • I have a custom table with 5 fields. I want to provide that data to others as REST API in Magento 2. Mar 18, 2021 at 10:46

1 Answer 1

0

You need to do the following things.

  1. Confirm you have model for your custom table data save/edit.

  2. Create the custom REST API for your extension according to your requirement.

  3. Given the REST API URL which you created to other, who need to use that one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.