docs
  1. Resources
  2. Product Quality Scores
  3. Get Product Quality Score Rules

Get product quality score rules

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

ProductQualityScores

​
ProductQualityScores Operations

Get product quality score rules

​

This endpoint can be used to retrieve a collection of product quality score rules. Filter by id, attribute group name, master category, or whether the ruleset is the default. Results are cursor-paginated. masterCategoryIds on each entity lists owners only.

Query Parameters

  • Comma-separated list of product quality score rule ids.

  • Return rulesets that contain a rule for this attribute group name.

  • Return rulesets that have a pivot for this master category, including inherited assignments.

  • Pass true to return only the default ruleset. Pass false to return only custom rulesets. Omit to return both.

  • 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
  • application/json
  • application/json
Request Example for get/product-quality-scores/rules
const response = await client.apis.ProductQualityScores.getProductQualityScoreRules({
  'filters[id]': '1,2',
  'filters[attributeGroupName]': 'sizeFlag',
  'filters[masterCategoryId]': 4,
  'filters[isDefault]': false,
  limit: 10
});
const productQualityScoreRules = response.body.entities;

{
  "entities": [
    {
      "id": 1,
      "isDefault": true,
      "rules": [
        {
          "attributeGroupName": "sizeFlag",
          "weight": 5
        }
      ],
      "masterCategoryIds": [],
      "createdAt": "2026-09-01T08:00:00+00:00",
      "updatedAt": "2026-09-01T08:00:00+00:00"
    },
    {
      "id": 2,
      "isDefault": false,
      "rules": [
        {
          "attributeGroupName": "sizeFlag",
          "weight": 8
        }
      ],
      "masterCategoryIds": [
        1,
        4
      ],
      "createdAt": "2026-09-07T09:00:00+00:00",
      "updatedAt": "2026-09-08T10:15:00+00:00"
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

Models

​
​
​
​

Last updated: December 02, 2026