Update member details
curl --request PATCH \
--url https://api.letsdothis.com/v0/membership-seats/{seatId} \
--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/membership-seats/{seatId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-seats/{seatId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"gender": "<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_INVALID_REQUEST",
"statusCode": 400,
"message": "<string>"
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 404,
"message": "<string>"
}Memberships
Update member details
Updates a member’s details on this seat. Only the properties you send change.
How to use it
- You can update
firstName,lastName,phone,address,dateOfBirth,genderandcustomFields. Email can’t be changed, and unknown properties are refused. nullclears a phone, address, date of birth or optional gender. An address update keeps the parts you don’t send.- Read the seat’s membership form for custom field ids, which fields are editable, answer shapes and options. Send each custom field once, using its
answerShape. An id without an answer clears an optional field. genderuses the recognized gender question and its options. Don’t send that question incustomFieldsas well.- If any answer is invalid, nothing is updated.
PATCH
/
v0
/
membership-seats
/
{seatId}
Update member details
curl --request PATCH \
--url https://api.letsdothis.com/v0/membership-seats/{seatId} \
--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/membership-seats/{seatId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-seats/{seatId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"gender": "<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_INVALID_REQUEST",
"statusCode": 400,
"message": "<string>"
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 404,
"message": "<string>"
}This endpoint is in beta: its request and response contract can still change while it’s being developed.
Authorizations
Path Parameters
Body
application/json
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
The member's details on the seat, as updated.
Core details are top-level; every other question on the organiser's membership form is a custom field.
Was this page helpful?

