queryLoyaltyTransactions( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of loyalty transactions, given the provided paging, filtering, and sorting.

Supported fields for filtering and sorting: id, accountId, idempotencyKey, transactionType, amount, description

To learn how to query Loyalty Transactions, see API Query Language.

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
accountIdeq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
amounteq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending()
transactionTypeeq(),ne(),exists(),in(),hasSome(),ascending(),descending()
descriptioneq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
idempotencyKeyeq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Loyalty
Read Loyalty
Learn more about permission scopes.
Method Declaration
Copy
Request
This method does not take any parameters
Was this helpful?
Yes
No