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()
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Loyalty
Read Loyalty
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?