{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Drivly Docs","colors":{"primary":"#00CAB9","light":"#A8F6F6","dark":"#03C2B2"},"favicon":"favicon.svg","logo":{"light":"https://mintcdn.com/drivly/lS-LOhC8keZU5zBZ/logo/light.svg?fit=max\u0026auto=format\u0026n=lS-LOhC8keZU5zBZ\u0026q=85\u0026s=2949247e5550eeee3c33c8516df55d81","dark":"https://mintcdn.com/drivly/lS-LOhC8keZU5zBZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=lS-LOhC8keZU5zBZ\u0026q=85\u0026s=f76b40c1a0f68056c33562b70022bce6"},"background":{"decoration":null,"color":{"light":null,"dark":"#121212"}},"navbar":{"links":[{"label":"Contact","href":"mailto:sales@driv.ly"}],"primary":{"type":"button","label":"Join waitlist","href":"https://drivly.ai/contact"}},"footer":{"socials":{"twitter":"https://twitter.com/drivly","github":"https://github.com/drivly","linkedin":"https://www.linkedin.com/company/drivly"}},"integrations":{"ga4":{"measurementId":"G-T45DEGR8GE"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"drivly","hasAudioNarration":false,"actualSubdomain":"drivly","customDomains":["docs.driv.ly"],"gitSource":{"type":"github","owner":"drivly","repo":"docs.driv.ly","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e607b8c65e77d66776a6","collectionId":"e946aa0a-f5cd-4ff9-910f-45b21375f2b6","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e607b8c65e77d66776a6:success","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Documentation","count":290},{"language":"default","tag":"API Reference","count":188},{"language":"default","tag":"Services","count":166},{"language":"default","tag":"Data","count":92},{"language":"default","tag":"Commerce","count":52},{"language":"default","tag":"AI","count":43},{"language":"default","tag":"Entities","count":32},{"language":"default","tag":"Companies","count":26},{"language":"default","tag":"Vehicle","count":21},{"language":"default","tag":"Listings","count":20}]},"assistantConfig":{},"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":[{"filePath":"snippets/snippets.css","content":":root{--story-board-background:#f9f8fc;--story-board-border:#e2e2e7;--hero-background:#fbfbfc}.dark{--story-board-background:#1a1a1a;--story-board-border:#333;--hero-background:#1a1a1a}.storyBoard{padding:32px 24px;background-color:var(--story-board-background);font-size:16px;line-height:36px;border-radius:4px}.heroContent{background-color:var(--hero-background)}"}],"page":{"pagePath":"ai/api-reference/sales/update-an-existing-sales-rep","slug":"/ai/api-reference/sales/update-an-existing-sales-rep","pageMetadata":{"openapi":"Commerce patch /salesreps/{id}","title":"Update an existing Sales Rep","description":null,"href":"/ai/api-reference/sales/update-an-existing-sales-rep"},"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":{"openapi":"Commerce patch /salesreps/{id}","title":"Update an existing Sales Rep","description":null,"href":"/ai/api-reference/sales/update-an-existing-sales-rep"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/drivly/e3b0c44298fc1c14/augment-docs.js","/_mintlify/custom/drivly/13b28860dab2dbb1/generate-examples.js","/_mintlify/custom/drivly/51178f86c52b51b0/commerce/needWork.js","/_mintlify/custom/drivly/2c75ac436d1b00e4/services/finance-and-insurance/pre-approval/otherApi.js","/_mintlify/custom/drivly/c218e26da81e9d98/commerce/ohNotWorking.js","/_mintlify/custom/drivly/20977b91dae647eb/ai/validate.js"],"openApiReferenceData":{"operation":{"responses":{"200":"f8888438-2ba3-44c1-b955-815bfec35051","401":"1654ca8c-2140-4ad3-88be-40679726cf2c","404":"53d4e54f-5d7f-40df-9f31-bf2547a1c7ce","429":"9b1eefc3-3723-4f8f-a79f-dd0a3813484f"},"requestBody":"839ab54b-866b-411a-946f-bcd1370dab32","summary":"Update an existing Sales Rep","operationId":"patch-salesrep","method":"patch","type":"path","servers":["97d902c7-7c79-48c5-91b0-8ede0ad052a3"],"security":[],"path":"/salesreps/{id}","baseUrlOptions":["https://commerce.driv.ly/api"],"title":"Update an existing Sales Rep","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"89943080-5a9b-4aa1-b676-da9870c971e3":{"schema":{"type":"string","isRequired":true,"description":"Contact is uniquely identified by id","uniqueKey":"","typeLabel":"string"},"name":"id","in":"path","required":true,"description":"Contact is uniquely identified by id"},"f01a796c-50cf-4675-8887-19391379388b":{"schema":{"type":"integer","isRequired":false,"description":"The number of levels of related objects to include in the response","uniqueKey":"","typeLabel":"integer"},"name":"depth","in":"query","required":false,"description":"The number of levels of related objects to include in the response"}},"requestBody":{"content":{"application/json":{"schema":{"$id":"UpdateSalesRep","title":"Sales Rep","examples":[{"id":"srep_8f9v2j1kd92j","emails":["sales.rep@example.com","contact@example.com"],"lastName":"Smith","firstName":"Alice","templates":["Welcome Template","Follow-up Template"],"creditBands":["Prime","Subprime"],"primaryEmail":"sales.rep@example.com","phoneNumbers":["+1-555-0123","+1-555-0456"],"primaryPhoneNumber":"+1-555-0123","isAcceptingNewLeads":true}],"properties":{"id":{"type":"string","description":"Contact is uniquely identified by id","uniqueKey":"id","typeLabel":"string"},"agent":{"oneOf":[{"type":"string","description":"Contact is automated Agent","uniqueKey":"agent.oneOf.0","typeLabel":"string"},{"type":"object","title":"Agent","description":"Contact is automated Agent","required":["id","model"],"example":{"id":"ai_3jks93ndk3s9","model":"gpt-4o","prompt":"Respond to the customer service request","functions":["fnc_ed904md03684"]},"properties":{"id":{"type":"string","description":"Agent is uniquely identified by id","isRequired":true,"uniqueKey":"agent.oneOf.1.id","typeLabel":"string"},"model":{"type":"string","description":"Agent has Agent Model","isRequired":true,"uniqueKey":"agent.oneOf.1.model","typeLabel":"string"},"prompt":{"type":"string","description":"Agent has Prompt","uniqueKey":"agent.oneOf.1.prompt","typeLabel":"string"},"functions":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.1.functions.items.[INDEX]","typeLabel":"string"},"description":"Agent has Function","uniqueKey":"agent.oneOf.1.functions","typeLabel":"string[]"}},"uniqueKey":"agent.oneOf.1","typeLabel":"Agent · object"}],"uniqueKey":"agent","typeLabel":"string | Agent · object"},"address":{"oneOf":[{"type":"string","description":"Contact has Address","uniqueKey":"address.oneOf.0","typeLabel":"string"},{"type":"object","title":"Address","description":"Contact has Address","required":["id","city","zip","line1"],"example":{"id":"adr_2kj49d1msod2","zip":"62704","city":{"name":"Springfield","state":{"code":"IL"}},"line2":"Apt 201","line1":"456 Elm Street"},"properties":{"id":{"type":"string","description":"Address is uniquely identified by id","isRequired":true,"uniqueKey":"address.oneOf.1.id","typeLabel":"string"},"city":{"oneOf":[{"type":"object","description":"Address is located in City","required":["state","name"],"properties":{"state":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"object","title":"State","required":["code"],"properties":{"code":{"type":"string","description":"State is uniquely identified by State Code","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0.state.oneOf.1.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0.state.oneOf.1","typeLabel":"State · object"}],"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0.state","typeLabel":"string | State · object"},"name":{"type":"string","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.0","typeLabel":"object"},{"type":"object","title":"City","description":"Address is located in City","required":["state","name"],"example":{"name":"Springfield","state":{"code":"IL"}},"properties":{"state":{"oneOf":[{"type":"string","description":"City is uniquely identified by State","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1.state.oneOf.0","typeLabel":"string"},{"type":"object","title":"State","description":"City is uniquely identified by State","required":["code"],"properties":{"code":{"type":"string","description":"State is uniquely identified by State Code","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1.state.oneOf.1.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1.state.oneOf.1","typeLabel":"State · object"}],"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1.state","typeLabel":"string | State · object"},"name":{"type":"string","description":"City is uniquely identified by Name","isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"address.oneOf.1.city.oneOf.1","typeLabel":"City · object"}],"isRequired":true,"uniqueKey":"address.oneOf.1.city","typeLabel":"object | City · object"},"zip":{"type":"string","description":"Address has ZIP","isRequired":true,"uniqueKey":"address.oneOf.1.zip","typeLabel":"string"},"line1":{"type":"string","description":"Address has Address Line 1","isRequired":true,"uniqueKey":"address.oneOf.1.line1","typeLabel":"string"},"line2":{"type":"string","description":"Address has Address Line 2","uniqueKey":"address.oneOf.1.line2","typeLabel":"string"}},"uniqueKey":"address.oneOf.1","typeLabel":"Address · object"}],"uniqueKey":"address","typeLabel":"string | Address · object"},"primaryPhoneNumber":{"type":"string","pattern":"^\\+?1?[- ]?\\(?([0-9]{3})\\)?[- ]?([0-9]{3})-?([0-9]{4})$","description":"Contact has Primary Phone Number","uniqueKey":"primaryPhoneNumber","typeLabel":"string"},"primaryEmail":{"type":"string","format":"idn-email","description":"Contact has Primary Email","uniqueKey":"primaryEmail","typeLabel":"string\u003cidn-email>"},"lastName":{"type":"string","description":"Contact has Last Name","uniqueKey":"lastName","typeLabel":"string"},"firstName":{"type":"string","description":"Contact has First Name","uniqueKey":"firstName","typeLabel":"string"},"emails":{"type":"array","items":{"type":"string","format":"idn-email","uniqueKey":"emails.items.[INDEX]","typeLabel":"string\u003cidn-email>"},"description":"Contact has Email","uniqueKey":"emails","typeLabel":"string\u003cidn-email>[]"},"phoneNumbers":{"type":"array","items":{"type":"string","pattern":"^\\+?1?[- ]?\\(?([0-9]{3})\\)?[- ]?([0-9]{3})-?([0-9]{4})$","uniqueKey":"phoneNumbers.items.[INDEX]","typeLabel":"string"},"description":"Contact has Phone Number","uniqueKey":"phoneNumbers","typeLabel":"string[]"},"roles":{"type":"array","items":{"type":"string","uniqueKey":"roles.items.[INDEX]","typeLabel":"string"},"description":"Contact has Role","uniqueKey":"roles","typeLabel":"string[]"},"creditBands":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"creditBands.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","title":"Credit Band","required":["id","name"],"example":{"id":"crb_39fjkd93nmd0","name":"Good","isNS":false,"isPrime":true,"isUnknown":false,"minimumCreditScore":600,"maximumCreditScore":700},"properties":{"id":{"type":"string","description":"Credit Band is uniquely identified by id","isRequired":true,"uniqueKey":"creditBands.items.[INDEX].oneOf.1.id","typeLabel":"string"},"name":{"type":"string","description":"Credit Band has Name","isRequired":true,"uniqueKey":"creditBands.items.[INDEX].oneOf.1.name","typeLabel":"string"},"minimumCreditScore":{"type":"number","description":"Credit Band has Minimum Credit Score","uniqueKey":"creditBands.items.[INDEX].oneOf.1.minimumCreditScore","typeLabel":"number"},"maximumCreditScore":{"type":"number","description":"Credit Band has Maximum Credit Score","uniqueKey":"creditBands.items.[INDEX].oneOf.1.maximumCreditScore","typeLabel":"number"},"isUnknown":{"type":"boolean","description":"Credit Band is unknown","uniqueKey":"creditBands.items.[INDEX].oneOf.1.isUnknown","typeLabel":"boolean"},"isNS":{"type":"boolean","description":"Credit Band is NS","uniqueKey":"creditBands.items.[INDEX].oneOf.1.isNS","typeLabel":"boolean"},"isPrime":{"type":"boolean","description":"Credit Band is prime","uniqueKey":"creditBands.items.[INDEX].oneOf.1.isPrime","typeLabel":"boolean"}},"uniqueKey":"creditBands.items.[INDEX].oneOf.1","typeLabel":"Credit Band · object"}],"uniqueKey":"creditBands.items.[INDEX]","typeLabel":"string | Credit Band · object"},"description":"Sales Rep accepts leads from Credit Band","uniqueKey":"creditBands","typeLabel":"(string | Credit Band · object)[]"},"templates":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"templates.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","title":"Template","required":["id","type","messageText"],"example":{"id":"tmp_39fjkd93nmd0","type":"Email","subject":"Invoice Details","messageText":"Hello, please find your invoice attached."},"properties":{"id":{"type":"string","description":"Template is uniquely identified by id","isRequired":true,"uniqueKey":"templates.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","description":"Template has Template Type","isRequired":true,"uniqueKey":"templates.items.[INDEX].oneOf.1.type","typeLabel":"string"},"messageText":{"type":"string","description":"Template has Message Text","isRequired":true,"uniqueKey":"templates.items.[INDEX].oneOf.1.messageText","typeLabel":"string"},"subject":{"type":"string","description":"Template has Subject","uniqueKey":"templates.items.[INDEX].oneOf.1.subject","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].oneOf.1","typeLabel":"Template · object"}],"uniqueKey":"templates.items.[INDEX]","typeLabel":"string | Template · object"},"description":"Sales Rep uses Template","uniqueKey":"templates","typeLabel":"(string | Template · object)[]"},"isAcceptingNewLeads":{"type":"boolean","description":"Sales Rep is accepting new leads","uniqueKey":"isAcceptingNewLeads","typeLabel":"boolean"}},"type":"object","uniqueKey":"","typeLabel":"Sales Rep · object"},"examples":{"Example":{"title":"Example","value":{"id":"srep_8f9v2j1kd92j","emails":["sales.rep@example.com","contact@example.com"],"lastName":"Smith","firstName":"Alice","templates":["Welcome Template","Follow-up Template"],"creditBands":["Prime","Subprime"],"primaryEmail":"sales.rep@example.com","phoneNumbers":["+1-555-0123","+1-555-0456"],"primaryPhoneNumber":"+1-555-0123","isAcceptingNewLeads":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f8888438-2ba3-44c1-b955-815bfec35051":{"description":"Sales Rep Updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$id":"SalesRep","examples":[{"id":"srep_8f9v2j1kd92j","emails":["sales.rep@example.com","contact@example.com"],"lastName":"Smith","firstName":"Alice","templates":["Welcome Template","Follow-up Template"],"creditBands":["Prime","Subprime"],"primaryEmail":"sales.rep@example.com","phoneNumbers":["+1-555-0123","+1-555-0456"],"primaryPhoneNumber":"+1-555-0123","isAcceptingNewLeads":true}],"title":"Sales Rep","type":"object","properties":{"id":{"type":"string","description":"Contact is uniquely identified by id","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"lastName":{"type":"string","description":"Contact has Last Name","isRequired":true,"uniqueKey":"data.lastName","typeLabel":"string"},"firstName":{"type":"string","description":"Contact has First Name","isRequired":true,"uniqueKey":"data.firstName","typeLabel":"string"},"agent":{"oneOf":[{"type":"string","description":"Contact is automated Agent","uniqueKey":"data.agent.oneOf.0","typeLabel":"string"},{"type":"object","title":"Agent","description":"Contact is automated Agent","required":["id","model"],"example":{"id":"ai_3jks93ndk3s9","model":"gpt-4o","prompt":"Respond to the customer service request","functions":["fnc_ed904md03684"]},"properties":{"id":{"type":"string","description":"Agent is uniquely identified by id","isRequired":true,"uniqueKey":"data.agent.oneOf.1.id","typeLabel":"string"},"model":{"type":"string","description":"Agent has Agent Model","isRequired":true,"uniqueKey":"data.agent.oneOf.1.model","typeLabel":"string"},"prompt":{"type":"string","description":"Agent has Prompt","uniqueKey":"data.agent.oneOf.1.prompt","typeLabel":"string"},"functions":{"type":"array","items":{"type":"string","uniqueKey":"data.agent.oneOf.1.functions.items.[INDEX]","typeLabel":"string"},"description":"Agent has Function","uniqueKey":"data.agent.oneOf.1.functions","typeLabel":"string[]"}},"uniqueKey":"data.agent.oneOf.1","typeLabel":"Agent · object"}],"uniqueKey":"data.agent","typeLabel":"string | Agent · object"},"address":{"oneOf":[{"type":"string","description":"Contact has Address","uniqueKey":"data.address.oneOf.0","typeLabel":"string"},{"type":"object","title":"Address","description":"Contact has Address","required":["id","city","zip","line1"],"example":{"id":"adr_2kj49d1msod2","zip":"62704","city":{"name":"Springfield","state":{"code":"IL"}},"line2":"Apt 201","line1":"456 Elm Street"},"properties":{"id":{"type":"string","description":"Address is uniquely identified by id","isRequired":true,"uniqueKey":"data.address.oneOf.1.id","typeLabel":"string"},"city":{"oneOf":[{"type":"object","description":"Address is located in City","required":["state","name"],"properties":{"state":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"object","title":"State","required":["code"],"properties":{"code":{"type":"string","description":"State is uniquely identified by State Code","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0.state.oneOf.1.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0.state.oneOf.1","typeLabel":"State · object"}],"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0.state","typeLabel":"string | State · object"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.0","typeLabel":"object"},{"type":"object","title":"City","description":"Address is located in City","required":["state","name"],"example":{"name":"Springfield","state":{"code":"IL"}},"properties":{"state":{"oneOf":[{"type":"string","description":"City is uniquely identified by State","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1.state.oneOf.0","typeLabel":"string"},{"type":"object","title":"State","description":"City is uniquely identified by State","required":["code"],"properties":{"code":{"type":"string","description":"State is uniquely identified by State Code","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1.state.oneOf.1.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1.state.oneOf.1","typeLabel":"State · object"}],"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1.state","typeLabel":"string | State · object"},"name":{"type":"string","description":"City is uniquely identified by Name","isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.address.oneOf.1.city.oneOf.1","typeLabel":"City · object"}],"isRequired":true,"uniqueKey":"data.address.oneOf.1.city","typeLabel":"object | City · object"},"zip":{"type":"string","description":"Address has ZIP","isRequired":true,"uniqueKey":"data.address.oneOf.1.zip","typeLabel":"string"},"line1":{"type":"string","description":"Address has Address Line 1","isRequired":true,"uniqueKey":"data.address.oneOf.1.line1","typeLabel":"string"},"line2":{"type":"string","description":"Address has Address Line 2","uniqueKey":"data.address.oneOf.1.line2","typeLabel":"string"}},"uniqueKey":"data.address.oneOf.1","typeLabel":"Address · object"}],"uniqueKey":"data.address","typeLabel":"string | Address · object"},"primaryPhoneNumber":{"type":"string","pattern":"^\\+?1?[- ]?\\(?([0-9]{3})\\)?[- ]?([0-9]{3})-?([0-9]{4})$","description":"Contact has Primary Phone Number","uniqueKey":"data.primaryPhoneNumber","typeLabel":"string"},"primaryEmail":{"type":"string","format":"idn-email","description":"Contact has Primary Email","uniqueKey":"data.primaryEmail","typeLabel":"string\u003cidn-email>"},"emails":{"type":"array","items":{"type":"string","format":"idn-email","uniqueKey":"data.emails.items.[INDEX]","typeLabel":"string\u003cidn-email>"},"description":"Contact has Email","uniqueKey":"data.emails","typeLabel":"string\u003cidn-email>[]"},"phoneNumbers":{"type":"array","items":{"type":"string","pattern":"^\\+?1?[- ]?\\(?([0-9]{3})\\)?[- ]?([0-9]{3})-?([0-9]{4})$","uniqueKey":"data.phoneNumbers.items.[INDEX]","typeLabel":"string"},"description":"Contact has Phone Number","uniqueKey":"data.phoneNumbers","typeLabel":"string[]"},"roles":{"type":"array","items":{"type":"string","uniqueKey":"data.roles.items.[INDEX]","typeLabel":"string"},"description":"Contact has Role","uniqueKey":"data.roles","typeLabel":"string[]"},"creditBands":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"data.creditBands.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","title":"Credit Band","required":["id","name"],"example":{"id":"crb_39fjkd93nmd0","name":"Good","isNS":false,"isPrime":true,"isUnknown":false,"minimumCreditScore":600,"maximumCreditScore":700},"properties":{"id":{"type":"string","description":"Credit Band is uniquely identified by id","isRequired":true,"uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.id","typeLabel":"string"},"name":{"type":"string","description":"Credit Band has Name","isRequired":true,"uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.name","typeLabel":"string"},"minimumCreditScore":{"type":"number","description":"Credit Band has Minimum Credit Score","uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.minimumCreditScore","typeLabel":"number"},"maximumCreditScore":{"type":"number","description":"Credit Band has Maximum Credit Score","uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.maximumCreditScore","typeLabel":"number"},"isUnknown":{"type":"boolean","description":"Credit Band is unknown","uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.isUnknown","typeLabel":"boolean"},"isNS":{"type":"boolean","description":"Credit Band is NS","uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.isNS","typeLabel":"boolean"},"isPrime":{"type":"boolean","description":"Credit Band is prime","uniqueKey":"data.creditBands.items.[INDEX].oneOf.1.isPrime","typeLabel":"boolean"}},"uniqueKey":"data.creditBands.items.[INDEX].oneOf.1","typeLabel":"Credit Band · object"}],"uniqueKey":"data.creditBands.items.[INDEX]","typeLabel":"string | Credit Band · object"},"description":"Sales Rep accepts leads from Credit Band","uniqueKey":"data.creditBands","typeLabel":"(string | Credit Band · object)[]"},"templates":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"data.templates.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","title":"Template","required":["id","type","messageText"],"example":{"id":"tmp_39fjkd93nmd0","type":"Email","subject":"Invoice Details","messageText":"Hello, please find your invoice attached."},"properties":{"id":{"type":"string","description":"Template is uniquely identified by id","isRequired":true,"uniqueKey":"data.templates.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","description":"Template has Template Type","isRequired":true,"uniqueKey":"data.templates.items.[INDEX].oneOf.1.type","typeLabel":"string"},"messageText":{"type":"string","description":"Template has Message Text","isRequired":true,"uniqueKey":"data.templates.items.[INDEX].oneOf.1.messageText","typeLabel":"string"},"subject":{"type":"string","description":"Template has Subject","uniqueKey":"data.templates.items.[INDEX].oneOf.1.subject","typeLabel":"string"}},"uniqueKey":"data.templates.items.[INDEX].oneOf.1","typeLabel":"Template · object"}],"uniqueKey":"data.templates.items.[INDEX]","typeLabel":"string | Template · object"},"description":"Sales Rep uses Template","uniqueKey":"data.templates","typeLabel":"(string | Template · object)[]"},"isAcceptingNewLeads":{"type":"boolean","description":"Sales Rep is accepting new leads","uniqueKey":"data.isAcceptingNewLeads","typeLabel":"boolean"}},"required":["lastName","firstName","id"],"uniqueKey":"data","typeLabel":"Sales Rep · object"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"srep_8f9v2j1kd92j","emails":["sales.rep@example.com","contact@example.com"],"lastName":"Smith","firstName":"Alice","templates":["Welcome Template","Follow-up Template"],"creditBands":["Prime","Subprime"],"primaryEmail":"sales.rep@example.com","phoneNumbers":["+1-555-0123","+1-555-0456"],"primaryPhoneNumber":"+1-555-0123","isAcceptingNewLeads":true},"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"1654ca8c-2140-4ad3-88be-40679726cf2c":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"number","uniqueKey":"error.code","typeLabel":"number"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"examples":[{"error":{"code":401,"message":"Unauthorized"},"success":false}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"Unauthorized"},"success":false}}},"exampleType":"generated"}},"exampleType":"generated"},"53d4e54f-5d7f-40df-9f31-bf2547a1c7ce":{"description":"Sales Rep Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"number","uniqueKey":"error.code","typeLabel":"number"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"examples":[{"error":{"code":404,"message":"Sales Rep Not Found"},"success":false}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Sales Rep Not Found"},"success":false}}},"exampleType":"generated"}},"exampleType":"generated"},"9b1eefc3-3723-4f8f-a79f-dd0a3813484f":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"number","uniqueKey":"error.code","typeLabel":"number"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"examples":[{"error":{"code":429,"message":"Too Many Requests"},"success":false}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":429,"message":"Too Many Requests"},"success":false}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"97d902c7-7c79-48c5-91b0-8ede0ad052a3":{"url":"https://commerce.driv.ly/api"}}},"originalFileLocation":"ai/Commerce.json"},"subdomain":"drivly","siteName":"Drivly Docs","title":"Update an existing Sales Rep - Drivly Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:48:07.815Z","originalFileLocation":"ai/api-reference/sales/update-an-existing-sales-rep.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=\"application-name\" content=\"Drivly 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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_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/drivly/OmbkdjlTxkakLvzd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an existing Sales Rep - Drivly Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Drivly Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://drivly.mintlify.app/_mintlify/api/og/v2?division=Sales\u0026amp;title=Update+an+existing+Sales+Rep\u0026amp;theme=14367af80339ef3b766a97b8\u0026amp;signature=f23a968bdfb8f035b14dcdbbbb726d66f339827f00a6ca4d51a2fc78f5bed1e0\">\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 an existing Sales Rep - Drivly Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://drivly.mintlify.app/_mintlify/api/og/v2?division=Sales\u0026amp;title=Update+an+existing+Sales+Rep\u0026amp;theme=14367af80339ef3b766a97b8\u0026amp;signature=f23a968bdfb8f035b14dcdbbbb726d66f339827f00a6ca4d51a2fc78f5bed1e0\">\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/drivly/OmbkdjlTxkakLvzd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Drivly Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00CAB9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai/api-reference/sales/update-an-existing-sales-rep.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.driv.ly/#organization\",\"name\":\"Drivly Docs\",\"url\":\"https://docs.driv.ly\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/drivly/lS-LOhC8keZU5zBZ/logo/light.svg?fit=max\u0026auto=format\u0026n=lS-LOhC8keZU5zBZ\u0026q=85\u0026s=2949247e5550eeee3c33c8516df55d81\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.driv.ly#website\",\"name\":\"Drivly Docs\",\"url\":\"https://docs.driv.ly\",\"publisher\":{\"@id\":\"https://docs.driv.ly/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep#webpage\",\"url\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep\",\"name\":\"Update an existing Sales Rep\",\"dateModified\":\"2026-01-06T22:48:07.815Z\",\"isPartOf\":{\"@id\":\"https://docs.driv.ly#website\"},\"breadcrumb\":{\"@id\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Entities\",\"item\":\"https://docs.driv.ly/ai/api-reference/sales/get-sales-reps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sales\",\"item\":\"https://docs.driv.ly/ai/api-reference/sales/get-sales-reps\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update an existing Sales Rep\",\"item\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep#apireference\",\"headline\":\"Update an existing Sales Rep\",\"name\":\"Update an existing Sales Rep\",\"url\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep\",\"mainEntityOfPage\":{\"@id\":\"https://docs.driv.ly/ai/api-reference/sales/update-an-existing-sales-rep#webpage\"},\"dateModified\":\"2026-01-06T22:48:07.815Z\",\"publisher\":{\"@id\":\"https://docs.driv.ly/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.driv.ly#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Drivly Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Drivly Docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started/introduction"}]},{"tab":"Data","pages":[{"title":"Data","href":"/data/overview"}]},{"tab":"Services","pages":[{"title":"Services","href":"/services/overview"}]},{"tab":"Commerce","pages":[{"title":"Commerce","href":"/commerce/overview"}]},{"tab":"AI","groups":[{"group":"Drivly AI","pages":[{"title":"Overview","mode":"wide","sidebarTitle":"Overview","href":"/ai/overview"},{"title":"AI Functions","sidebarTitle":"AI Functions","href":"/ai/ai-functions"},{"title":"Use Cases","href":"/ai/use-cases"}]},{"group":"Education","pages":[{"title":"The Future of Workflow Automation","sidebarTitle":"The Future of Workflow Automation","href":"/ai/workflows"},{"title":"Transforming Automotive Commerce with AI","sidebarTitle":"Transforming Automotive Commerce with AI","href":"/ai/auto-commerce-ai"},{"title":"Streaming User Interfaces","sidebarTitle":"Streaming User Interfaces","href":"/ai/streaming-ui"},{"title":"Function Composition","href":"/ai/function-composition"}]},{"group":"Entities","pages":[{"group":"Sales","pages":[{"openapi":"Commerce get /salesreps","title":"Get Sales Reps","href":"/ai/api-reference/sales/get-sales-reps"},{"openapi":"Commerce post /salesreps","title":"Create a new Sales Rep","href":"/ai/api-reference/sales/create-a-new-sales-rep"},{"openapi":"Commerce get /salesreps/{id}","title":"Retrieve a Sales Rep","description":null,"href":"/ai/api-reference/sales/retrieve-a-sales-rep"},{"openapi":"Commerce patch /salesreps/{id}","title":"Update an existing Sales Rep","href":"/ai/api-reference/sales/update-an-existing-sales-rep"},{"openapi":"Commerce get /calls","title":"Get Calls","description":null,"href":"/ai/api-reference/sales/get-calls"},{"openapi":"Commerce post /calls","title":"Create a new Call","href":"/ai/api-reference/sales/create-a-new-call"},{"openapi":"Commerce get /calls/{id}","title":"Retrieve a Call","href":"/ai/api-reference/sales/retrieve-a-call"},{"openapi":"Commerce patch /calls/{id}","title":"Update an existing Call","href":"/ai/api-reference/sales/update-an-existing-call"},{"openapi":"Commerce get /meetings","title":"Get Meetings","href":"/ai/api-reference/sales/get-meetings"},{"openapi":"Commerce post /meetings","title":"Create a new Meeting","href":"/ai/api-reference/sales/create-a-new-meeting"},{"openapi":"Commerce get /meetings/{id}","title":"Retrieve a Meeting","href":"/ai/api-reference/sales/retrieve-a-meeting"},{"openapi":"Commerce patch /meetings/{id}","title":"Update an existing Meeting","href":"/ai/api-reference/sales/update-an-existing-meeting"}]},{"group":"Messages","pages":[{"openapi":"Commerce get /messages","title":"Get Messages","href":"/ai/api-reference/messages/get-messages"},{"openapi":"Commerce post /messages","title":"Create a new Message","href":"/ai/api-reference/messages/create-a-new-message"},{"openapi":"Commerce get /messages/{id}","title":"Retrieve a Message","href":"/ai/api-reference/messages/retrieve-a-message"},{"openapi":"Commerce patch /messages/{id}","title":"Update an existing Message","href":"/ai/api-reference/messages/update-an-existing-message"},{"openapi":"Commerce get /attachments","title":"Get Attachments","href":"/ai/api-reference/messages/get-attachments"},{"openapi":"Commerce post /attachments","title":"Create a new Attachment","href":"/ai/api-reference/messages/create-a-new-attachment"},{"openapi":"Commerce get /attachments/{id}","title":"Retrieve an Attachment","href":"/ai/api-reference/messages/retrieve-an-attachment"},{"openapi":"Commerce patch /attachments/{id}","title":"Update an existing Attachment","href":"/ai/api-reference/messages/update-an-existing-attachment"},{"openapi":"Commerce get /templates","title":"Get Templates","href":"/ai/api-reference/messages/get-templates"},{"openapi":"Commerce post /templates","title":"Create a new Template","href":"/ai/api-reference/messages/create-a-new-template"},{"openapi":"Commerce get /templates/{id}","title":"Retrieve a Template","href":"/ai/api-reference/messages/retrieve-a-template"},{"openapi":"Commerce patch /templates/{id}","title":"Update an existing Template","href":"/ai/api-reference/messages/update-an-existing-template"},{"openapi":"Commerce get /holidays","title":"Get Holidays","href":"/ai/api-reference/messages/get-holidays"},{"openapi":"Commerce post /holidays","title":"Create a new Holiday","href":"/ai/api-reference/messages/create-a-new-holiday"},{"openapi":"Commerce get /holidays/{id}","title":"Retrieve a Holiday","href":"/ai/api-reference/messages/retrieve-a-holiday"},{"openapi":"Commerce patch /holidays/{id}","title":"Update an existing Holiday","href":"/ai/api-reference/messages/update-an-existing-holiday"}]},{"group":"AI","pages":[{"openapi":"Commerce get /agents","title":"Get Agents","href":"/ai/api-reference/ai/get-agents"},{"openapi":"Commerce post /agents","title":"Create a new Agent","href":"/ai/api-reference/ai/create-a-new-agent"},{"openapi":"Commerce get /agents/{id}","title":"Retrieve an Agent","href":"/ai/api-reference/ai/retrieve-an-agent"},{"openapi":"Commerce patch /agents/{id}","title":"Update an existing Agent","href":"/ai/api-reference/ai/update-an-existing-agent"}]}]}]}]},{"anchor":"Auth","icon":"user-shield","pages":[{"title":"Auth","href":"/developers/auth/overview"}]},{"anchor":"SDK","icon":"layer-group","pages":[{"title":"SDK","href":"/developers/sdk/overview"}]},{"anchor":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/developers/webhooks/overview"}]}]},"basePath":"","title":"Update an existing Sales Rep - Drivly Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}