Retrieves a list of loyalty accounts, given the provided filters.
The listAccounts()
function returns a Promise that resolves to a list of loyalty accounts.
You can retrieve selected loyalty accounts with an array of contactIds
or retrieve a list of all of a site's loyalty accounts
with an empty request parameter. Use the cursorPaging
parameters to limit how many items load at a time.
Note: Only visitors with Manage Loyalty permissions can retrieve loyalty accounts.
You can only call this method when authenticated as a Wix app or Wix user identity.
Options to use when retrieving a list of loyalty accounts.