Skip to main content

LoyaltyTransaction

Represents a loyalty transaction

type LoyaltyTransaction {
id: Int!
createdAt: DateTime!
pointsChange: Int!
balanceAfter: Int!
}

Fields​

id ● Int!​

The unique identifier of the transaction

createdAt ● DateTime!​

When the transaction was created

pointsChange ● Int!​

The change in points for this transaction

balanceAfter ● Int!​

The points balance after this transaction

Example​

{
"createdAt": "2024-05-03T11:52:33Z"
}