The OpenCart RESTful API module provides the framework by which you can access data from common or custom OpenCart data access functions. OpenCart has many internal functions to return products, customers, orders and other information. If you have another system that requires access to these, you can use this module to provide it.
This module is provided for developers with some understanding of how RESTful APIs work, the ability to write simple SQL queries to access data, and some OpenCart internal knowledge.
Here is an example query made once the RESTful API has been installed (the getProducts function is provided as an example):
The func parameter specifies which internal function you are calling. You will write your own functions. You can specify additional parameters as required by your particular function. These will be accessible in your functions.
The OpenCart RESTful API module provides a framework to support PUT, POST, GET and DELETE HTTP requests.