PUT Update Member
Change a member’s details, such as a new phone or e-mail from your side, in place on the same container; the customer record is left as it was.
Endpoint
URL: https://api-etl.akaun.com/core2/tnt/dm/membership-cards
Method: PUT
Headers: a credential, either Authorization: Bearer <token> (the Bearer prefix is optional) or an AccessId + AccessKey pair, tenantCode, and Content-Type: application/json. The authentication page describes both credentials.
Description
Served by MembershipCardController (@PutMapping), body MembershipCardContainer.
Before you send it: GET the member first and send the full row as last read, edited. The update replaces the row (the Notes below say more).
cURL Example
curl -X PUT 'https://api-etl.akaun.com/core2/tnt/dm/membership-cards' \
--header 'Authorization: Bearer <token>' \
--header 'tenantCode: gadgetsphere' \
--header 'Content-Type: application/json' \
--data '{
"bl_crm_membership_hdr": {
"guid": "00000000-0000-4000-8000-000000000021",
"parent_guid": null,
"company_guid": null,
"branch_guid": null,
"login_subject_guid": null,
"entity_hdr_guid": "00000000-0000-4000-8000-000000000022",
"entity_line_guid": null,
"contact_key_guid": null,
"card_type_guid": null,
"membership_class_guid": null,
"membership_class_code": null,
"card_no": "GS-0001234",
"card_no_old": null,
"id_no": null,
"id_type": null,
"name": "Retail Customer 1",
"phone": null,
"email": null,
"ref_1": null,
"ref_2": null,
"ref_3": null,
"ref_4": null,
"ref_5": null,
"start_date": null,
"end_date": null,
"card_start_date": null,
"card_end_date": null,
"client_key": null,
"client_source": null,
"client_value": null,
"client_customer_code": null,
"status_01": null,
"status_02": null,
"xtn_icno": null,
"xtn_hand_phone": null,
"xtn_home_phone": null,
"xtn_office_phone": null,
"xtn_email": null,
"gender": null,
"dob": null,
"country_code": null,
"remarks": null,
"obj_status": null,
"member_id": "GS-M-000123",
"card_type": null,
"nationality": null,
"ethnicity": null,
"language_code": null,
"title": null,
"region_code": null,
"marital_status": null,
"occupation": null,
"job_title": null,
"job_industry": null,
"job_role": null,
"country_alpha3_code": null,
"country_alpha2_code": null,
"status_logic": null,
"referral_code": "GSREF123",
"addresses_json": {},
"job_skills": {},
"property_json": {},
"module_guid": null,
"applet_guid": null,
"namespace": null,
"created_by_subject_guid": "00000000-0000-4000-8000-000000000009",
"updated_by_subject_guid": "00000000-0000-4000-8000-000000000009",
"created_date": "2025-11-21T05:40:37.317101867Z",
"updated_date": "2025-11-21T05:40:37.317102542Z",
"status": "ACTIVE",
"revision": "00000000-0000-4000-8000-000000000027",
"vrsn": null,
"branch_name": null,
"branch_code": null,
"sales_agent_guid": null,
"sales_agent_name": null,
"sales_agent_code": null
}
}'Request Body
Content-Type: application/json
bl_crm_membership_hdr(object, required): Contains the full membership details.
All Fields:
guidparent_guidcompany_guidbranch_guidlogin_subject_guidentity_hdr_guidentity_line_guidcontact_key_guidcard_type_guidmembership_class_guidmembership_class_codecard_nocard_no_oldid_noid_typenamephoneemailref_1ref_2ref_3ref_4ref_5start_dateend_datecard_start_datecard_end_dateclient_keyclient_sourceclient_valueclient_customer_codestatus_01status_02xtn_icnoxtn_hand_phonextn_home_phonextn_office_phonextn_emailgenderdobcountry_coderemarksobj_statusmember_idcard_typenationalityethnicitylanguage_codetitleregion_codemarital_statusoccupationjob_titlejob_industryjob_rolecountry_alpha3_codecountry_alpha2_codestatus_logicreferral_codeaddresses_jsonjob_skillsproperty_jsonmodule_guidapplet_guidnamespacecreated_by_subject_guidupdated_by_subject_guidcreated_dateupdated_datestatusrevisionvrsnbranch_namebranch_codesales_agent_guidsales_agent_namesales_agent_code
Response
Content-Type: application/json
Sample Response
{
"code": "OK_RESPONSE",
"data": {
"bl_crm_membership_hdr": {
"guid": "00000000-0000-4000-8000-000000000021",
"parent_guid": null,
"company_guid": null,
"branch_guid": null,
"login_subject_guid": null,
"entity_hdr_guid": "00000000-0000-4000-8000-000000000022",
"entity_line_guid": null,
"contact_key_guid": null,
"card_type_guid": null,
"membership_class_guid": null,
"membership_class_code": null,
"card_no": "GS-0001234",
"card_no_old": null,
"id_no": null,
"id_type": null,
"name": "Retail Customer 1",
"phone": null,
"email": null,
"ref_1": null,
"ref_2": null,
"ref_3": null,
"ref_4": null,
"ref_5": null,
"start_date": null,
"end_date": null,
"card_start_date": null,
"card_end_date": null,
"client_key": null,
"client_source": null,
"client_value": null,
"client_customer_code": null,
"status_01": null,
"status_02": null,
"xtn_icno": null,
"xtn_hand_phone": null,
"xtn_home_phone": null,
"xtn_office_phone": null,
"xtn_email": null,
"gender": null,
"dob": null,
"country_code": null,
"remarks": null,
"obj_status": null,
"member_id": "GS-M-000123",
"card_type": null,
"nationality": null,
"ethnicity": null,
"language_code": null,
"title": null,
"region_code": null,
"marital_status": null,
"occupation": null,
"job_title": null,
"job_industry": null,
"job_role": null,
"country_alpha3_code": null,
"country_alpha2_code": null,
"status_logic": null,
"referral_code": "GSREF123",
"addresses_json": {},
"job_skills": {},
"property_json": {},
"module_guid": null,
"applet_guid": null,
"namespace": null,
"created_by_subject_guid": "00000000-0000-4000-8000-000000000009",
"updated_by_subject_guid": "00000000-0000-4000-8000-000000000009",
"created_date": "2025-11-20T08:40:41.36272441Z",
"updated_date": "2026-03-14T06:20:11.000000000Z",
"status": "ACTIVE",
"revision": "00000000-0000-4000-8000-000000000028",
"vrsn": null,
"branch_name": null,
"branch_code": null,
"sales_agent_guid": null,
"sales_agent_name": null,
"sales_agent_code": null
},
"bl_crm_membership_ext": []
},
"message": ""
}Notes
- Ensure JWT token is valid and tenant code is correct.
guidvalue must match the row that you are updating.- Send the full row as last read (GET the member first and edit it): the update replaces the row. An earlier version of this page said a stale
revisionis rejected as a race condition; the update path inMembershipCardUow.updatewas read and no revision comparison was found, so treat that as unverified. obj_statusis used to store member verification status
(default value =UNVERIFIED, possible values =VERIFIED,UNVERIFIED,REVIEWED,EXPIRED)- Requires the targeted permission
TNT_API_MEMBERSHIP_CARD_UPDATEon the row being updated; old and new values are written to the audit trail. - Same mapping at
/backoffice;etl-epandlogin-entity-eptwins exist. - Sample values are synthetic GadgetSphere data.
Last updated on