docs
  1. Shops
  2. Smart Sorting Keys
  3. Get Smart Sorting Keys

Get smart sorting keys

v1.204.1
OpenAPI 3.0.3

This is the specification of the SCAYLE Admin API.

For more information about how to interact with the Admin API, you can read the respective developer guide. The developer guide includes code samples for our PHP SDK, for our Java SDK and for JavaScript and curl.

Authentication is done via X-Access-Token HTTP Header as described here.

Base url should be prefixed with /api/admin/v1.

If a client side timeout is deemed necessary, it is recommended to set it at a minimum of 380 seconds.

Server:https://{tenant-space}.admin.api.scayle.cloud/v1
Client Libraries

SmartSortingKeys

​

Smart Sorting Keys

SmartSortingKeys Operations

Get smart sorting keys

​

This endpoint can be used to retrieve a collection of smart sorting keys. Filter by custom vs system keys and search by key or description. Results are cursor-paginated.

Query Parameters

  • Pass true to return only custom smart sorting keys (CSSKs). Pass false to return only system smart sorting keys. Omit to return both.

  • Case-insensitive match if key or description contains this value. Combined with other filters using AND.

  • Maximum number of entities in the result. When fetching entities with children, the limit always applies to the amount of parent entities (max. 1000).

  • Sort by the provided column.

  • Sort ascending or descending

  • Valid cursor used for pagination.

Responses

  • application/json
  • application/json
  • application/json
Request Example for get/smart-sorting-keys
const response = await adminApi.smartSortingKeys().getSmartSortingKeys({
  'filters[isCustom]': true,
  'filters[search]': 'summer',
  limit: 10
});
const smartSortingKeys = response.entities;

{
  "entities": [
    {
      "key": "scayle:v1:sales-push",
      "name": "Sales push",
      "isCustom": false,
      "weights": {
        "sales": 5,
        "stock": 4
      }
    },
    {
      "key": "summer-priority",
      "name": "Summer Priority",
      "description": "summer priority CSSK",
      "isCustom": true,
      "weights": {
        "stock": 5,
        "sales": 3,
        "salesInv": 1,
        "variantAvailabilityAdjInv": 1
      }
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

Models

​
​
​
​

Last updated: December 02, 2026