Transactions
Every change in is recorded in a transaction. Use the transaction endpoints to get information on transactions and changes to entities within each of these.
Unique id of transaction
GET /v1/transactions/{uid} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"TransactionType": "text",
"Username": "text",
"StartTimestamp": "2025-06-27T08:42:53.517Z",
"CommitTimestamp": "2025-06-27T08:42:53.517Z"
}
POST /v1/transactions/batch HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 40
[
"123e4567-e89b-12d3-a456-426614174000"
]
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"TransactionType": "text",
"Username": "text",
"StartTimestamp": "2025-06-27T08:42:53.517Z",
"CommitTimestamp": "2025-06-27T08:42:53.517Z"
}
Page to return results for (1 is first page)
1
Query transactions committed after this timestamp
Query transactions committed before this timestamp
Query transactions made by this username
GET /v1/transactions/search HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"TransactionType": "text",
"Username": "text",
"StartTimestamp": "2025-06-27T08:42:53.517Z",
"CommitTimestamp": "2025-06-27T08:42:53.517Z"
}
Type of entity (Can be Product, Variant, Category or GlobalListValue)
Id of entity
GET /v1/transactions/{entityType}/{entityId}/revisiondata HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"FieldName": "text",
"LastChange": {
"RevisionNo": 1,
"RevisionValue": "text",
"ValueBefore": "text",
"Timestamp": "2025-06-27T08:42:53.517Z",
"Username": "text",
"TransactionType": "text"
},
"ItemRevisionChange": [
{
"RevisionNo": 1,
"RevisionValue": "text",
"ValueBefore": "text",
"Timestamp": "2025-06-27T08:42:53.517Z",
"Username": "text",
"TransactionType": "text"
}
]
}
]
Unique id of transaction to get changes for
Comma separated list of entity types to return (valid entity types are Category, Product, Variant, GlobalListValue)
GET /v1/transactions/{uid}/changedentities HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"EntityType": "text",
"EntityId": "text",
"RevisionNo": 1,
"TransactionUid": "123e4567-e89b-12d3-a456-426614174000"
}
A maximum of 5000 transactions can be fetched at a time
Comma separated list of entity types to return (valid entity types are Category, Product, Variant, GlobalListValue)
POST /v1/transactions/batch/changedentities HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 40
[
"123e4567-e89b-12d3-a456-426614174000"
]
OK
{
"EntityType": "text",
"EntityId": "text",
"RevisionNo": 1,
"TransactionUid": "123e4567-e89b-12d3-a456-426614174000"
}
Type of entity (Can be Product, Variant, Category or GlobalListValue)
Id of entity
Revision to get changes for
GET /v1/transactions/changes/{entityType}/{entityId}/{revisionNo} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"EntityType": "text",
"EntityId": "text",
"RevisionNo": 1,
"DataType": "text"
}
]
Model for requesting revision changes
Type of entity
Unique id of entity
Revision number
POST /v1/transactions/changes/batch HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 56
[
{
"EntityType": "text",
"EntityId": "text",
"RevisionNo": 1
}
]
OK
[
{
"EntityType": "text",
"EntityId": "text",
"RevisionNo": 1,
"DataType": "text"
}
]