> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sort Orders API: Get Available Sort Orders

> Sort Orders API endpoint listing all configured sort orders for your store, including IDs and labels you can pass to browse and search requests.

## Authorization

**X-Storefront-Access-Token** `string` *required*

Token-based authentication header in the form of `<YOUR_LAYERS_TOKEN>`.

## Headers

**Accept** `string` *required* (default: application/json)

## Response

**sortOrders** `array`

Array of available sort orders for the store.

**Properties**

**code** `string`

The unique code identifier for the sort order.

**nickname** `string`

The human-readable name for the sort order.

```json Response theme={null}
{
  "sortOrders": [
    {
      "code": "relevance",
      "nickname": "Relevance"
    },
    {
      "code": "price_asc",
      "nickname": "Price: Low to High"
    },
    {
      "code": "price_desc", 
      "nickname": "Price: High to Low"
    },
    {
      "code": "created_at_desc",
      "nickname": "Newest First"
    }
  ]
}
```
