i'm new to Magento 2, i am assigned to create a HTML search form which take input as a CustomerID and return the Customer info associated with that CustomerID, using oAuth and REST API. I have no idea where I should begin, or which documents I should take, please give me an advice !
-
You should start at google.com/#q=Magento2+documentation+rest+api7ochem– 7ochem2015年11月26日 09:08:18 +00:00Commented Nov 26, 2015 at 9:08
1 Answer 1
Two high-level steps should be completed to create new REST API in Magento:
- Create new service
- Configure webapi.xml to expose this service as REST API
Then your service can be called as described here
answered Nov 26, 2015 at 9:23
default