curl --request GET \
--url https://api.letsdothis.com/v0/membership-schemes/{schemeId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/membership-schemes/{schemeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-schemes/{schemeId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"title": "<string>",
"titleByLocale": {},
"productNameType": "MEMBERSHIP",
"isPurchasable": true,
"summaryMarkdown": "<string>",
"summaryMarkdownByLocale": {},
"benefitsMarkdown": "<string>",
"benefitsMarkdownByLocale": {},
"disabledContent": {
"heading": "<string>",
"headingByLocale": {},
"bodyMarkdown": "<string>",
"bodyMarkdownByLocale": {},
"ctaCopy": "<string>",
"ctaCopyByLocale": {},
"ctaUrl": "<string>"
},
"heroImageUrl": "<string>",
"customerSupportEmailAddress": "<string>"
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}Get a membership scheme
Returns a single membership scheme by ID if it belongs to the organizer associated with your Public API credentials: its text with translations, what it sells, whether it is on sale and what to show while it is not, its hero image and its support email address.
curl --request GET \
--url https://api.letsdothis.com/v0/membership-schemes/{schemeId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/membership-schemes/{schemeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-schemes/{schemeId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"title": "<string>",
"titleByLocale": {},
"productNameType": "MEMBERSHIP",
"isPurchasable": true,
"summaryMarkdown": "<string>",
"summaryMarkdownByLocale": {},
"benefitsMarkdown": "<string>",
"benefitsMarkdownByLocale": {},
"disabledContent": {
"heading": "<string>",
"headingByLocale": {},
"bodyMarkdown": "<string>",
"bodyMarkdownByLocale": {},
"ctaCopy": "<string>",
"ctaCopyByLocale": {},
"ctaUrl": "<string>"
},
"heroImageUrl": "<string>",
"customerSupportEmailAddress": "<string>"
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
^[a-fA-F0-9]{24}$Response
Default Response
Public metadata for a membership scheme. Translated text comes with its translations keyed by locale tag, the default under en-GB.
Show child attributes
Show child attributes
What the scheme sells, for naming it to members.
MEMBERSHIP, TOUR_PASS, SEASON_PASS Whether the scheme is on sale to new members. When false, its offerings list is empty; show disabledContent instead.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
What a scheme shows while it isn't on sale: a heading, a body and a call to action. Each text comes with its translations keyed by locale tag, the default under en-GB.
Show child attributes
Show child attributes
Where members contact your organizer about their membership.
Was this page helpful?

