curl --request PATCH \
--url https://api.letsdothis.com/v0/memberships/{membershipId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.letsdothis.com/v0/memberships/{membershipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/memberships/{membershipId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"phone": {
"countryCode": "<string>",
"number": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"county": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"dateOfBirth": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>"
}
]
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}Update member details
Updates only the properties sent: firstName, lastName, phone, address and dateOfBirth. null clears a phone, address or date of birth; an address update keeps the parts not sent. The email address and custom fields are read-only; staff change them from the dashboard. Unknown properties are rejected.
curl --request PATCH \
--url https://api.letsdothis.com/v0/memberships/{membershipId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.letsdothis.com/v0/memberships/{membershipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/memberships/{membershipId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"phone": {
"countryCode": "<string>",
"number": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"county": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"dateOfBirth": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>"
}
]
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<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}$Body
Only the properties sent change, including address parts: omitted parts are kept and an empty string clears one. null clears a phone, address or date of birth.
Response
Default Response
Core details are top-level; every other question on the organiser's membership form is a custom field.
The account email. Read-only; staff move a membership from the dashboard.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
ISO date (YYYY-MM-DD). Null when none is recorded.
Show child attributes
Show child attributes
Was this page helpful?

