For the complete documentation index, see llms.txt. This page is also available as Markdown.

Members

Operations related to working with customers who are members of provider's loyalty program.

Search members

post

Search members based on customer information provided by Mews PMS.

Mews PMS will use this operation to display existing members based on customer-provided data. All available customer data is sent.

Authorizations
AuthorizationstringRequired

Bearer token provided by loyalty program provider.

Header parameters
Accept-LanguagestringOptional

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

Example: en-US
Body

Request payload for searching loyalty program members based on customer information from Mews PMS.

mewsEnterpriseIdstring · uuidRequired

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

Example: 123e4567-e89b-12d3-a456-426614174000
providerEnterpriseIdstringOptional

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

Example: ENT-9876-AZ
Responses
200

Search result with list of matching members.

application/json

Response payload containing search results with matching loyalty program members.

isPartialResultbooleanRequired

If the number of matching results exceeds the allowed maximum number of result items (10), set isPartialResult to true to indicate an incomplete result set.

post/members/search

Enroll a customer

post

Enrolls a customer from Mews into the provider's loyalty system by creating a new loyalty membership.

Authorizations
AuthorizationstringRequired

Bearer token provided by loyalty program provider.

Header parameters
Accept-LanguagestringOptional

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

Example: en-US
Body

Request payload for enrolling a customer from Mews into the provider's loyalty program.

mewsEnterpriseIdstring · uuidRequired

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

Example: 123e4567-e89b-12d3-a456-426614174000
providerEnterpriseIdstringOptional

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

Example: ENT-9876-AZ
Responses
200

Enrollment was accepted, member is successfully enrolled or their membership is pending.

application/json

Response payload containing the newly created or updated membership information after enrollment.

post/members

Last updated

Was this helpful?