Retrieves a list of loyalty accounts, given the provided paging, filtering, and sorting. Query Loyalty Accounts runs with these defaults, which you can override:
createdDate is sorted in ASC orderpaging.limit is 100paging.offset is 0
For field support for filters and sorting, see Loyalty Accounts: Supported Filters and Sorting.
To learn about working with Query methods, see API Query Language.| Field | Supported Filters | Sort |
|---|---|---|
id | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
contactId | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
memberId | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
points.balance | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
points.earned | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
points.adjusted | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
points.redeemed | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
points.expired | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
createdDate | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
lastActivityDate | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
tier.id | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
pointsExpiration.expirationDate | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
pointsExpiration.expiringPointsAmount | $eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.