POST

Query Loyalty Accounts


Retrieves a list of loyalty accounts, given the provided paging, filtering, and sorting. Query Loyalty Accounts runs with these defaults, which you can override:

FieldSupported FiltersSort
id$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gteSort: ASC, DESC
contactId$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gteSort: ASC, DESC
memberId$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gteSort: ASC, DESC
points.balance$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
points.earned$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
points.adjusted$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
points.redeemed$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
points.expired$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
createdDate$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
lastActivityDate$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
tier.id$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gteSort: ASC, DESC
pointsExpiration.expirationDate$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
pointsExpiration.expiringPointsAmount$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
Authentication

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

Permissions
Read Loyalty
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/loyalty-accounts/v1/accounts/query

Errors

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

Did this help?