commercetools · Schema

RecordPagedQueryResponse

Paginated response containing a list of change history records.

CommerceComposable CommerceE-CommerceGraphQLRESTSDKAgentic Commerce

Properties

Name Type Description
limit integer Maximum number of records returned.
offset integer Number of records skipped.
count integer Number of records in this page.
total integer Total number of matching records.
results array The change history records on this page.
View JSON Schema on GitHub

JSON Schema

commercetools-record-paged-query-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/commercetools/main/json-schema/commercetools-record-paged-query-response-schema.json",
  "title": "RecordPagedQueryResponse",
  "description": "Paginated response containing a list of change history records.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commercetools-change-history-api-openapi.yml#/components/schemas/RecordPagedQueryResponse",
  "type": "object",
  "required": [
    "limit",
    "offset",
    "count",
    "total",
    "results"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "description": "Maximum number of records returned."
    },
    "offset": {
      "type": "integer",
      "description": "Number of records skipped."
    },
    "count": {
      "type": "integer",
      "description": "Number of records in this page."
    },
    "total": {
      "type": "integer",
      "description": "Total number of matching records."
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Record"
      },
      "description": "The change history records on this page."
    }
  },
  "$defs": {
    "Change": {
      "type": "object",
      "description": "A single field-level change within a change history record.",
      "required": [
        "change",
        "type"
      ],
      "properties": {
        "change": {
          "type": "string",
          "description": "The name of the update action that caused this change (e.g., 'setCustomField', 'changeOrderState')."
        },
        "type": {
          "type": "string",
          "description": "The type identifier of this change entry."
        },
        "previousValue": {
          "description": "The field value before the change was applied."
        },
        "nextValue": {
          "description": "The field value after the change was applied."
        }
      }
    },
    "ModifiedBy": {
      "type": "object",
      "description": "Information about the actor who made the change.",
      "properties": {
        "id": {
          "type": "string",
          "description": "System-generated ID of the user or client."
        },
        "type": {
          "type": "string",
          "enum": [
            "user",
            "external-user",
            "customer",
            "key"
          ],
          "description": "The type of actor that made the change."
        },
        "clientId": {
          "type": "string",
          "description": "ID of the API client used to make the change."
        },
        "anonymousId": {
          "type": "string",
          "description": "Anonymous session ID if the change was made without a customer login."
        },
        "customer": {
          "$ref": "#/$defs/Reference"
        },
        "isPlatformClient": {
          "type": "boolean",
          "description": "Whether the change was made via the Merchant Center."
        }
      }
    },
    "Record": {
      "type": "object",
      "description": "A change history record capturing a set of changes applied to a resource in a single operation, along with actor and timestamp metadata.",
      "required": [
        "id",
        "resource",
        "resourceType",
        "changes",
        "createdAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "System-generated unique identifier for the record."
        },
        "resource": {
          "$ref": "#/$defs/Reference"
        },
        "resourceVersion": {
          "type": "integer",
          "description": "The version of the resource after these changes were applied."
        },
        "resourceType": {
          "type": "string",
          "description": "The type of resource that was changed."
        },
        "changes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Change"
          },
          "description": "List of individual field-level changes captured in this record."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp when the changes were made."
        },
        "createdBy": {
          "$ref": "#/$defs/ModifiedBy"
        },
        "label": {
          "type": "object",
          "description": "A label identifying the changed resource (e.g., product name, order number)."
        },
        "previousVersion": {
          "type": "integer",
          "description": "The version of the resource before these changes were applied."
        },
        "type": {
          "type": "string",
          "description": "The type of modification (e.g., 'update', 'create', 'delete')."
        }
      }
    },
    "Reference": {
      "type": "object",
      "description": "A reference to another resource by typeId and id.",
      "required": [
        "typeId",
        "id"
      ],
      "properties": {
        "typeId": {
          "type": "string",
          "description": "The type identifier of the referenced resource."
        },
        "id": {
          "type": "string",
          "description": "The system-generated unique identifier of the referenced resource."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/commercetools-record-paged-query-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.