Skip to main content
Glama

getAllLoyaltyMemberships

Retrieve all loyalty memberships for an enterprise with optional filters such as IDs, activity states, or creation dates. Supports pagination and portfolio access tokens for efficient data management.

Instructions

Returns all loyalty memberships of the enterprise, optionally filtered by specific loyalty membership identifiers, activity states, or other filter parameters. Note this operation uses Pagination and supports Portfolio Access Tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
AccountIdsNoUnique identifiers of accounts (for example Customers or Companies) the membership is associated with.
ActivityStatesNoWhether to return only active, only deleted or both records.
ChainIdsNoUnique identifiers of the chain. If not specified, the operation returns data for all chains within scope of the Access Token.
CodesNoList of loyalty membership codes, such as identification numbers printed on loyalty cards visible to the customer.
CreatedUtcNoThe time interval during which the membership was created (max length 3 months)
LimitationYesLimitation on the quantity of data returned
LoyaltyMembershipIdsNoUnique identifiers of Loyalty memberships.
LoyaltyProgramIdsNoUnique identifiers of Loyalty programs.
MembershipStatesNoStates of the loyalty memberships.
ProviderMembershipIdsNoList of unique loyalty membership identifiers assigned and managed by the external loyalty provider's system.
UpdatedUtcNoThe time interval during which the membership was last updated (max length 3 months)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/code-rabi/mews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server