Get list of products
GET {{baseUrl}}/products
Service urls: You can combine filter parameters, you only need to use the long version of API urls.
http://yourdomain.com/api/rest/products
OR
http://yourdomain.com/index.php?route=feed/rest_api/productsSearch products with opencart rest api
Example urls:
http://yourdomain.com/index.php?route=feed/restapi/products&simple=1&customfields=id,name&search=ipod
http://yourdomain.com/index.php?route=feed/restapi/products&sort=price&order=asc
http://yourdomain.com/index.php?route=feed/rest_api/products&sort=price&order=desc
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"success": 1,
"error": [
"Error description",
"Error description"
],
"data": {}
} |
ENDPOINTS