v1

latestOpenAPI 3.1.02026-07-2331722.2 KB
Memberships

List memberships by IDs

Fetch the latest details of loyalty memberships from the provider's system using memberships' unique IDs.

post/memberships/list

Headers

Accept-Languagestring

Language preference for error messages and descriptions. If not provided, English will be used as the default language.

Request body

mewsEnterpriseIdstring uuid required

The identifier of the Mews enterprise on whose behalf the request has been made.

providerEnterpriseIdstring

An optional identifier of the enterprise from the loyalty provider on whose behalf the request has been made.

providerMembershipIdsProviderMembershipId[] required

Array of membership IDs to retrieve.

Response

List matching memberships.

If a membership with requested providerMembershipId is not found in the result set, it will be requested again later.

Memberships with status of notFound will be removed on Mews' side.