Changelogs
Query tenant change history.
This functionality is in preview mode - some of the features may not be fully operational yet.
Retrieves a paginated list of changes for the tenant. Results are ordered by occurrence time.
Filter results with the standard q query parameter. Supported fields:
entity— Entity type, for exampleorder,customer,company,product,segment,group,group-assignment,coupon, or a custom entity created with the Schema Service.entityId— Document identifier. Requiresentity.type— Change type. Possible values:create,update,delete.actor— Actor display name. Supports exact match, glob patterns such asJohn*, and regex such asactor:~^sys. Special values:system,unknown.occurredAt— Time range, for exampleoccurredAt:(>"2026-06-01T00:00:00.000Z" AND <"2026-06-30T23:59:59.999Z").related.entity/related.entityId— Related-entity filters. Alternatively userelated:elemMatch(entity:<type> entityId:<id>).compoundLogicalQuery— NestedOR/ANDexpressions.
Scope a single document with entity and entityId in q. There is no path-based history endpoint.
- : Needed to retrieve changelog history.
- : Needed to manage changelog resources. Also grants read access.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Standard query parameter used to filter changed entries.
Supported fields:
entity— Entity type, for exampleq=entity:order.entityId— Document identifier. Requiresentity, for exampleq=entity:order entityId:6a2bce93592855a33518fc2f.type— Change type (create,update, ordelete), for exampleq=type:update.actor— Actor display name. Exact match:q=actor:system. Glob:q=actor:John*. Regex:q=actor:~^sys.occurredAt— Time range, for exampleq=occurredAt:(>"2026-06-01T00:00:00.000Z" AND <"2026-06-30T23:59:59.999Z").related.entity/related.entityId— Related-entity filters, for exampleq=related.entity:group related.entityId:1gr5e52e-6e27-4ac5-9471-2467d3fb7501.related:elemMatch(...)— ElemMatch syntax, for exampleq=related:elemMatch(entity:group entityId:1gr5e52e-6e27-4ac5-9471-2467d3fb7501).compoundLogicalQuery— NestedOR/ANDexpressions, for exampleq=compoundLogicalQuery:((entity:group type:update) OR (related:elemMatch(entity:group))).
See also Query Parameter.
entity:order entityId:6a2bce93592855a33518fc2fPage number to be retrieved. The number of the first page is 1.
1Number of changed entries to be retrieved per page. Maximum value is 100.
20The request was successful. A paginated list of changed entries has been returned.
Paginated tenant changelog history.
Current page number. The number of the first page is 1.
Number of items requested per page.
Total number of changed entries matching the query.
Total number of pages for the matching result set.
Bad Request. The page, size, or q parameter is invalid.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match required scopes.
Internal Server Error.
GET /changelog/{tenant}/changelogs HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"items": [
{
"at": "2026-06-01T13:01:29.123Z",
"type": "update",
"entity": "order",
"entityId": "6a2bce93592855a33518fc2f",
"paths": {
"status": {
"before": "CREATED",
"after": "CONFIRMED"
}
},
"schemaVersion": "v2",
"actor": "John Doe"
}
],
"page": 1,
"size": 20,
"totalElements": 1,
"totalPages": 1
}Last updated
Was this helpful?

