Update Member
Updates a Member
Authorization
HTTPBearer In: header
Path Parameters
Header Parameters
Members organization id (org_…) when the client has multiple organizations.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://api.members.dev/v1/members/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "member_01KKSMB47VYGW97GFE67VGDK7M",
"short_id": "XF42",
"name": "John Doe",
"external_id": "ext_abc123",
"emails": [
{
"id": "member_email_01KKSMB47VYGW97GFE67VGDK7M",
"email": "user@example.com",
"is_default": true,
"is_verified": true
}
],
"addresses": [
{
"id": "member_address_01KKSMB47VYGW97GFE67VGDK7M",
"recipient_name": "string",
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"is_default": true
}
],
"phones": [
{
"id": "member_phone_01KKSMB47VYGW97GFE67VGDK7M",
"number": "string",
"country_code": "string",
"is_default": true
}
],
"subscriptions": [
{
"id": "string",
"product": {
"product_id": "string"
}
}
],
"group_ids": [
"string"
],
"custom_fields": {},
"account_id": "string",
"status": "draft",
"pass": {
"id": "string",
"share_url": "string"
},
"created_at": null,
"updated_at": null
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}