Logo
maya API Documentation

products-search/{search}

Number of APIs: 2


1. Search products

GET {{baseUrl}}/products/search/:search

Service urls:
http://yourdomain.com/api/rest/products/search/{search}
OR
http://yourdomain.com/index.php?route=feed/rest_api/products&search={search}

Search products with opencart rest api

You can combine filter parameters, you only need to use the long version of API urls.

You can combine these parameters:
  • - limit
  • - page
  • - start
  • - sort (sorty by name, model, quantity, rating, sort order, dateadded)
  • - order (order by desc or asc)
  • - search (search keyword, search in product name, model, sku, upc, ean, jan, isbn, mpn)
  • - filterdescription (set this parameter 1, then the API will search in description too)
  • - filters
  • - manufacturer (manufacturer ID)
  • - category (category ID)
  • - subcategory (subcategory ID)
  • - tag



2. Search products by page and limit

GET {{baseUrl}}/products/search/:search/limit/:limit/page/:page

Service urls:
http://yourdomain.com/api/rest/products/search/{search}/limit/{limit}/page/{page}
OR
http://yourdomain.com/index.php?route=feed/rest_api/products&search={search}&limit={limit}&page={page}



ENDPOINTS