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.

Get a specific transaction

get
Authorizations
AuthorizationstringRequired
Path parameters
uidstring · uuidRequired

Unique id of transaction

Responses
chevron-right
200

OK

application/json
get
/v1/transactions/{uid}
200

OK

Get a batch of transactions

post
Authorizations
AuthorizationstringRequired
Bodystring · uuid[]
string · uuid[]Optional
Responses
chevron-right
200

OK

application/json
post
/v1/transactions/batch
200

OK

get
Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional

Page to return results for (1 is first page)

Default: 1
fromTimestampstring · date-timeOptional

Query transactions committed after this timestamp

toTimestampstring · date-timeOptional

Query transactions committed before this timestamp

usernamestringOptional

Query transactions made by this username

Responses
chevron-right
200

OK

application/json
get
/v1/transactions/search
200

OK

Get an entity's changes

get
Authorizations
AuthorizationstringRequired
Path parameters
entityTypestringRequired

Type of entity (Can be Product, Variant, Category or GlobalListValue)

entityIdstringRequired

Id of entity

Responses
chevron-right
200

OK

application/json
get
/v1/transactions/{entityType}/{entityId}/revisiondata
200

OK

Get entities changed in a specific transaction

get
Authorizations
AuthorizationstringRequired
Path parameters
uidstring · uuidRequired

Unique id of transaction to get changes for

Query parameters
entityTypesstringOptional

Comma separated list of entity types to return (valid entity types are Category, Product, Variant, GlobalListValue)

Responses
chevron-right
200

OK

application/json
get
/v1/transactions/{uid}/changedentities
200

OK

Get entities changed in a batch of transactions

post

A maximum of 5000 transactions can be fetched at a time

Authorizations
AuthorizationstringRequired
Query parameters
entityTypesstringOptional

Comma separated list of entity types to return (valid entity types are Category, Product, Variant, GlobalListValue)

Bodystring · uuid[]
string · uuid[]Optional
Responses
chevron-right
200

OK

application/json
post
/v1/transactions/batch/changedentities
200

OK

Get an entity's changes for in a specific revision

get
Authorizations
AuthorizationstringRequired
Path parameters
entityTypestringRequired

Type of entity (Can be Product, Variant, Category or GlobalListValue)

entityIdstringRequired

Id of entity

revisionNointeger · int32Required

Revision to get changes for

Responses
chevron-right
200

OK

application/json
get
/v1/transactions/changes/{entityType}/{entityId}/{revisionNo}
200

OK

Get revision changes for a batch of entities

post
Authorizations
AuthorizationstringRequired
Bodyobject[]

Model for requesting revision changes

EntityTypestring | nullableOptional

Type of entity

EntityIdstring | nullableOptional

Unique id of entity

RevisionNointeger · int32Optional

Revision number

Responses
chevron-right
200

OK

application/json
post
/v1/transactions/changes/batch
200

OK

Last updated