{
"error": {
"code": "BAD_REQUEST",
"reason": "NOT_FOUND",
"message": "The request could not be understood or was missing required parameters",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>",
"details": [
{
"field": "body.shareSetting",
"message": "'shareSetting' is required in body"
}
]
}
}
{
"error": {
"code": "INVALID_TOKEN",
"reason": "NOT_FOUND",
"message": "Access denied. You are not authorized to access this resource",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "FORBIDDEN",
"reason": "NOT_FOUND",
"message": "Access to this resource is restricted",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "NOT_FOUND",
"reason": "NOT_FOUND",
"message": "The requested resource could not be found",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"reason": "NOT_FOUND",
"message": "The server has encountered a situation it does not know how to handle",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
Deals
Update a deal
Update a deal by ID. Currently this endpoint only supports updating deal custom field values.
{
"error": {
"code": "BAD_REQUEST",
"reason": "NOT_FOUND",
"message": "The request could not be understood or was missing required parameters",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>",
"details": [
{
"field": "body.shareSetting",
"message": "'shareSetting' is required in body"
}
]
}
}
{
"error": {
"code": "INVALID_TOKEN",
"reason": "NOT_FOUND",
"message": "Access denied. You are not authorized to access this resource",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "FORBIDDEN",
"reason": "NOT_FOUND",
"message": "Access to this resource is restricted",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "NOT_FOUND",
"reason": "NOT_FOUND",
"message": "The requested resource could not be found",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"reason": "NOT_FOUND",
"message": "The server has encountered a situation it does not know how to handle",
"retryable": true,
"requestId": "6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f",
"docUrl": "<string>"
}
}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
id
string
required
Unique identifier
Maximum string length: 64
Example:
"RiHO4e0Ju3DS"
Query Parameters
properties
enum<string>[]
Select the deal properties that should be returned
Available options:
hubspotDealId,
salesforceOpportunityId,
name,
amount,
closeDate,
createdDate,
stage,
type,
customFields.name,
customFields.type,
customFields.variableName,
customFields.value,
createdAt,
updatedAt,
id,
object,
url,
customFields.id,
customFields.object,
customFields.url,
customFields.createdAt,
customFields.updatedAt,
customFields.objectType,
customFields.options.index,
customFields.options.label,
customFields.options.value
Body
application/json
customFields
(Single-line text · object | Multi-line text · object | Rich text · object | Date · object | Number · object | Single checkbox · object | Multiple checkboxes · object | Dropdown select · object | Radio select · object)[]
Custom fields to update. Only the fields included in this array are modified; omitted fields remain unchanged. For multiple-checkbox fields, the supplied value replaces the field's currently selected options.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Dock","colors":{"primary":"#4058FF","light":"#4984EB","dark":"#4058FF"},"favicon":"https://mintcdn.com/docklabsinc/pUYB1Rr4_wf6-EkO/favicon.svg?fit=max\u0026auto=format\u0026n=pUYB1Rr4_wf6-EkO\u0026q=85\u0026s=3834c2cccaa90659d26b91bd3aec0acf","logo":{"light":"https://mintcdn.com/docklabsinc/pUYB1Rr4_wf6-EkO/logo/light.svg?fit=max\u0026auto=format\u0026n=pUYB1Rr4_wf6-EkO\u0026q=85\u0026s=8d3b9704bcec3086906fe18017582e75","dark":"https://mintcdn.com/docklabsinc/pUYB1Rr4_wf6-EkO/logo/dark.svg?fit=max\u0026auto=format\u0026n=pUYB1Rr4_wf6-EkO\u0026q=85\u0026s=8b39fd5e516073e4e2b131c298a28cc0"},"api":{"openapi":"api-reference/openapi.json"},"background":{"decoration":"gradient"},"footer":{"socials":{"x":"https://x.com/dock_us","linkedin":"https://www.linkedin.com/company/dock-us"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"docklabsinc","hasAudioNarration":false,"actualSubdomain":"docklabsinc","customDomains":["developers.dock.us"],"gitSource":{"type":"github","owner":"dock-hq","repo":"dock","deployBranch":"production","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b00d423e1d4cf3959dd43d9","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Documentation","count":94},{"language":"default","tag":"Workspaces","count":57},{"language":"default","tag":"Library","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Clients","count":9},{"language":"default","tag":"Tasks","count":8},{"language":"default","tag":"Learning","count":7},{"language":"default","tag":"Users","count":7},{"language":"default","tag":"API Reference","count":7},{"language":"default","tag":"Assets","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/deals/update-a-deal","slug":"/api-reference/endpoint/deals/update-a-deal","pageMetadata":{"title":"Update a deal","openapi":"patch /deals/{id}","og:title":"Update a deal with the Dock API - API Reference","description":"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.","href":"/api-reference/endpoint/deals/update-a-deal"},"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 deal by ID. Currently this endpoint only supports updating deal custom field values.\"\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];const RateLimit=({perMinute=120})=>{const _components={a:`a`,..._provideComponents()},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`This endpoint is rate limited to`,` `,_jsxs(`strong`,{children:[perMinute,` requests per minute`]}),` per company. See`,` `,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),` for details.`]})};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(_MdxComponentBoundary,{name:`RateLimit`,children:_jsx(RateLimit,{})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{RateLimit,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a deal","openapi":"patch /deals/{id}","og:title":"Update a deal with the Dock API - API Reference","description":"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.","href":"/api-reference/endpoint/deals/update-a-deal"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[27,38,""],[126,522,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"deals.update","description":"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.","tags":["Deals"],"parameters":["c8382894-292f-47ea-9903-cf64919a22aa","b10449a1-05f8-4ab1-9b9a-728972f5412b"],"requestBody":"b6a7c229-9785-45a2-8874-66acfe31acdd","responses":{"200":"69309aa1-e9ba-4b9c-a9ac-57a71b4bb08e","400":"170d25a0-536f-4d69-bf9a-8da987d20d09","401":"66c33af9-e44b-478a-8e5b-df1e7fa4359c","403":"2337f12b-fbc6-4a78-9232-090a19ba3877","404":"e5506c81-5fb5-463a-838d-0af3a78e9043","429":"5f76102f-6c55-4167-98c3-c227b8171b81","500":"b4dd5f7c-d77b-4bfc-ad17-7db813ea5de5"},"method":"patch","type":"path","servers":["d3594d6a-4877-469b-9760-bd07b56da81d"],"security":["bd4781e1-eb5a-4fe5-933b-25639b270cf4"],"path":"/deals/{id}","baseUrlOptions":["https://api.dock.us/{version}"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c8382894-292f-47ea-9903-cf64919a22aa":{"name":"id","in":"path","example":"RiHO4e0Ju3DS","required":true,"description":"Unique identifier","schema":{"type":"string","example":"RiHO4e0Ju3DS","maxLength":64,"isRequired":true,"description":"Unique identifier","uniqueKey":"","typeLabel":"string"}},"b10449a1-05f8-4ab1-9b9a-728972f5412b":{"name":"properties","in":"query","description":"Select the deal properties that should be returned","schema":{"type":"array","items":{"type":"string","enum":["hubspotDealId","salesforceOpportunityId","name","amount","closeDate","createdDate","stage","type","customFields.name","customFields.type","customFields.variableName","customFields.value","createdAt","updatedAt","id","object","url","customFields.id","customFields.object","customFields.url","customFields.createdAt","customFields.updatedAt","customFields.objectType","customFields.options.index","customFields.options.label","customFields.options.value"],"uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Select the deal properties that should be returned","uniqueKey":"","typeLabel":"enum\u003cstring>[]"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customFields":{"description":"Custom fields to update. Only the fields included in this array are modified; omitted fields remain unchanged. For multiple-checkbox fields, the supplied value replaces the field's currently selected options.","type":"array","example":[{"id":"RiHO4e0Ju3DS","value":"Enterprise"},{"id":"PkT2mVq81xLc","value":["Option A","Option B"]}],"items":{"oneOf":[{"type":"object","title":"Single-line text","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.0.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The text value of the custom field, or `null` to remove the value","example":"Single line of text","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text value of the custom field, or `null` to remove the value","example":"Single line of text","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.0.value","typeLabel":"string | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.0","typeLabel":"Single-line text · object"},{"type":"object","title":"Multi-line text","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.1.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The text value of the custom field, or `null` to remove the value","example":"Single line of text","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.1.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text value of the custom field, or `null` to remove the value","example":"Single line of text","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.1.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.1.value","typeLabel":"string | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.1","typeLabel":"Multi-line text · object"},{"type":"object","title":"Rich text","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.2.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"An HTML string for the rich text custom field, or `null` to remove the value. The HTML is converted to Dock's rich text format on save.","example":"\u003cp>Hello \u003cstrong>world\u003c/strong>\u003c/p>","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.2.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"An HTML string for the rich text custom field, or `null` to remove the value. The HTML is converted to Dock's rich text format on save.","example":"\u003cp>Hello \u003cstrong>world\u003c/strong>\u003c/p>","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.2.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.2.value","typeLabel":"string | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.2","typeLabel":"Rich text · object"},{"type":"object","title":"Date","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.3.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","format":"date","description":"The `ISO 8601` date format string value of the custom field, or `null` to remove the value","example":"2023-12-25T14:30:00","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.3.value.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The `ISO 8601` date format string value of the custom field, or `null` to remove the value","example":"2023-12-25T14:30:00","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.3.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.3.value","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.3","typeLabel":"Date · object"},{"type":"object","title":"Number","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.4.id","typeLabel":"string"},"value":{"oneOf":[{"type":"number","description":"The number value of the custom field, or `null` to remove the value","example":"2021-01-01","uniqueKey":"customFields.items.[INDEX].oneOf.4.value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number value of the custom field, or `null` to remove the value","example":"2021-01-01","uniqueKey":"customFields.items.[INDEX].oneOf.4.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.4.value","typeLabel":"number | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.4","typeLabel":"Number · object"},{"type":"object","title":"Single checkbox","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.5.id","typeLabel":"string"},"value":{"oneOf":[{"type":"boolean","description":"The number value of the custom field, or `null` to remove the value","uniqueKey":"customFields.items.[INDEX].oneOf.5.value.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The number value of the custom field, or `null` to remove the value","uniqueKey":"customFields.items.[INDEX].oneOf.5.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.5.value","typeLabel":"boolean | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.5","typeLabel":"Single checkbox · object"},{"type":"object","title":"Multiple checkboxes","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.6.id","typeLabel":"string"},"value":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":20000,"uniqueKey":"customFields.items.[INDEX].oneOf.6.value.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"An array of valid checkbox option values of the custom field, or `null` to remove the value","maxItems":100,"uniqueKey":"customFields.items.[INDEX].oneOf.6.value.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string","maxLength":20000},"description":"An array of valid checkbox option values of the custom field, or `null` to remove the value","maxItems":100,"uniqueKey":"customFields.items.[INDEX].oneOf.6.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.6.value","typeLabel":"string[] | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.6","typeLabel":"Multiple checkboxes · object"},{"type":"object","title":"Dropdown select","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.7.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"A valid option value of the custom field, or `null` to remove the value","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.7.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"A valid option value of the custom field, or `null` to remove the value","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.7.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.7.value","typeLabel":"string | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.7","typeLabel":"Dropdown select · object"},{"type":"object","title":"Radio select","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"customFields.items.[INDEX].oneOf.8.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"A valid option value of the custom field, or `null` to remove the value","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.8.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"A valid option value of the custom field, or `null` to remove the value","maxLength":100000,"uniqueKey":"customFields.items.[INDEX].oneOf.8.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"customFields.items.[INDEX].oneOf.8.value","typeLabel":"string | null"}},"uniqueKey":"customFields.items.[INDEX].oneOf.8","typeLabel":"Radio select · object"}],"uniqueKey":"customFields.items.[INDEX]","typeLabel":"Single-line text · object | Multi-line text · object | Rich text · object | Date · object | Number · object | Single checkbox · object | Multiple checkboxes · object | Dropdown select · object | Radio select · object"},"maxItems":100,"uniqueKey":"customFields","typeLabel":"(Single-line text · object | Multi-line text · object | Rich text · object | Date · object | Number · object | Single checkbox · object | Multiple checkboxes · object | Dropdown select · object | Radio select · object)[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customFields":[{"id":"RiHO4e0Ju3DS","value":"Enterprise"},{"id":"PkT2mVq81xLc","value":["Option A","Option B"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"69309aa1-e9ba-4b9c-a9ac-57a71b4bb08e":{"description":"Deal updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"deal":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"Id of the object","example":"RiHO4e0Ju3DS","readOnly":true,"maxLength":64,"uniqueKey":"data.deal.oneOf.0.id","typeLabel":"string"},"updatedAt":{"type":"string","format":"date-time","description":"Last updated date","example":"2021-01-01T00:00:00.000Z","readOnly":true,"uniqueKey":"data.deal.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"createdAt":{"type":"string","format":"date-time","description":"Created at date","example":"2021-01-01T00:00:00.000Z","readOnly":true,"uniqueKey":"data.deal.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"hubspotDealId":{"oneOf":[{"type":"string","description":"HubSpot deal ID","example":"1234567890","uniqueKey":"data.deal.oneOf.0.hubspotDealId.oneOf.0","typeLabel":"string"},{"type":"null","description":"HubSpot deal ID","example":"1234567890","uniqueKey":"data.deal.oneOf.0.hubspotDealId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.hubspotDealId","typeLabel":"string | null"},"object":{"type":"string","description":"Type of the object","enum":["deal"],"example":"deal","readOnly":true,"uniqueKey":"data.deal.oneOf.0.object","typeLabel":"enum\u003cstring>"},"url":{"type":"string","example":"https://api.dock.us/v1/deals/RiHO4e0Ju3DS","description":"URL to the resource","readOnly":true,"uniqueKey":"data.deal.oneOf.0.url","typeLabel":"string"},"createdDate":{"oneOf":[{"type":"string","format":"date-time","description":"Created date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.0.createdDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Created date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.0.createdDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.createdDate","typeLabel":"string\u003cdate-time> | null"},"closeDate":{"oneOf":[{"type":"string","format":"date-time","description":"Close date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.0.closeDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Close date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.0.closeDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.closeDate","typeLabel":"string\u003cdate-time> | null"},"name":{"oneOf":[{"type":"string","description":"Name of the deal","example":"Deal 1","uniqueKey":"data.deal.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the deal","example":"Deal 1","uniqueKey":"data.deal.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.name","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"integer","description":"Amount of the deal","example":"100000","uniqueKey":"data.deal.oneOf.0.amount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Amount of the deal","example":"100000","uniqueKey":"data.deal.oneOf.0.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.amount","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"Type of the deal","example":"New Business","uniqueKey":"data.deal.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of the deal","example":"New Business","uniqueKey":"data.deal.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.type","typeLabel":"string | null"},"stage":{"oneOf":[{"type":"string","description":"Stage of the deal","example":"Proposal Sent","uniqueKey":"data.deal.oneOf.0.stage.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stage of the deal","example":"Proposal Sent","uniqueKey":"data.deal.oneOf.0.stage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.0.stage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"data.deal.oneOf.0","typeLabel":"object"},{"type":"object","properties":{"id":{"type":"string","description":"Id of the object","example":"RiHO4e0Ju3DS","readOnly":true,"maxLength":64,"uniqueKey":"data.deal.oneOf.1.id","typeLabel":"string"},"updatedAt":{"type":"string","format":"date-time","description":"Last updated date","example":"2021-01-01T00:00:00.000Z","readOnly":true,"uniqueKey":"data.deal.oneOf.1.updatedAt","typeLabel":"string\u003cdate-time>"},"createdAt":{"type":"string","format":"date-time","description":"Created at date","example":"2021-01-01T00:00:00.000Z","readOnly":true,"uniqueKey":"data.deal.oneOf.1.createdAt","typeLabel":"string\u003cdate-time>"},"salesforceOpportunityId":{"oneOf":[{"type":"string","description":"Salesforce opportunity ID","example":"0015f00000Bg59dAAB","uniqueKey":"data.deal.oneOf.1.salesforceOpportunityId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Salesforce opportunity ID","example":"0015f00000Bg59dAAB","uniqueKey":"data.deal.oneOf.1.salesforceOpportunityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.salesforceOpportunityId","typeLabel":"string | null"},"object":{"type":"string","description":"Type of the object","enum":["deal"],"example":"deal","readOnly":true,"uniqueKey":"data.deal.oneOf.1.object","typeLabel":"enum\u003cstring>"},"url":{"type":"string","example":"https://api.dock.us/v1/deals/RiHO4e0Ju3DS","description":"URL to the resource","readOnly":true,"uniqueKey":"data.deal.oneOf.1.url","typeLabel":"string"},"createdDate":{"oneOf":[{"type":"string","format":"date-time","description":"Created date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.1.createdDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Created date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.1.createdDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.createdDate","typeLabel":"string\u003cdate-time> | null"},"closeDate":{"oneOf":[{"type":"string","format":"date-time","description":"Close date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.1.closeDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Close date of the deal","example":"2024-01-01T00:00:00Z","uniqueKey":"data.deal.oneOf.1.closeDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.closeDate","typeLabel":"string\u003cdate-time> | null"},"name":{"oneOf":[{"type":"string","description":"Name of the deal","example":"Deal 1","uniqueKey":"data.deal.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the deal","example":"Deal 1","uniqueKey":"data.deal.oneOf.1.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.name","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"integer","description":"Amount of the deal","example":"100000","uniqueKey":"data.deal.oneOf.1.amount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Amount of the deal","example":"100000","uniqueKey":"data.deal.oneOf.1.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.amount","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"Type of the deal","example":"New Business","uniqueKey":"data.deal.oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of the deal","example":"New Business","uniqueKey":"data.deal.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.type","typeLabel":"string | null"},"stage":{"oneOf":[{"type":"string","description":"Stage of the deal","example":"Proposal Sent","uniqueKey":"data.deal.oneOf.1.stage.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stage of the deal","example":"Proposal Sent","uniqueKey":"data.deal.oneOf.1.stage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deal.oneOf.1.stage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"data.deal.oneOf.1","typeLabel":"object"}],"uniqueKey":"data.deal","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"deal":{"id":"RiHO4e0Ju3DS","updatedAt":"2021-01-01T00:00:00.000Z","createdAt":"2021-01-01T00:00:00.000Z","hubspotDealId":"1234567890","object":"deal","url":"https://api.dock.us/v1/deals/RiHO4e0Ju3DS","createdDate":"2024-01-01T00:00:00Z","closeDate":"2024-01-01T00:00:00Z","name":"Deal 1","amount":"100000","type":"New Business","stage":"Proposal Sent"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"170d25a0-536f-4d69-bf9a-8da987d20d09":{"description":"The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["BAD_REQUEST"],"description":"A short code indicating the error code returned","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"The request could not be understood or was missing required parameters","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"},"details":{"type":"array","description":"With `INVALID_INPUT`: one entry per invalid field.","items":{"type":"object","properties":{"field":{"type":"string","description":"The field's path, starting with `body`, `query` or `params`.","example":"body.shareSetting","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"What is wrong with the field.","example":"'shareSetting' is required in body","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","message"],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId","reason","retryable","docUrl"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","reason":"NOT_FOUND","message":"The request could not be understood or was missing required parameters","retryable":true,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>","details":[{"field":"body.shareSetting","message":"'shareSetting' is required in body"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"66c33af9-e44b-478a-8e5b-df1e7fa4359c":{"description":"Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["NO_TOKEN","INVALID_TOKEN"],"description":"`NO_TOKEN`: no `Authorization: Bearer` header. `INVALID_TOKEN`: the key or token is not one Dock knows.","example":"INVALID_TOKEN","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"Access denied. You are not authorized to access this resource","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"}},"required":["code","message","requestId","reason","retryable","docUrl"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_TOKEN","reason":"NOT_FOUND","message":"Access denied. You are not authorized to access this resource","retryable":true,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2337f12b-fbc6-4a78-9232-090a19ba3877":{"description":"The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["FORBIDDEN","API_KEY_PAUSED"],"description":"A short code indicating the error code returned. `API_KEY_PAUSED`: an admin paused the key; resume it in Settings → API.","example":"FORBIDDEN","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"Access to this resource is restricted","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"}},"required":["code","message","requestId","reason","retryable","docUrl"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"FORBIDDEN","reason":"NOT_FOUND","message":"Access to this resource is restricted","retryable":true,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e5506c81-5fb5-463a-838d-0af3a78e9043":{"description":"The server cannot find the requested resource","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["NOT_FOUND"],"description":"A short code indicating the error code returned","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"The requested resource could not be found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"}},"required":["code","message","requestId","reason","retryable","docUrl"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","reason":"NOT_FOUND","message":"The requested resource could not be found","retryable":true,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5f76102f-6c55-4167-98c3-c227b8171b81":{"description":"The user has sent too many requests in a given amount of time (\"rate limiting\")","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["RATE_LIMIT_EXCEEDED"],"description":"A short code indicating the error code returned","example":"RATE_LIMIT_EXCEEDED","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"Rate limit exceeded. Please try again later","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"retryAfter":{"type":"integer","minimum":1,"description":"Seconds to wait before retrying; the same as the `Retry-After` header.","isRequired":true,"uniqueKey":"error.retryAfter","typeLabel":"integer"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"}},"required":["code","message","requestId","reason","retryable","docUrl","retryAfter"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","reason":"NOT_FOUND","message":"Rate limit exceeded. Please try again later","retryable":true,"retryAfter":2,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b4dd5f7c-d77b-4bfc-ad17-7db813ea5de5":{"description":"The server has encountered a situation it does not know how to handle","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_SERVER_ERROR"],"description":"A short code indicating the error code returned","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"What exactly went wrong; branch on this. Each reason is listed on the [errors page](/api-reference/errors).","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.reason","typeLabel":"string"},"message":{"type":"string","description":"A human readable explanation of what went wrong","example":"The server has encountered a situation it does not know how to handle","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether sending the same request again, unchanged, can succeed.","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"requestId":{"type":"string","description":"The request's `X-Request-Id`. Quote it when contacting support.","example":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"docUrl":{"type":"string","format":"uri","description":"The reason's section on the errors page.","isRequired":true,"uniqueKey":"error.docUrl","typeLabel":"string\u003curi>"}},"required":["code","message","requestId","reason","retryable","docUrl"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INTERNAL_SERVER_ERROR","reason":"NOT_FOUND","message":"The server has encountered a situation it does not know how to handle","retryable":true,"requestId":"6f1c2a9e-3b4d-4c5e-8f70-1a2b3c4d5e6f","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bd4781e1-eb5a-4fe5-933b-25639b270cf4":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d3594d6a-4877-469b-9760-bd07b56da81d":{"url":"https://api.dock.us/{version}","description":"Production server","variables":{"version":{"default":"v1","enum":["v1"]}}}},"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":"api-reference/openapi.json"},"subdomain":"docklabsinc","siteName":"Dock","title":"Update a deal with the Dock API - API Reference","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T00:52:58.990Z","originalFileLocation":"api-reference/endpoint/deals/update-a-deal.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 deal by ID. Currently this endpoint only supports updating deal custom field values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dock\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_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/docklabsinc/3Zgmq5f-wF0-SYL9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a deal with the Dock API - API Reference\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dock\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docklabsinc.mintlify.site/_mintlify/api/og/v2?division=Deals\u0026amp;title=Update+a+deal\u0026amp;description=Update+a+deal+by+ID.+Currently+this+endpoint+only+supports+updating+deal+custom+field+values.\u0026amp;theme=6db68f2e3828f21717cdc0bf\u0026amp;signature=9dd6934228f1b4f5054d8620286d30bdb4afc19c3403f870cee3b0db4adfef0e\">\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 a deal with the Dock API - API Reference\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docklabsinc.mintlify.site/_mintlify/api/og/v2?division=Deals\u0026amp;title=Update+a+deal\u0026amp;description=Update+a+deal+by+ID.+Currently+this+endpoint+only+supports+updating+deal+custom+field+values.\u0026amp;theme=6db68f2e3828f21717cdc0bf\u0026amp;signature=9dd6934228f1b4f5054d8620286d30bdb4afc19c3403f870cee3b0db4adfef0e\">\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/docklabsinc/3Zgmq5f-wF0-SYL9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dock\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4058FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/deals/update-a-deal.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.dock.us/#organization\",\"name\":\"Dock\",\"url\":\"https://developers.dock.us\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/docklabsinc/pUYB1Rr4_wf6-EkO/logo/light.svg?fit=max\u0026auto=format\u0026n=pUYB1Rr4_wf6-EkO\u0026q=85\u0026s=8d3b9704bcec3086906fe18017582e75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.dock.us#website\",\"name\":\"Dock\",\"url\":\"https://developers.dock.us\",\"publisher\":{\"@id\":\"https://developers.dock.us/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal#webpage\",\"url\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal\",\"name\":\"Update a deal\",\"description\":\"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.\",\"dateModified\":\"2026-11-17T00:52:58.990Z\",\"isPartOf\":{\"@id\":\"https://developers.dock.us#website\"},\"breadcrumb\":{\"@id\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Clients\",\"item\":\"https://developers.dock.us/api-reference/endpoint/accounts/retrieve-a-list-of-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deals\",\"item\":\"https://developers.dock.us/api-reference/endpoint/deals/retrieve-a-list-of-deals\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a deal\",\"item\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal#apireference\",\"headline\":\"Update a deal\",\"name\":\"Update a deal\",\"description\":\"Update a deal by ID. Currently this endpoint only supports updating deal custom field values.\",\"url\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal\",\"mainEntityOfPage\":{\"@id\":\"https://developers.dock.us/api-reference/endpoint/deals/update-a-deal#webpage\"},\"dateModified\":\"2026-11-17T00:52:58.990Z\",\"publisher\":{\"@id\":\"https://developers.dock.us/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.dock.us#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dock\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dock\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/deals/update-a-deal.md","siteName":"Dock","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Dock","icon":"rocket","href":"/introduction"},{"title":"Data model","icon":"database","href":"/data-model"},{"title":"Dock MCP","icon":"brain","href":"/dock-mcp/dock-mcp"}]},{"group":"API Reference","pages":[{"title":"Introduction","icon":"book","href":"/api-reference/introduction"},{"title":"API Keys","icon":"key","href":"/api-reference/tokens"},{"title":"Rate limits","icon":"clock","href":"/api-reference/rate-limits"},{"title":"Pagination","icon":"list-ol","href":"/api-reference/pagination"},{"title":"Workspace analytics","icon":"chart-line","href":"/api-reference/workspace-analytics"},{"title":"Uploading files","icon":"file","href":"/api-reference/uploading-files"},{"title":"Errors","icon":"bug","href":"/api-reference/errors"}]},{"group":"Clients","pages":[{"group":"Accounts","pages":[{"title":"Retrieve a list of accounts","openapi":"get /accounts","href":"/api-reference/endpoint/accounts/retrieve-a-list-of-accounts"},{"title":"Create an account","openapi":"post /accounts","href":"/api-reference/endpoint/accounts/create-an-account"},{"title":"Retrieve an account","openapi":"get /accounts/{id}","href":"/api-reference/endpoint/accounts/retrieve-an-account"},{"title":"Update an account","openapi":"patch /accounts/{id}","href":"/api-reference/endpoint/accounts/update-an-account"}]},{"group":"Deals","pages":[{"title":"Retrieve a list of deals","openapi":"get /deals","href":"/api-reference/endpoint/deals/retrieve-a-list-of-deals"},{"title":"Retrieve a deal","openapi":"get /deals/{id}","description":"Retrieve a deal by ID","href":"/api-reference/endpoint/deals/retrieve-a-deal"},{"title":"Update a deal","openapi":"patch /deals/{id}","href":"/api-reference/endpoint/deals/update-a-deal"}]},{"group":"Meetings","pages":[{"title":"Create a meeting","openapi":"post /meetings","description":"Create a meeting with a call transcript on an account. Identify the account with exactly one of accountId, accountDomain, hubspotCompanyId or salesforceAccountId — the account must already exist (create one with POST /accounts). Provide the transcript as raw text (the meeting is created completed), or as a fileId referencing an uploaded pdf/docx file (max 25MB) from POST /files — the transcript text is then extracted asynchronously: the meeting is created with status processing and transitions to completed once extraction finishes, or to failed with the reason in processingError. Poll GET /meetings/{id}?properties=status\u0026properties=processingError to track it. Dock asynchronously generates an AI summary and search embeddings for the meeting once the transcript is available.","href":"/api-reference/endpoint/meetings/create-a-meeting"},{"title":"Retrieve a meeting","openapi":"get /meetings/{id}","href":"/api-reference/endpoint/meetings/retrieve-a-meeting"}]}]},{"group":"Workspaces","pages":[{"group":"Workspaces","pages":[{"title":"Retrieve a list of workspaces","openapi":"get /workspaces","href":"/api-reference/endpoint/workspaces/retrieve-a-list-of-workspaces"},{"title":"Create a workspace","openapi":"post /workspaces","href":"/api-reference/endpoint/workspaces/create-a-workspace"},{"title":"Retrieve a workspace","openapi":"get /workspaces/{id}","href":"/api-reference/endpoint/workspaces/retrieve-a-workspace"},{"title":"Update a workspace","openapi":"patch /workspaces/{id}","href":"/api-reference/endpoint/workspaces/update-a-workspace"},{"title":"Archive a workspace","openapi":"post /workspaces/{id}/archive","href":"/api-reference/endpoint/workspaces/archive-a-workspace"},{"title":"Set workspace access","openapi":"post /workspaces/{id}/access","href":"/api-reference/endpoint/workspaces/set-workspace-access"},{"title":"Connect a workspace","openapi":"post /workspaces/{id}/connected-workspaces","href":"/api-reference/endpoint/workspaces/connect-a-workspace"},{"title":"Get an authenticated embed url","openapi":"post /workspaces/{id}/authenticated-embed-url","href":"/api-reference/endpoint/workspaces/get-an-authenticated-embed-url"}]},{"group":"Workspace analytics","pages":[{"title":"Retrieve workspace analytics","openapi":"get /workspaces/analytics","href":"/api-reference/endpoint/workspace-analytics/retrieve-workspace-analytics"},{"title":"Retrieve workspace people analytics","openapi":"get /workspaces/analytics/people","href":"/api-reference/endpoint/workspace-analytics/retrieve-workspace-people-analytics"},{"title":"Retrieve workspace page analytics","openapi":"get /workspaces/analytics/pages","href":"/api-reference/endpoint/workspace-analytics/retrieve-workspace-page-analytics"},{"title":"Retrieve workspace asset analytics","openapi":"get /workspaces/analytics/assets","href":"/api-reference/endpoint/workspace-analytics/retrieve-workspace-asset-analytics"},{"title":"Retrieve workspace events","openapi":"get /workspaces/events","href":"/api-reference/endpoint/workspace-analytics/retrieve-workspace-events"}]},{"group":"Templates","pages":[{"title":"Retrieve a list of templates","openapi":"get /templates","href":"/api-reference/endpoint/templates/retrieve-a-list-of-templates"},{"title":"Retrieve a template","openapi":"get /templates/{id}","href":"/api-reference/endpoint/templates/retrieve-a-template"}]},{"group":"Pages","pages":[{"title":"Retrieve a list of workspace pages","openapi":"get /workspace-pages","href":"/api-reference/endpoint/workspace-pages/retrieve-a-list-of-workspace-pages"},{"title":"Retrieve a workspace page","openapi":"get /workspace-pages/{id}","href":"/api-reference/endpoint/workspace-pages/retrieve-a-workspace-page"},{"title":"Update a workspace page","openapi":"patch /workspace-pages/{id}","href":"/api-reference/endpoint/workspace-pages/update-a-workspace-page"}]},{"group":"Sections","pages":[{"title":"Retrieve a list of workspace sections","openapi":"get /workspace-sections","href":"/api-reference/endpoint/workspace-sections/retrieve-a-list-of-workspace-sections"},{"title":"Retrieve a workspace section","openapi":"get /workspace-sections/{id}","href":"/api-reference/endpoint/workspace-sections/retrieve-a-workspace-section"},{"title":"Update a workspace section","openapi":"patch /workspace-sections/{id}","href":"/api-reference/endpoint/workspace-sections/update-a-workspace-section"}]},{"group":"Plans","pages":[{"title":"Retrieve a list of workspace plans","openapi":"get /workspace-plans","href":"/api-reference/endpoint/workspace-plans/retrieve-a-list-of-workspace-plans"},{"title":"Retrieve a workspace plan","openapi":"get /workspace-plans/{id}","href":"/api-reference/endpoint/workspace-plans/retrieve-a-workspace-plan"}]},{"group":"Tasks","pages":[{"title":"Create a workspace plan task","openapi":"post /workspace-plan-tasks","href":"/api-reference/endpoint/workspace-plan-tasks/create-a-workspace-plan-task"},{"title":"Retrieve a list of workspace plan tasks","openapi":"get /workspace-plan-tasks","href":"/api-reference/endpoint/workspace-plan-tasks/retrieve-a-list-of-workspace-plan-tasks"},{"title":"Retrieve a workspace plan task","openapi":"get /workspace-plan-tasks/{id}","href":"/api-reference/endpoint/workspace-plan-tasks/retrieve-a-workspace-plan-task"},{"title":"Update a workspace plan task","openapi":"patch /workspace-plan-tasks/{id}","href":"/api-reference/endpoint/workspace-plan-tasks/update-a-workspace-plan-task"},{"title":"Delete a workspace plan task","openapi":"delete /workspace-plan-tasks/{id}","href":"/api-reference/endpoint/workspace-plan-tasks/delete-a-workspace-plan-task"},{"title":"Retrieve a list of workspace plan task statuses","openapi":"get /workspace-plan-tasks/{id}/statuses","href":"/api-reference/endpoint/workspace-plan-tasks/retrieve-a-list-of-workspace-plan-task-statuses"},{"title":"Create a workspace plan task comment","openapi":"post /workspace-plan-tasks/{id}/comments","href":"/api-reference/endpoint/workspace-plan-tasks/create-a-workspace-plan-task-comment"},{"title":"Retrieve a list of workspace plan task comments","openapi":"get /workspace-plan-tasks/{id}/comments","href":"/api-reference/endpoint/workspace-plan-tasks/retrieve-a-list-of-workspace-plan-task-comments"}]},{"group":"Iframe embeds","pages":[{"title":"Retrieve a list of workspace iframe embeds","openapi":"get /workspace-iframe-embeds","href":"/api-reference/endpoint/workspace-iframe-embeds/retrieve-a-list-of-workspace-iframe-embeds"},{"title":"Retrieve a workspace iframe embed","openapi":"get /workspace-iframe-embeds/{id}","href":"/api-reference/endpoint/workspace-iframe-embeds/retrieve-a-workspace-iframe-embed"},{"title":"Update a workspace iframe embed","openapi":"patch /workspace-iframe-embeds/{id}","href":"/api-reference/endpoint/workspace-iframe-embeds/update-a-workspace-iframe-embed"}]},{"group":"Files","pages":[{"title":"Create a file","openapi":"post /files","href":"/api-reference/endpoint/files/create-a-file"},{"title":"Retrieve a file","openapi":"get /files/{id}","href":"/api-reference/endpoint/files/retrieve-a-file"}]},{"group":"Forms","pages":[{"title":"Retrieve a list of forms","openapi":"get /forms","href":"/api-reference/endpoint/forms/retrieve-a-list-of-forms"},{"title":"Retrieve a form","openapi":"get /forms/{id}","href":"/api-reference/endpoint/forms/retrieve-a-form"},{"title":"Retrieve form responses","openapi":"get /forms/{id}/responses","href":"/api-reference/endpoint/forms/retrieve-form-responses"}]},{"group":"Users","pages":[{"title":"Retrieve a list of workspace users","openapi":"get /workspace-users","href":"/api-reference/endpoint/workspace-users/retrieve-a-list-of-workspace-users"},{"title":"Create a workspace user","openapi":"POST /workspace-users","href":"/api-reference/endpoint/workspace-users/create-a-workspace-user"},{"title":"Retrieve a workspace user","openapi":"get /workspace-users/{id}","href":"/api-reference/endpoint/workspace-users/retrieve-a-workspace-user"},{"title":"Update a workspace user","openapi":"PATCH /workspace-users/{id}","href":"/api-reference/endpoint/workspace-users/update-a-workspace-user"},{"title":"Delete a workspace user","openapi":"delete /workspace-users/{id}","href":"/api-reference/endpoint/workspace-users/delete-a-workspace-user"}]},{"group":"Domains","pages":[{"title":"Retrieve a list of workspace domains","openapi":"get /workspace-domains","href":"/api-reference/endpoint/workspace-domains/retrieve-a-list-of-workspace-domains"},{"title":"Create a workspace domain","openapi":"POST /workspace-domains","href":"/api-reference/endpoint/workspace-domains/create-a-workspace-domain"},{"title":"Retrieve a workspace domain","openapi":"get /workspace-domains/{id}","href":"/api-reference/endpoint/workspace-domains/retrieve-a-workspace-domain"},{"title":"Update a workspace domain","openapi":"PATCH /workspace-domains/{id}","href":"/api-reference/endpoint/workspace-domains/update-a-workspace-domain"},{"title":"Delete a workspace domain","openapi":"delete /workspace-domains/{id}","href":"/api-reference/endpoint/workspace-domains/delete-a-workspace-domain"}]}]},{"group":"Library","pages":[{"group":"Assets","pages":[{"title":"Retrieve a list of assets","openapi":"get /assets","href":"/api-reference/endpoint/assets/retrieve-a-list-of-assets"},{"title":"Retrieve an asset","openapi":"get /assets/{id}","href":"/api-reference/endpoint/assets/retrieve-an-asset"},{"title":"Create an asset","openapi":"post /assets","href":"/api-reference/endpoint/assets/create-an-asset"},{"title":"Update an asset","openapi":"patch /assets/{id}","href":"/api-reference/endpoint/assets/update-an-asset"},{"title":"Delete an asset","openapi":"delete /assets/{id}","href":"/api-reference/endpoint/assets/delete-an-asset"}]},{"group":"Asset share links","pages":[{"title":"Retrieve asset share links","openapi":"get /asset-share-link","href":"/api-reference/endpoint/asset-share-link/retrieve-asset-share-links"},{"title":"Retrieve an asset share link","openapi":"get /asset-share-link/{id}","href":"/api-reference/endpoint/asset-share-link/retrieve-an-asset-share-link"}]},{"group":"Tags","pages":[{"title":"Retrieve a list of tags","openapi":"get /tags","href":"/api-reference/endpoint/tags/retrieve-a-list-of-tags"},{"title":"Create a tag","openapi":"post /tags","href":"/api-reference/endpoint/tags/create-a-tag"},{"title":"Retrieve a tag","openapi":"get /tags/{id}","href":"/api-reference/endpoint/tags/retrieve-a-tag"},{"title":"Update a tag","openapi":"patch /tags/{id}","href":"/api-reference/endpoint/tags/update-a-tag"},{"title":"Delete a tag","openapi":"delete /tags/{id}","href":"/api-reference/endpoint/tags/delete-a-tag"}]}]},{"group":"Learning","pages":[{"group":"Courses","pages":[{"title":"Retrieve a list of courses","openapi":"get /courses","href":"/api-reference/endpoint/courses/retrieve-a-list-of-courses"},{"title":"Retrieve a course","openapi":"get /courses/{id}","href":"/api-reference/endpoint/courses/retrieve-a-course"}]},{"group":"Pathways","pages":[{"title":"Retrieve a list of pathways","openapi":"get /pathways","href":"/api-reference/endpoint/pathways/retrieve-a-list-of-pathways"},{"title":"Retrieve a pathway","openapi":"get /pathways/{id}","href":"/api-reference/endpoint/pathways/retrieve-a-pathway"}]},{"group":"Assignments","pages":[{"title":"Assign learning","openapi":"post /learning-assignments","href":"/api-reference/endpoint/learning-assignments/create-learning-assignments"}]},{"group":"Playbooks","pages":[{"title":"Retrieve a list of playbooks","openapi":"get /playbooks","href":"/api-reference/endpoint/playbooks/retrieve-a-list-of-playbooks"},{"title":"Retrieve a playbook","openapi":"get /playbooks/{id}","href":"/api-reference/endpoint/playbooks/retrieve-a-playbook"}]}]},{"group":"General","pages":[{"group":"Custom fields","pages":[{"title":"Retrieve a list of custom fields","openapi":"get /custom-fields","href":"/api-reference/endpoint/custom-fields/retrieve-a-list-of-custom-fields"},{"title":"Retrieve a custom field","openapi":"get /custom-fields/{id}","href":"/api-reference/endpoint/custom-fields/retrieve-a-custom-field"}]},{"group":"Users","pages":[{"title":"Retrieve a list of users","openapi":"get /users","href":"/api-reference/endpoint/users/retrieve-a-list-of-users"},{"title":"Retrieve a user","openapi":"get /users/{id}","href":"/api-reference/endpoint/users/retrieve-a-user"}]},{"group":"Status check","pages":[{"title":"Ping the API","openapi":"get /ping","href":"/api-reference/endpoint/status-check/ping"}]}]},{"group":"Guides","pages":[{"title":"Embedding workspace","icon":"page","href":"/embedding-workspace"},{"title":"Programmatic iFrame Updates","icon":"frame","href":"/iframe-updates"}]}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/introduction"}]}]},"basePath":"","title":"Update a deal with the Dock API - API Reference","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}