barcode and reports whether they have an active membership. The barcode is supplied in the q query parameter; there is no request body. When the barcode resolves to a client with an active membership the response includes the membership record; otherwise it returns a message indicating no membership or that the client was not found.curl --location --globoff 'https://.daftra.com/api2/clients/client_has_membership?q=undefined' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"message": "Membership found",
"membership": {
"property1": "string",
"property2": "string"
}
}