You are browsing documentation for version 5.1 of OroCommerce, supported until March 2026. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Simple Search API 

REST API allows to search by all text fields in all entities.

Parameters for APIs requests:

  • search - the search string

  • offset - the integer value of the offset

  • max_results - the count of the result records in the response


REST API works with GET requests only. The search request to the search must be as in the following example:


The request returns an array with data:

  • records_count - the total number of results (without offset and max_results) parameters

  • count - count of records in current request

  • data - array with data. Data consists of values:

    • entity_name - class name of entity

    • record_id - id of record from this entity

    • record_string - the title of this record