Stripe Payment Method ID (pm_xxx). Sets the customer's default payment method on file.
Monk retrieves payment method details (last4, brand, type) from Stripe automatically.
Requires paymentMethodType. Requires the org to have a Stripe integration configured.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Monk API","colors":{"primary":"#EE5F00","light":"#FF8F67","dark":"#E73E00"},"logo":{"light":"https://mintcdn.com/monk-c4d823f6/rx1bQQkz2eDq5D3O/logo/logo-monk.svg?fit=max\u0026auto=format\u0026n=rx1bQQkz2eDq5D3O\u0026q=85\u0026s=31122cf1f65e80bbaa3e358b69b2cfe6","dark":"https://mintcdn.com/monk-c4d823f6/rx1bQQkz2eDq5D3O/logo/logo-monk.svg?fit=max\u0026auto=format\u0026n=rx1bQQkz2eDq5D3O\u0026q=85\u0026s=31122cf1f65e80bbaa3e358b69b2cfe6"},"favicon":"https://mintcdn.com/monk-c4d823f6/rx1bQQkz2eDq5D3O/logo/logo-monk.svg?fit=max\u0026auto=format\u0026n=rx1bQQkz2eDq5D3O\u0026q=85\u0026s=31122cf1f65e80bbaa3e358b69b2cfe6","api":{"openapi":["openapi/customers.yaml","openapi/invoices.yaml","openapi/portals.yaml","openapi/pricing.yaml"],"playground":{"display":"interactive"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"monk-c4d823f6","hasAudioNarration":false,"actualSubdomain":"monk-c4d823f6","customDomains":["docs.monk.com"],"gitSource":{"type":"github","owner":"withatlas","repo":"monk","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae91a342a3bd71ab749c8c8","collectionId":"a62a5ca0-a518-46f9-88c6-451db25026d5","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae91a342a3bd71ab749c8c8"},"entitlements":{},"buildId":"6ae91a342a3bd71ab749c8c8","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Documentation","count":20},{"language":"default","tag":"API Reference","count":19},{"language":"default","tag":"Integrations","count":14},{"language":"default","tag":"Portal Tasks","count":9},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Pricing","count":3},{"language":"default","tag":"Webhooks","count":2},{"language":"default","tag":"Invoices","count":2},{"language":"default","tag":"Core Concepts","count":1}]},"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},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/update-customer","slug":"/api-reference/update-customer","pageMetadata":{"title":"Update Customer","description":"Update a customer. At least one field required.","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml patch /v1/customers/{customerId}","href":"/api-reference/update-customer","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a customer. At least one field required.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scope:`}),` `,_jsx(_components.code,{children:`customers:write`})]})}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 Customer","description":"Update a customer. At least one field required.","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml patch /v1/customers/{customerId}","href":"/api-reference/update-customer","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateCustomer","summary":"Update Customer","description":"Update a customer. At least one field required.","x-mint":{"content":"**Scope:** `customers:write`"},"parameters":["030c4561-6dcf-4bcc-ac9b-b85bd44d0010"],"requestBody":"382d17c7-44bb-4a17-beea-2a9a5fa44ef5","responses":{"200":"9327d433-10d5-4c0b-b0c8-5732c81a0273","401":"cdb760c5-0e68-4271-aa51-92a15ae2b65c","404":"f80a4379-c797-4922-bc71-9d5358830dd8","409":"3007c99b-5713-4bb8-8dce-9e5864041f36","422":"f402df1b-c0de-4ade-a61c-1ff8ccd5c7d1"},"method":"patch","type":"path","servers":["ffa7bb39-d6da-460e-95cb-8f28d46b6ec4","ee499c8e-ed0b-4607-9390-9710f9a86898"],"security":["ef9f6860-a6d7-4591-8120-d09f45913d16"],"path":"/v1/customers/{customerId}","baseUrlOptions":["https://api.monk.com","https://api-sandbox.monk.com"],"title":"Update Customer","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"030c4561-6dcf-4bcc-ac9b-b85bd44d0010":{"name":"customerId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"legalName":{"oneOf":[{"type":"string","description":"Pass `null` to clear","uniqueKey":"legalName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pass `null` to clear","uniqueKey":"legalName.oneOf.1","typeLabel":"null"}],"uniqueKey":"legalName","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"Replaces existing tags","uniqueKey":"tags","typeLabel":"string[]"},"externalCustomerId":{"type":"string","uniqueKey":"externalCustomerId","typeLabel":"string"},"paymentProviderId":{"type":"string","description":"Stripe customer ID (`cus_xxx`). Requires `provider`.","uniqueKey":"paymentProviderId","typeLabel":"string"},"provider":{"type":"string","enum":["stripe"],"description":"Payment provider. Requires `paymentProviderId`.","uniqueKey":"provider","typeLabel":"enum\u003cstring>"},"paymentMethodId":{"type":"string","description":"Stripe Payment Method ID (`pm_xxx`). Sets the customer's default payment method on file.\nMonk retrieves payment method details (last4, brand, type) from Stripe automatically.\nRequires `paymentMethodType`. Requires the org to have a Stripe integration configured.\n","uniqueKey":"paymentMethodId","typeLabel":"string"},"paymentMethodType":{"type":"string","enum":["card","us_bank_account"],"description":"Type of payment method. Required when `paymentMethodId` is provided.","uniqueKey":"paymentMethodType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","legalName":"\u003cstring>","tags":["\u003cstring>"],"externalCustomerId":"\u003cstring>","paymentProviderId":"\u003cstring>","provider":"stripe","paymentMethodId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9327d433-10d5-4c0b-b0c8-5732c81a0273":{"description":"Customer updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.name","typeLabel":"string"},"legalName":{"oneOf":[{"type":"string","uniqueKey":"data.legalName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.legalName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.legalName","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"data.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.tags","typeLabel":"string[]"},"isPaused":{"type":"boolean","uniqueKey":"data.isPaused","typeLabel":"boolean"},"pausedAt":{"oneOf":[{"type":"string","uniqueKey":"data.pausedAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.pausedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pausedAt","typeLabel":"string | null"},"pausedUntil":{"oneOf":[{"type":"string","format":"date","description":"Date when customer-level invoice sending resumes automatically (`YYYY-MM-DD`), or `null` for no auto-resume date.","uniqueKey":"data.pausedUntil.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when customer-level invoice sending resumes automatically (`YYYY-MM-DD`), or `null` for no auto-resume date.","uniqueKey":"data.pausedUntil.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pausedUntil","typeLabel":"string\u003cdate> | null"},"invoiceViaPortal":{"type":"boolean","description":"Whether this customer receives invoices via a portal","uniqueKey":"data.invoiceViaPortal","typeLabel":"boolean"},"portals":{"type":"array","description":"Portal configurations for the customer","items":{"type":"object","properties":{"provider":{"type":"string","enum":["coupa","sap_ariba","bill_com","tipalti","other"],"uniqueKey":"data.portals.items.[INDEX].provider","typeLabel":"enum\u003cstring>"},"customProviderName":{"oneOf":[{"type":"string","description":"Portal provider name when `provider` is `other`","uniqueKey":"data.portals.items.[INDEX].customProviderName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Portal provider name when `provider` is `other`","uniqueKey":"data.portals.items.[INDEX].customProviderName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.portals.items.[INDEX].customProviderName","typeLabel":"string | null"},"portalUrl":{"oneOf":[{"type":"string","uniqueKey":"data.portals.items.[INDEX].portalUrl.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.portals.items.[INDEX].portalUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.portals.items.[INDEX].portalUrl","typeLabel":"string | null"}},"uniqueKey":"data.portals.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.portals","typeLabel":"object[]"},"metadata":{"type":"object","properties":{"externalCustomerId":{"oneOf":[{"type":"string","uniqueKey":"data.metadata.externalCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.metadata.externalCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata.externalCustomerId","typeLabel":"string | null"},"externalCompanyIds":{"type":"array","items":{"type":"string","uniqueKey":"data.metadata.externalCompanyIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.metadata.externalCompanyIds","typeLabel":"string[]"}},"uniqueKey":"data.metadata","typeLabel":"object"},"externalIds":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["hubspot","quickbooks","stripe","salesforce","netsuite"],"uniqueKey":"data.externalIds.items.[INDEX].provider","typeLabel":"enum\u003cstring>"},"entityType":{"type":"string","enum":["customer"],"uniqueKey":"data.externalIds.items.[INDEX].entityType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"data.externalIds.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"data.externalIds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.externalIds","typeLabel":"object[]"},"billingContacts":{"type":"array","description":"Customer-level billing contacts (`accounts_payable` / Accounts Payable). Does not include contract- or invoice-specific contacts.","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"data.billingContacts.items.[INDEX].name","typeLabel":"string"},"email":{"oneOf":[{"type":"string","format":"email","description":"Null for contacts reachable only by phone.","uniqueKey":"data.billingContacts.items.[INDEX].email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Null for contacts reachable only by phone.","uniqueKey":"data.billingContacts.items.[INDEX].email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.billingContacts.items.[INDEX].email","typeLabel":"string\u003cemail> | null"},"phone":{"oneOf":[{"type":"string","uniqueKey":"data.billingContacts.items.[INDEX].phone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.billingContacts.items.[INDEX].phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.billingContacts.items.[INDEX].phone","typeLabel":"string | null"}},"uniqueKey":"data.billingContacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.billingContacts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","name":"\u003cstring>","legalName":"\u003cstring>","tags":["\u003cstring>"],"isPaused":true,"pausedAt":"\u003cstring>","pausedUntil":"2023-12-25","invoiceViaPortal":true,"portals":[{"provider":"coupa","customProviderName":"\u003cstring>","portalUrl":"\u003cstring>"}],"metadata":{"externalCustomerId":"\u003cstring>","externalCompanyIds":["\u003cstring>"]},"externalIds":[{"provider":"hubspot","entityType":"customer","id":"\u003cstring>"}],"billingContacts":[{"name":"\u003cstring>","email":"jsmith@example.com","phone":"\u003cstring>"}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"cdb760c5-0e68-4271-aa51-92a15ae2b65c":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f80a4379-c797-4922-bc71-9d5358830dd8":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3007c99b-5713-4bb8-8dce-9e5864041f36":{"description":"Payment provider customer already linked to another customer","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f402df1b-c0de-4ade-a61c-1ff8ccd5c7d1":{"description":"Validation error. Possible error codes:\n- `VALIDATION_ERROR` — request body validation failed\n- `STRIPE_NOT_CONFIGURED` — org has no Stripe integration (required for `paymentMethodId`)\n- `PAYMENT_METHOD_INVALID` — could not retrieve payment method from Stripe (invalid `pm_xxx`)\n","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ef9f6860-a6d7-4591-8120-d09f45913d16":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"ffa7bb39-d6da-460e-95cb-8f28d46b6ec4":{"url":"https://api.monk.com","description":"Production"},"ee499c8e-ed0b-4607-9390-9710f9a86898":{"url":"https://api-sandbox.monk.com","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/customers.yaml"},"subdomain":"monk-c4d823f6","siteName":"Monk API","title":"Update Customer - Monk API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T16:03:25.094Z","originalFileLocation":"api-reference/update-customer.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=\"Update a customer. At least one field required.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Monk API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_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/monk-c4d823f6/nFt2Vdb22snqqTE2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Customer - Monk API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a customer. At least one field required.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Monk API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.monk.com/api-reference/update-customer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://monk-c4d823f6.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Update+Customer\u0026amp;description=Update+a+customer.+At+least+one+field+required.\u0026amp;theme=356a2a27950367233e92d29a\u0026amp;signature=a005f9e221176a5de0db5b440da710f560811000c61394fa1c719294db9bc417\">\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 Customer - Monk API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a customer. At least one field required.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://monk-c4d823f6.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Update+Customer\u0026amp;description=Update+a+customer.+At+least+one+field+required.\u0026amp;theme=356a2a27950367233e92d29a\u0026amp;signature=a005f9e221176a5de0db5b440da710f560811000c61394fa1c719294db9bc417\">\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/monk-c4d823f6/nFt2Vdb22snqqTE2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Monk API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EE5F00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.monk.com/api-reference/update-customer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/update-customer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.monk.com/#organization\",\"name\":\"Monk API\",\"url\":\"https://docs.monk.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/monk-c4d823f6/rx1bQQkz2eDq5D3O/logo/logo-monk.svg?fit=max\u0026auto=format\u0026n=rx1bQQkz2eDq5D3O\u0026q=85\u0026s=31122cf1f65e80bbaa3e358b69b2cfe6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.monk.com#website\",\"name\":\"Monk API\",\"url\":\"https://docs.monk.com\",\"publisher\":{\"@id\":\"https://docs.monk.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.monk.com/api-reference/update-customer#webpage\",\"url\":\"https://docs.monk.com/api-reference/update-customer\",\"name\":\"Update Customer\",\"description\":\"Update a customer. At least one field required.\",\"dateModified\":\"2026-10-22T16:03:25.094Z\",\"isPartOf\":{\"@id\":\"https://docs.monk.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.monk.com/api-reference/update-customer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.monk.com/api-reference/update-customer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://docs.monk.com/api-reference/create-customer\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Customer\",\"item\":\"https://docs.monk.com/api-reference/update-customer\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.monk.com/api-reference/update-customer#apireference\",\"headline\":\"Update Customer\",\"name\":\"Update Customer\",\"description\":\"Update a customer. At least one field required.\",\"url\":\"https://docs.monk.com/api-reference/update-customer\",\"mainEntityOfPage\":{\"@id\":\"https://docs.monk.com/api-reference/update-customer#webpage\"},\"dateModified\":\"2026-10-22T16:03:25.094Z\",\"publisher\":{\"@id\":\"https://docs.monk.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.monk.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Monk API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Monk API","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Customers","pages":[{"title":"Create Customer","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml post /v1/customers","href":"/api-reference/create-customer"},{"title":"List Customers","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml get /v1/customers","href":"/api-reference/list-customers"},{"title":"Get Customer","description":"Retrieve a customer by ID, including customer-level billing contacts.","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml get /v1/customers/{customerId}","href":"/api-reference/get-customer"},{"title":"Update Customer","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml patch /v1/customers/{customerId}","href":"/api-reference/update-customer"},{"title":"Assign Customer CSMs","description":"Assign Customer Success Manager contacts to customers by Stripe customer ID.\n\nMonk resolves each Stripe customer ID within the authenticated organization.\nFor each matched customer, existing imported CSM contacts are demoted to\n`Unreachable` except the incoming CSM email, then the incoming CSM is\ncreated or updated. Manually-created CSM contacts are preserved.\n","deprecated":null,"version":null,"openapi":"/openapi/customers.yaml post /v1/customers/csm-assignments","href":"/api-reference/assign-customer-csms"}]},{"group":"Invoices","pages":[{"title":"List Invoices","deprecated":null,"version":null,"openapi":"/openapi/invoices.yaml get /v1/invoices","href":"/api-reference/list-invoices"},{"title":"Get Invoice","deprecated":null,"version":null,"openapi":"/openapi/invoices.yaml get /v1/invoices/{invoiceId}","href":"/api-reference/get-invoice"}]},{"group":"Portal Tasks","pages":[{"title":"List Portal Tasks","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml get /v1/portal-tasks","href":"/api-reference/list-portal-tasks"},{"title":"Get Portal Task","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml get /v1/portal-tasks/{portalTaskId}","href":"/api-reference/get-portal-task"},{"title":"Find Portal Verification Codes","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml post /v1/portal-tasks/{portalTaskId}/verification-code","href":"/api-reference/find-portal-verification-codes"},{"title":"List Portal Task Events","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml get /v1/portal-tasks/{portalTaskId}/events","href":"/api-reference/list-portal-task-events"},{"title":"List Portal Task Activity","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml get /v1/portal-tasks/events","href":"/api-reference/list-portal-task-activity"},{"title":"Portal Task Summary","deprecated":null,"version":null,"openapi":"/openapi/portals.yaml get /v1/portal-tasks/summary","href":"/api-reference/portal-task-summary"},{"title":"List Portals (deprecated)","deprecated":true,"version":null,"openapi":"/openapi/portals.yaml get /v1/portals","href":"/api-reference/list-portals-deprecated"},{"title":"Get Portal (deprecated)","deprecated":true,"version":null,"openapi":"/openapi/portals.yaml get /v1/portals/{portalId}","href":"/api-reference/get-portal-deprecated"},{"title":"Portal Summary (deprecated)","deprecated":true,"version":null,"openapi":"/openapi/portals.yaml get /v1/portals/summary","href":"/api-reference/portal-summary-deprecated"}]},{"group":"Pricing","pages":[{"title":"Create Pricing","deprecated":null,"version":null,"openapi":"/openapi/pricing.yaml post /v1/pricing","href":"/api-reference/create-pricing"},{"title":"List Pricing","deprecated":null,"version":null,"openapi":"/openapi/pricing.yaml get /v1/pricing","href":"/api-reference/list-pricing"},{"title":"Get Pricing","deprecated":null,"version":null,"openapi":"/openapi/pricing.yaml get /v1/pricing/{pricingId}","href":"/api-reference/get-pricing"}]}]}]},"basePath":"","title":"Update Customer - Monk API","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-Buji1S4J.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}