{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MLM Platform Developer Docs","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/mlmplatform/Nr561ivSKS0ie7HP/logo/light.svg?fit=max\u0026auto=format\u0026n=Nr561ivSKS0ie7HP\u0026q=85\u0026s=bb54d81014d5b35f7ab3c2233573c5f2","dark":"https://mintcdn.com/mlmplatform/Nr561ivSKS0ie7HP/logo/dark.svg?fit=max\u0026auto=format\u0026n=Nr561ivSKS0ie7HP\u0026q=85\u0026s=efc12e7201a44c66c5bd9dd6eca8d93f"},"favicon":"https://mintcdn.com/mlmplatform/Nr561ivSKS0ie7HP/favicon.svg?fit=max\u0026auto=format\u0026n=Nr561ivSKS0ie7HP\u0026q=85\u0026s=77836c819ebe352a722b97e2fb254ead","api":{"openapi":"api/openapi.yaml"},"navbar":{"links":[{"href":"mailto:support@mlm-platform.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://mlm-platform.com"}},"footer":{"socials":{"twitter":"https://twitter.com/mlmplatform","github":"https://github.com/AVC-Revenue/MLM-Platform"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/AVC-Revenue/MLM-Platform"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/mlm-platform"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mlmplatform","hasAudioNarration":false,"actualSubdomain":"mlmplatform","customDomains":["docs.mlm-platform.com"],"gitSource":{"type":"github","owner":"neural-motion","repo":"mlm-platform","deployBranch":"main","contentDirectory":"docs/developer-portal","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac8e5d8cda84f472b9956db","collectionId":"d5402fd7-d585-4328-9090-9e198d0890e9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac8e5d8cda84f472b9956db"},"entitlements":{},"buildId":"6ac8e5d8cda84f472b9956db","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":98},{"language":"default","tag":"Member APIs","count":10},{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"Admin KYC","count":8},{"language":"default","tag":"Federated Auth","count":8},{"language":"default","tag":"Core APIs","count":6},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Member KYC","count":5},{"language":"default","tag":"Payout Accounts","count":5},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/users/update-member-profile","slug":"/api-reference/users/update-member-profile","pageMetadata":{"title":"Update member profile","description":"Updates the member's profile fields such as country code and address.\n\n**Authentication:** Requires tenant API key or session authentication.\n\n**Access Control:** Members can update their own profile. Admins and API keys can update any user in the tenant.\n\n**Country Code:** Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \"USA\", \"PHL\", \"GBR\").\n\n**Address:** If provided, must include a valid `countryCode` field.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml patch /api/v1/members/{userId}/profile","href":"/api-reference/users/update-member-profile","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Updates the member’s profile fields such as country code and address.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authentication:\"\n }), \" Requires tenant API key or session authentication.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Access Control:\"\n }), \" Members can update their own profile. Admins and API keys can update any user in the tenant.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Country Code:\"\n }), \" Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., “USA”, “PHL”, “GBR”).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Address:\"\n }), \" If provided, must include a valid \", _jsx(_components.code, {\n children: \"countryCode\"\n }), \" field.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update member profile","description":"Updates the member's profile fields such as country code and address.\n\n**Authentication:** Requires tenant API key or session authentication.\n\n**Access Control:** Members can update their own profile. Admins and API keys can update any user in the tenant.\n\n**Country Code:** Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \"USA\", \"PHL\", \"GBR\").\n\n**Address:** If provided, must include a valid `countryCode` field.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml patch /api/v1/members/{userId}/profile","href":"/api-reference/users/update-member-profile","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateMemberProfile","summary":"Update member profile","description":"Updates the member's profile fields such as country code and address.\n\n**Authentication:** Requires tenant API key or session authentication.\n\n**Access Control:** Members can update their own profile. Admins and API keys can update any user in the tenant.\n\n**Country Code:** Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \"USA\", \"PHL\", \"GBR\").\n\n**Address:** If provided, must include a valid `countryCode` field.\n","tags":["Users"],"parameters":["96986f76-626e-4a6f-8f53-c60aa35edafa"],"requestBody":"49920a41-115e-421b-9cd3-7b51a3536611","responses":{"200":"576a1904-47a9-42b8-aa5a-05cf4b6040fb","400":"dcb16087-3d5c-43d4-8eac-a9ca84150498","401":"11127baa-4616-44ed-9927-4b2e220ef1f5","403":"be99e982-f7e8-465b-8706-b24d4f67d25a","404":"d521af0e-3e3c-4f8d-9ee2-ae6e5a0c4715","500":"dad399f4-f2c5-4aee-922f-9bef4c1ad69b"},"method":"patch","type":"path","servers":["732b5969-90fb-4a79-a271-98e3cd72af1a","0a8814e8-16bf-46e5-a90f-b20f6af977c0"],"security":["b9909477-6f8d-40be-8555-3cdba36abc18"],"path":"/api/v1/members/{userId}/profile","baseUrlOptions":["https://app.mlm-platform.com","http://localhost:3000"],"title":"Update member profile","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"96986f76-626e-4a6f-8f53-c60aa35edafa":{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request to update member profile fields. All fields are optional - only provided fields will be updated.\n\nIdentity fields (`givenName`, `surname`, `dateOfBirth`, `idNumber`, `address`) are used for:\n- KYC verification (matching against uploaded documents)\n- Payout account creation (Stripe Connect requires identity verification)\n","properties":{"name":{"oneOf":[{"type":"string","maxLength":255,"description":"Member display name (full name). Set to null to clear.","example":"Chan Tai Man","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Member display name (full name). Set to null to clear.","example":"Chan Tai Man","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"givenName":{"oneOf":[{"type":"string","maxLength":100,"description":"First/given name for KYC verification. Set to null to clear.","example":"Tai Man","uniqueKey":"givenName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"First/given name for KYC verification. Set to null to clear.","example":"Tai Man","uniqueKey":"givenName.oneOf.1","typeLabel":"null"}],"uniqueKey":"givenName","typeLabel":"string | null"},"surname":{"oneOf":[{"type":"string","maxLength":100,"description":"Last/family name for KYC verification. Set to null to clear.","example":"Chan","uniqueKey":"surname.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"Last/family name for KYC verification. Set to null to clear.","example":"Chan","uniqueKey":"surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"surname","typeLabel":"string | null"},"dateOfBirth":{"oneOf":[{"type":"string","format":"date","description":"Date of birth in YYYY-MM-DD format. Set to null to clear.","example":"1990-06-15","uniqueKey":"dateOfBirth.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date of birth in YYYY-MM-DD format. Set to null to clear.","example":"1990-06-15","uniqueKey":"dateOfBirth.oneOf.1","typeLabel":"null"}],"uniqueKey":"dateOfBirth","typeLabel":"string\u003cdate> | null"},"idNumber":{"oneOf":[{"type":"string","maxLength":50,"description":"Government ID number for KYC verification. Country-specific format:\n- Hong Kong: HKID (e.g., \"A1234567\")\n- USA: Last 4 digits of SSN (e.g., \"1234\")\n- UK: National Insurance number (e.g., \"AB123456C\")\nSet to null to clear.\n","example":"A1234567","uniqueKey":"idNumber.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":50,"description":"Government ID number for KYC verification. Country-specific format:\n- Hong Kong: HKID (e.g., \"A1234567\")\n- USA: Last 4 digits of SSN (e.g., \"1234\")\n- UK: National Insurance number (e.g., \"AB123456C\")\nSet to null to clear.\n","example":"A1234567","uniqueKey":"idNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"idNumber","typeLabel":"string | null"},"countryCode":{"oneOf":[{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"HKG\", \"USA\", \"GBR\"). Set to null to clear.","example":"HKG","uniqueKey":"countryCode.oneOf.0","typeLabel":"string"},{"type":"null","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"HKG\", \"USA\", \"GBR\"). Set to null to clear.","example":"HKG","uniqueKey":"countryCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"countryCode","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Member address for KYC verification. Set to null to clear.","required":["countryCode"],"properties":{"countryCode":{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"USA\", \"PHL\", \"GBR\")","example":"PHL","isRequired":true,"uniqueKey":"address.oneOf.0.countryCode","typeLabel":"string"},"addressLine1":{"type":"string","maxLength":255,"description":"Street address, P.O. box, company name","example":"123 Rizal Avenue","uniqueKey":"address.oneOf.0.addressLine1","typeLabel":"string"},"addressLine2":{"type":"string","maxLength":255,"description":"Apartment, suite, unit, building, floor","example":"Unit 4B, Sunrise Building","uniqueKey":"address.oneOf.0.addressLine2","typeLabel":"string"},"city":{"type":"string","maxLength":255,"description":"City / Locality / Municipality","example":"Makati City","uniqueKey":"address.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","maxLength":255,"description":"State / Province / Region","example":"Metro Manila","uniqueKey":"address.oneOf.0.state","typeLabel":"string"},"postalCode":{"type":"string","maxLength":255,"description":"Postal / ZIP code","example":"1200","uniqueKey":"address.oneOf.0.postalCode","typeLabel":"string"},"district":{"type":"string","maxLength":255,"description":"District / Barangay (PH) / Borough (HK)","example":"Barangay Poblacion","uniqueKey":"address.oneOf.0.district","typeLabel":"string"},"neighborhood":{"type":"string","maxLength":255,"description":"Subdivision / Village","uniqueKey":"address.oneOf.0.neighborhood","typeLabel":"string"},"addressType":{"type":"string","enum":["residential","business","postal"],"description":"Type of address","example":"residential","uniqueKey":"address.oneOf.0.addressType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Member address for KYC verification. Set to null to clear.","required":["countryCode"],"properties":{"countryCode":{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"USA\", \"PHL\", \"GBR\")","example":"PHL"},"addressLine1":{"type":"string","maxLength":255,"description":"Street address, P.O. box, company name","example":"123 Rizal Avenue"},"addressLine2":{"type":"string","maxLength":255,"description":"Apartment, suite, unit, building, floor","example":"Unit 4B, Sunrise Building"},"city":{"type":"string","maxLength":255,"description":"City / Locality / Municipality","example":"Makati City"},"state":{"type":"string","maxLength":255,"description":"State / Province / Region","example":"Metro Manila"},"postalCode":{"type":"string","maxLength":255,"description":"Postal / ZIP code","example":"1200"},"district":{"type":"string","maxLength":255,"description":"District / Barangay (PH) / Borough (HK)","example":"Barangay Poblacion"},"neighborhood":{"type":"string","maxLength":255,"description":"Subdivision / Village"},"addressType":{"type":"string","enum":["residential","business","postal"],"description":"Type of address","example":"residential"}},"uniqueKey":"address.oneOf.1","typeLabel":"null"}],"uniqueKey":"address","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"updateIdentity":{"title":"updateIdentity","value":{"givenName":"Tai Man","surname":"Chan","dateOfBirth":"1990-06-15","idNumber":"A1234567"}},"updateFullProfile":{"title":"updateFullProfile","value":{"name":"Chan Tai Man","givenName":"Tai Man","surname":"Chan","dateOfBirth":"1990-06-15","idNumber":"A1234567","countryCode":"HKG","address":{"countryCode":"HKG","addressLine1":"123 Queen's Road Central","addressLine2":"Flat 12B, Tower 1","city":"Hong Kong","postalCode":"999077","addressType":"residential"}}},"updateName":{"title":"updateName","value":{"name":"Chan Tai Man"}},"updateAddress":{"title":"updateAddress","value":{"address":{"countryCode":"PHL","addressLine1":"123 Rizal Avenue","addressLine2":"Unit 4B, Sunrise Building","district":"Barangay Poblacion","city":"Makati City","state":"Metro Manila","postalCode":"1200","addressType":"residential"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"576a1904-47a9-42b8-aa5a-05cf4b6040fb":{"description":"Updated member profile","content":{"application/json":{"schema":{"type":"object","description":"Member profile information including identity fields for KYC and payout accounts","properties":{"id":{"type":"string","format":"uuid","description":"Member user ID","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","description":"Member display name (full name)","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Member display name (full name)","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"givenName":{"oneOf":[{"type":"string","description":"First/given name for KYC verification","example":"Tai Man","uniqueKey":"givenName.oneOf.0","typeLabel":"string"},{"type":"null","description":"First/given name for KYC verification","example":"Tai Man","uniqueKey":"givenName.oneOf.1","typeLabel":"null"}],"uniqueKey":"givenName","typeLabel":"string | null"},"surname":{"oneOf":[{"type":"string","description":"Last/family name for KYC verification","example":"Chan","uniqueKey":"surname.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last/family name for KYC verification","example":"Chan","uniqueKey":"surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"surname","typeLabel":"string | null"},"dateOfBirth":{"oneOf":[{"type":"string","format":"date","description":"Date of birth in YYYY-MM-DD format","example":"1990-06-15","uniqueKey":"dateOfBirth.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date of birth in YYYY-MM-DD format","example":"1990-06-15","uniqueKey":"dateOfBirth.oneOf.1","typeLabel":"null"}],"uniqueKey":"dateOfBirth","typeLabel":"string\u003cdate> | null"},"idNumber":{"oneOf":[{"type":"string","description":"Government ID number (country-specific - HKID, SSN last 4, etc.)","example":"A1234567","uniqueKey":"idNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Government ID number (country-specific - HKID, SSN last 4, etc.)","example":"A1234567","uniqueKey":"idNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"idNumber","typeLabel":"string | null"},"email":{"type":"string","format":"email","description":"Member email address","uniqueKey":"email","typeLabel":"string\u003cemail>"},"countryCode":{"oneOf":[{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code","example":"HKG","uniqueKey":"countryCode.oneOf.0","typeLabel":"string"},{"type":"null","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code","example":"HKG","uniqueKey":"countryCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"countryCode","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Member address following international address formats","required":["countryCode"],"properties":{"countryCode":{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"USA\", \"PHL\", \"GBR\")","example":"PHL","isRequired":true,"uniqueKey":"address.oneOf.0.countryCode","typeLabel":"string"},"addressLine1":{"type":"string","maxLength":255,"description":"Street address, P.O. box, company name","example":"123 Rizal Avenue","uniqueKey":"address.oneOf.0.addressLine1","typeLabel":"string"},"addressLine2":{"type":"string","maxLength":255,"description":"Apartment, suite, unit, building, floor","example":"Unit 4B, Sunrise Building","uniqueKey":"address.oneOf.0.addressLine2","typeLabel":"string"},"city":{"type":"string","maxLength":255,"description":"City / Locality / Municipality","example":"Makati City","uniqueKey":"address.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","maxLength":255,"description":"State / Province / Region","example":"Metro Manila","uniqueKey":"address.oneOf.0.state","typeLabel":"string"},"postalCode":{"type":"string","maxLength":255,"description":"Postal / ZIP code","example":"1200","uniqueKey":"address.oneOf.0.postalCode","typeLabel":"string"},"district":{"type":"string","maxLength":255,"description":"District / Barangay (PH) / Borough (HK)","example":"Barangay Poblacion","uniqueKey":"address.oneOf.0.district","typeLabel":"string"},"neighborhood":{"type":"string","maxLength":255,"description":"Subdivision / Village","uniqueKey":"address.oneOf.0.neighborhood","typeLabel":"string"},"addressType":{"type":"string","enum":["residential","business","postal"],"description":"Type of address","example":"residential","uniqueKey":"address.oneOf.0.addressType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Member address following international address formats","required":["countryCode"],"properties":{"countryCode":{"type":"string","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 country code (e.g., \"USA\", \"PHL\", \"GBR\")","example":"PHL"},"addressLine1":{"type":"string","maxLength":255,"description":"Street address, P.O. box, company name","example":"123 Rizal Avenue"},"addressLine2":{"type":"string","maxLength":255,"description":"Apartment, suite, unit, building, floor","example":"Unit 4B, Sunrise Building"},"city":{"type":"string","maxLength":255,"description":"City / Locality / Municipality","example":"Makati City"},"state":{"type":"string","maxLength":255,"description":"State / Province / Region","example":"Metro Manila"},"postalCode":{"type":"string","maxLength":255,"description":"Postal / ZIP code","example":"1200"},"district":{"type":"string","maxLength":255,"description":"District / Barangay (PH) / Borough (HK)","example":"Barangay Poblacion"},"neighborhood":{"type":"string","maxLength":255,"description":"Subdivision / Village"},"addressType":{"type":"string","enum":["residential","business","postal"],"description":"Type of address","example":"residential"}},"uniqueKey":"address.oneOf.1","typeLabel":"null"}],"uniqueKey":"address","typeLabel":"object | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","givenName":"Tai Man","surname":"Chan","dateOfBirth":"1990-06-15","idNumber":"A1234567","email":"jsmith@example.com","countryCode":"HKG","address":{"countryCode":"PHL","addressLine1":"123 Rizal Avenue","addressLine2":"Unit 4B, Sunrise Building","city":"Makati City","state":"Metro Manila","postalCode":"1200","district":"Barangay Poblacion","neighborhood":"\u003cstring>","addressType":"residential"},"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"headers":{"X-Environment":{"description":"Indicates the environment (LIVE or SANDBOX) the request was processed in (derived from API key)","schema":{"type":"string","enum":["LIVE","SANDBOX"]}}},"exampleType":"generated"},"dcb16087-3d5c-43d4-8eac-a9ca84150498":{"description":"Bad Request - Invalid input","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional error details","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid request body","code":"VALIDATION_ERROR","details":{"field":"email","message":"Invalid email format"}},"examples":{"Example":{"title":"Example","value":{"error":"Invalid request body","code":"VALIDATION_ERROR","details":{"field":"email","message":"Invalid email format"}}}},"exampleType":"examples"}},"exampleType":"examples"},"11127baa-4616-44ed-9927-4b2e220ef1f5":{"description":"Unauthorized - Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional error details","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_api_key":{"title":"missing_api_key","value":{"error":"Authentication required","code":"UNAUTHORIZED"}},"invalid_api_key":{"title":"invalid_api_key","value":{"error":"Invalid API key","code":"INVALID_API_KEY"}}},"exampleType":"examples"}},"exampleType":"examples"},"be99e982-f7e8-465b-8706-b24d4f67d25a":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional error details","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"d521af0e-3e3c-4f8d-9ee2-ae6e5a0c4715":{"description":"User not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional error details","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"dad399f4-f2c5-4aee-922f-9bef4c1ad69b":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional error details","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"An unexpected error occurred","code":"INTERNAL_ERROR"},"examples":{"Example":{"title":"Example","value":{"error":"An unexpected error occurred","code":"INTERNAL_ERROR"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b9909477-6f8d-40be-8555-3cdba36abc18":{"TenantApiKey":{"type":"apiKey","in":"header","name":"x-tenant-api-key","description":"Tenant API key for authentication. Keys are scoped to specific environments\n(LIVE or SANDBOX). Obtain keys from the admin dashboard.\n","scopes":[],"schemeName":"TenantApiKey"}}},"servers":{"732b5969-90fb-4a79-a271-98e3cd72af1a":{"url":"https://app.mlm-platform.com","description":"Production API"},"0a8814e8-16bf-46e5-a90f-b20f6af977c0":{"url":"http://localhost:3000","description":"Local Development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-tenant-api-key","description":"Tenant API key for authentication. Keys are scoped to specific environments\n(LIVE or SANDBOX). Obtain keys from the admin dashboard.\n","scopes":[],"schemeName":"TenantApiKey"},"schema":{"title":"x-tenant-api-key","type":"string","description":"Tenant API key for authentication. Keys are scoped to specific environments\n(LIVE or SANDBOX). Obtain keys from the admin dashboard.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"TenantApiKey","name":"x-tenant-api-key"}],"title":"TenantApiKey"}]},"originalFileLocation":"api/openapi.yaml"},"subdomain":"mlmplatform","siteName":"MLM Platform Developer Docs","title":"Update member profile - MLM Platform Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T13:02:22.099Z","originalFileLocation":"api-reference/users/update-member-profile.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates the member\u0026#x27;s profile fields such as country code and address. Authentication: Requires tenant API key or session authentication. Access Control: Members can update their own profile. Admins and API keys can update any user in the tenant. Country Code: Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \u0026quot;USA\u0026quot;, \u0026quot;PHL\u0026quot;, \u0026quot;GBR\u0026quot;). Address: If provided, must include a valid countryCode field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MLM Platform Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update member profile - MLM Platform Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the member\u0026#x27;s profile fields such as country code and address. Authentication: Requires tenant API key or session authentication. Access Control: Members can update their own profile. Admins and API keys can update any user in the tenant. Country Code: Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \u0026quot;USA\u0026quot;, \u0026quot;PHL\u0026quot;, \u0026quot;GBR\u0026quot;). Address: If provided, must include a valid countryCode field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MLM Platform Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mlm-platform.com/api-reference/users/update-member-profile\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mlmplatform.mintlify.app/_mintlify/api/og/v2?division=Member+APIs\u0026amp;title=Update+member+profile\u0026amp;description=Updates+the+member%27s+profile+fields+such+as+country+code+and+address.%0A%0A**Authentication%3A**+Requires+tenant+API+key+or+session+authentication.%0A%0A**Access+Control%3A\u0026amp;theme=803bfce9a722685f5f489f36\u0026amp;signature=bfad66a6566a646d770592a87f35fa0523cd164bfbfe36be1994cdf622c74d81\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update member profile - MLM Platform Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the member\u0026#x27;s profile fields such as country code and address. Authentication: Requires tenant API key or session authentication. Access Control: Members can update their own profile. Admins and API keys can update any user in the tenant. Country Code: Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \u0026quot;USA\u0026quot;, \u0026quot;PHL\u0026quot;, \u0026quot;GBR\u0026quot;). Address: If provided, must include a valid countryCode field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mlmplatform.mintlify.app/_mintlify/api/og/v2?division=Member+APIs\u0026amp;title=Update+member+profile\u0026amp;description=Updates+the+member%27s+profile+fields+such+as+country+code+and+address.%0A%0A**Authentication%3A**+Requires+tenant+API+key+or+session+authentication.%0A%0A**Access+Control%3A\u0026amp;theme=803bfce9a722685f5f489f36\u0026amp;signature=bfad66a6566a646d770592a87f35fa0523cd164bfbfe36be1994cdf622c74d81\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mlmplatform/Im44tvVHNrW0ssYn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MLM Platform Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mlm-platform.com/api-reference/users/update-member-profile\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/users/update-member-profile.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mlm-platform.com/#organization\",\"name\":\"MLM Platform Developer Docs\",\"url\":\"https://docs.mlm-platform.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mlmplatform/Nr561ivSKS0ie7HP/logo/light.svg?fit=max\u0026auto=format\u0026n=Nr561ivSKS0ie7HP\u0026q=85\u0026s=bb54d81014d5b35f7ab3c2233573c5f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mlm-platform.com#website\",\"name\":\"MLM Platform Developer Docs\",\"url\":\"https://docs.mlm-platform.com\",\"publisher\":{\"@id\":\"https://docs.mlm-platform.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile#webpage\",\"url\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile\",\"name\":\"Update member profile\",\"description\":\"Updates the member's profile fields such as country code and address. Authentication: Requires tenant API key or session authentication. Access Control: Members can update their own profile. Admins and API keys can update any user in the tenant. Country Code: Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \\\"USA\\\", \\\"PHL\\\", \\\"GBR\\\"). Address: If provided, must include a valid countryCode field.\",\"dateModified\":\"2026-10-09T13:02:22.099Z\",\"isPartOf\":{\"@id\":\"https://docs.mlm-platform.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.mlm-platform.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Member APIs\",\"item\":\"https://docs.mlm-platform.com/api-reference/genealogy/get-members-downline-tree\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update member profile\",\"item\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile#apireference\",\"headline\":\"Update member profile\",\"name\":\"Update member profile\",\"description\":\"Updates the member's profile fields such as country code and address. Authentication: Requires tenant API key or session authentication. Access Control: Members can update their own profile. Admins and API keys can update any user in the tenant. Country Code: Must be a 3-letter ISO 3166-1 alpha-3 code (e.g., \\\"USA\\\", \\\"PHL\\\", \\\"GBR\\\"). Address: If provided, must include a valid countryCode field.\",\"url\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mlm-platform.com/api-reference/users/update-member-profile#webpage\"},\"dateModified\":\"2026-10-09T13:02:22.099Z\",\"publisher\":{\"@id\":\"https://docs.mlm-platform.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mlm-platform.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MLM Platform Developer Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MLM Platform Developer Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/AVC-Revenue/MLM-Platform"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/mlm-platform"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"group":"Core APIs","pages":[{"title":"Record a purchase event","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/events/purchase","href":"/api-reference/events/record-a-purchase-event"},{"title":"Create a new member","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/users","href":"/api-reference/users/create-a-new-member"},{"title":"Get user status and commission summary","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/users/status","href":"/api-reference/users/get-user-status-and-commission-summary"},{"title":"Capture a lead","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/leads/capture","href":"/api-reference/leads/capture-a-lead"},{"title":"Get referral link for a user","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/referral-link","href":"/api-reference/referrals/get-referral-link-for-a-user"},{"title":"Create a widget access token","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/widget/session","href":"/api-reference/widget/create-a-widget-access-token"}]},{"group":"Federated Auth","pages":[{"title":"Exchange external JWT for MLM tokens","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/auth/exchange","href":"/api-reference/auth/exchange-external-jwt-for-mlm-tokens"},{"title":"Link external user to MLM user","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/auth/link","href":"/api-reference/auth/link-external-user-to-mlm-user"},{"title":"Find MLM user by external ID","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/auth/user-by-external-id","href":"/api-reference/auth/find-mlm-user-by-external-id"},{"title":"Validate an access token","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/auth/validate","href":"/api-reference/auth/validate-an-access-token"},{"title":"Refresh an access token","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/auth/refresh","href":"/api-reference/auth/refresh-an-access-token"},{"title":"Revoke a token","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/auth/revoke","href":"/api-reference/auth/revoke-a-token"},{"title":"Get OIDC discovery configuration","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /.well-known/openid-configuration","href":"/api-reference/auth/get-oidc-discovery-configuration"},{"title":"Get JSON Web Key Set","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /.well-known/jwks.json","href":"/api-reference/auth/get-json-web-key-set"}]},{"group":"Admin Auth Providers","pages":[{"title":"List external auth providers","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/admin/auth/providers","href":"/api-reference/auth/list-external-auth-providers"},{"title":"Create or update an external auth provider","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/admin/auth/providers","href":"/api-reference/auth/create-or-update-an-external-auth-provider"}]},{"group":"Member APIs","pages":[{"title":"Get member's downline tree","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/genealogy","href":"/api-reference/genealogy/get-members-downline-tree"},{"title":"Get member's upline path","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/upline","href":"/api-reference/genealogy/get-members-upline-path"},{"title":"Get relationship between two members","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/relationship/{targetUserId}","href":"/api-reference/genealogy/get-relationship-between-two-members"},{"title":"Get referral statistics","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/referral-stats","href":"/api-reference/referrals/get-referral-statistics"},{"title":"Generate referral QR code","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/referral-qr","href":"/api-reference/referrals/generate-referral-qr-code"},{"title":"Get commission history","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/commissions","href":"/api-reference/commissions/get-commission-history"},{"title":"Get commission breakdown","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/commissions/breakdown","href":"/api-reference/commissions/get-commission-breakdown"},{"title":"Get annual tax summary","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml get /api/v1/members/{userId}/tax-summary/{year}","href":"/api-reference/commissions/get-annual-tax-summary"},{"title":"Get member profile","description":"Retrieves the member's profile including country code and address information.\n\n**Authentication:** Requires tenant API key or session authentication.\n\n**Access Control:** Members can access their own profile. Admins and API keys can access any user in the tenant.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/members/{userId}/profile","href":"/api-reference/users/get-member-profile"},{"title":"Update member profile","deprecated":null,"version":null,"openapi":"/api/openapi.yaml patch /api/v1/members/{userId}/profile","href":"/api-reference/users/update-member-profile"}]},{"group":"Payout","pages":[{"title":"List payout methods with field metadata","description":"Returns payout method definitions (per country) including full field metadata for dynamic form rendering.\nEach method includes an `enabled` flag derived from tenant configuration.\n\nUse this endpoint to discover valid payout method IDs (`methods[].id`) and to learn which `details` keys are required\nwhen creating payout accounts.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/payout-methods","href":"/api-reference/payout/list-payout-methods-with-field-metadata"}]},{"group":"Member KYC","pages":[{"title":"Start KYC verification","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/members/{userId}/kyc/start","href":"/api-reference/kyc/start-kyc-verification"},{"title":"Get KYC status and documents","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/members/{userId}/kyc","href":"/api-reference/kyc/get-kyc-status-and-documents"},{"title":"Create signed upload URL for KYC document bytes","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/members/{userId}/kyc/documents/upload-url","href":"/api-reference/kyc/create-signed-upload-url-for-kyc-document-bytes"},{"title":"List uploaded KYC documents","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/members/{userId}/kyc/documents","href":"/api-reference/kyc/list-uploaded-kyc-documents"},{"title":"Record KYC document metadata after upload","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/members/{userId}/kyc/documents","href":"/api-reference/kyc/record-kyc-document-metadata-after-upload"}]},{"group":"Admin KYC","pages":[{"title":"List KYC reviews","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/admin/kyc","href":"/api-reference/admin-kyc/list-kyc-reviews"},{"title":"List KYC reviews (alias)","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/admin/kyc/pending","href":"/api-reference/admin-kyc/list-kyc-reviews-alias"},{"title":"Get KYC review detail","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/admin/kyc/{kycId}","href":"/api-reference/admin-kyc/get-kyc-review-detail"},{"title":"Get signed preview URL for a KYC document","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/admin/kyc/documents/{documentId}","href":"/api-reference/admin-kyc/get-signed-preview-url-for-a-kyc-document"},{"title":"Approve KYC","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/admin/kyc/{kycId}/approve","href":"/api-reference/admin-kyc/approve-kyc"},{"title":"Reject KYC","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/admin/kyc/{kycId}/reject","href":"/api-reference/admin-kyc/reject-kyc"},{"title":"Request KYC document resubmission","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/admin/kyc/{kycId}/request-resubmit","href":"/api-reference/admin-kyc/request-kyc-document-resubmission"},{"title":"Request KYC document resubmission (alias)","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/admin/kyc/{kycId}/resubmit","href":"/api-reference/admin-kyc/request-kyc-document-resubmission-alias"}]},{"group":"Payout Accounts","pages":[{"title":"List member payout accounts","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/members/{userId}/payout-accounts","href":"/api-reference/payout-accounts/list-member-payout-accounts"},{"title":"Create member payout account","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/members/{userId}/payout-accounts","href":"/api-reference/payout-accounts/create-member-payout-account"},{"title":"Get member payout account","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /api/v1/members/{userId}/payout-accounts/{accountId}","href":"/api-reference/payout-accounts/get-member-payout-account"},{"title":"Update member payout account","deprecated":null,"version":null,"openapi":"/api/openapi.yaml put /api/v1/members/{userId}/payout-accounts/{accountId}","href":"/api-reference/payout-accounts/update-member-payout-account"},{"title":"Delete (deactivate) member payout account","deprecated":null,"version":null,"openapi":"/api/openapi.yaml delete /api/v1/members/{userId}/payout-accounts/{accountId}","href":"/api-reference/payout-accounts/delete-deactivate-member-payout-account"}]},{"group":"Webhooks","pages":[{"title":"Stripe webhook receiver","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/webhooks/stripe","href":"/api-reference/webhooks/stripe-webhook-receiver"},{"title":"Wise webhook receiver","deprecated":null,"version":null,"openapi":"/api/openapi-integration.yaml post /api/v1/webhooks/wise","href":"/api-reference/webhooks/wise-webhook-receiver"},{"title":"Sumsub KYC webhook receiver","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /api/v1/webhooks/kyc/sumsub","href":"/api-reference/webhooks/sumsub-kyc-webhook-receiver"}]}]}]}]},"basePath":"","title":"Update member profile - MLM Platform Developer Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}