CreatedAt Sort Clause¶
The CreatedAt Sort Clause sorts search results by the date and time of the creation of a product.
Arguments¶
- (optional) sorting direction, either
ascending(default) ordescending
Example¶
You can use this Sort Clause over the REST API, in the SortClauses element of the payload of the POST /product/catalog/products/view request:
1 2 3 4 5 | |
1 2 3 4 5 | |