Returns the member counts of loyalty programs. The method takes a list of Basic account Ids and returns the loyalty program member counts for these accounts.

Request Information

Headers

NameDescriptionTypeAdditional information
Authentication

Authentication token

string

Required

URI Parameters

None.

Body Parameters

A list of account ids (GUIDs) of Basic accounts

Collection of globally unique identifier

Request Formats

application/json

Sample:
[
  "4915A184-9FF4-48DE-8141-49AE893C2DE8",
  "B6468B4B-37B9-4E48-95C9-E93238EE5B1E"
]

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Collection of ApiLPMemberCount

None.

Success

boolean

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json

Sample:
{
  "Data": [
    {
      "Count": 3,
      "LoyaltyProgramId": 1,
      "AccountId": "4915A184-9FF4-48DE-8141-49AE893C2DE8"
    },
    {
      "Count": 51,
      "LoyaltyProgramId": 3,
      "AccountId": "B6468B4B-37B9-4E48-95C9-E93238EE5B1E"
    }
  ],
  "Success": true,
  "Messages": []
}