Search for Items
This topic provides instructions to perform offer search and keyword search.
tip
Reduce the number of calls required for searching by using ?followlocation
. For more information on this feature, see FollowLocation.
The examples in this section follows the standard search work flow, which does not use ?followlocation
.
Offer Search Workflow
GET
searches.GET
offersearchform.For example,
https://www.onlinestore.com/searches/<scope>/offer/form
.Populate the form and link to
offersearchaction
.GET
the search results link returned by Cortex.To view the item details,
GET
a search result element.
Keyword Search Workflow
GET
searches.GET
keywordsearchform.For example,
https://www.onlinestore.com/searches/<scope>/keywords/form
.Populate the form and link to
itemkeywordsearchaction
.GET
the search results link returned by Cortex .To view the item details,
GET
a search result element.
note
Use the "rel":"next"
and "rel":"previous"
links to navigate through the search results.