- Home
- API reference
- API documentation (JSON/XML)
- Objects
- General objects
Order object
Description
The order object is responsible for sorting the search result.
Structure
| Key JSON | Key XML | Occurs | Format | Typ | Description |
|---|---|---|---|---|---|
| key | key | 0 - 1 | string | Keyword to be sorted by. | |
| type | mode | 0 - 1 | enum | Sort order. |
Example
"orders": [
{
"key": "created",
"type": "ASC"
}
]
<order>
<key>created</key>
<mode>asc</mode>
</order>