{
"error": {
"code": "opportunity_associated",
"details": [],
"links": [
{
"kind": "open_api",
"name": "OpenAPI specification",
"url": "https://docs.stora.test/2025-09/openapi.json"
},
{
"kind": "documentation",
"name": "Errors",
"url": "https://docs.stora.test/2025-09/guides/errors"
}
],
"message": "The opportunity is associated with a deal. Only its metadata can be updated.",
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"type": "invalid_request_error"
}
}
{
"error": {
"code": "invalid_content",
"details": [
{
"message": "does not match the site of the existing line items",
"pointer": "/site/id"
}
],
"links": [
{
"kind": "open_api",
"name": "OpenAPI specification",
"url": "https://docs.stora.test/2025-09/openapi.json"
},
{
"kind": "documentation",
"name": "Errors",
"url": "https://docs.stora.test/2025-09/guides/errors"
}
],
"message": "The request body content is not valid.",
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"type": "invalid_request_error"
}
}
Opportunities
Update an Opportunity
Update an existing opportunity.
The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated.
Omitting line_items leaves them unchanged, and an empty array removes them.
A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected.
Source, creator and lifecycle fields are read-only.
{
"error": {
"code": "opportunity_associated",
"details": [],
"links": [
{
"kind": "open_api",
"name": "OpenAPI specification",
"url": "https://docs.stora.test/2025-09/openapi.json"
},
{
"kind": "documentation",
"name": "Errors",
"url": "https://docs.stora.test/2025-09/guides/errors"
}
],
"message": "The opportunity is associated with a deal. Only its metadata can be updated.",
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"type": "invalid_request_error"
}
}
{
"error": {
"code": "invalid_content",
"details": [
{
"message": "does not match the site of the existing line items",
"pointer": "/site/id"
}
],
"links": [
{
"kind": "open_api",
"name": "OpenAPI specification",
"url": "https://docs.stora.test/2025-09/openapi.json"
},
{
"kind": "documentation",
"name": "Errors",
"url": "https://docs.stora.test/2025-09/guides/errors"
}
],
"message": "The request body content is not valid.",
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"type": "invalid_request_error"
}
}
This endpoint is changing in a breaking way as we restructure how Protection Levels work. Contact us at api_support@stora.co and read this guide before starting any integration.
Skip this property (do not include it inside the request) if you don't want to update the line items. Existing line items not included here in the update request will be removed. To remove all line items, provide an empty array. At most one item per type is allowed. A site is required to add a line item.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stora","colors":{"primary":"#05195A","light":"#F54309","dark":"#13183E"},"logo":{"light":"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/logo/stora-logo.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=208e8987df1797b88ccc8c1c418f8126","dark":"https://mintcdn.com/stora-f4154d0c/dmKerB3EhgN2KR1E/logo/stora-logo-white.svg?fit=max\u0026auto=format\u0026n=dmKerB3EhgN2KR1E\u0026q=85\u0026s=952b96d5123da5b794de397c9d2edacb"},"favicon":"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/favicon.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=03693c34ec06252c51107f6d1057a0ac","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://stora.co/contact","label":"Contact"}],"primary":{"type":"button","label":"Book a demo","href":"https://stora.co/get-started"}},"integrations":{"intercom":{"appId":"qaw9usmk"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stora-f4154d0c","hasAudioNarration":false,"actualSubdomain":"stora-f4154d0c","customDomains":["docs.stora.co"],"gitSource":{"type":"github","owner":"stora-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aecc7c590fdd8a86a9d0d09","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API reference","count":186},{"language":"default","tag":"Webhooks","count":73},{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"Opportunities","count":10},{"language":"default","tag":"Building integrations","count":8},{"language":"default","tag":"Deals","count":8},{"language":"default","tag":"Orders","count":8},{"language":"default","tag":"Working with the API","count":7},{"language":"default","tag":"Tasks","count":7},{"language":"default","tag":"Units","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"api@stora.co","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"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":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:21px}.mermaid .node rect{rx:0.375rem;ry:0.375rem}.mermaid .edgeLabel,.mermaid .edgeLabel .labelBkg{border-radius:4px!important}[data-component-part=\"update-tag\"]{padding:0.0625rem 0.375rem;background-color:#f4f4f5;border:1px solid #e4e4e7;font-size:0.75rem}.dark [data-component-part=\"update-tag\"]{background-color:#27272a;border-color:#3f3f46}.mermaid .edgeLabel p{color:#ffffff!important;font-size:0.625rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0.05em!important}.dark .mermaid .messageText,.dark .mermaid .labelText,.dark .mermaid .labelText>tspan,.dark .mermaid .loopText,.dark .mermaid .loopText>tspan{fill:#f4f4f5!important;stroke:none!important}.dark .mermaid .messageLine0,.dark .mermaid .messageLine1{stroke:#ff7237!important}.dark .mermaid marker[id$=\"-arrowhead\"] path,.dark .mermaid marker[id$=\"-filled-head\"] path{fill:#ff7237!important;stroke:#ff7237!important}.dark .mermaid marker[id$=\"-crosshead\"] path{stroke:#ff7237!important}[data-nav-tag=\"Beta\"],[data-nav-tag=\"Beta\"] *{background-color:#f87171;color:white!important}[data-nav-tag=\"Changing\"],[data-nav-tag=\"Changing\"] *{background-color:#f59e0b;color:white!important}"}],"page":{"pagePath":"2025-09/api-reference/opportunities/update-an-opportunity","slug":"/2025-09/api-reference/opportunities/update-an-opportunity","pageMetadata":{"title":"Update an Opportunity","description":"Update an existing opportunity.\n\nThe contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated.\nOmitting `line_items` leaves them unchanged, and an empty array removes them.\nA line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected.\n\nSource, creator and lifecycle fields are read-only.\n\nRequired authorization scope: `public.opportunity:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/update-an-opportunity","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update an existing opportunity.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated.\\nOmitting \", _jsx(_components.code, {\n children: \"line_items\"\n }), \" leaves them unchanged, and an empty array removes them.\\nA line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Source, creator and lifecycle fields are read-only.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Required authorization scope: \", _jsx(_components.code, {\n children: \"public.opportunity:write\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This endpoint is changing in a breaking way`}),` as we restructure how Protection Levels work. Contact us at `,_jsx(_components.a,{href:`mailto:api_support@stora.co`,children:`api_support@stora.co`}),` and read `,_jsx(_components.a,{href:`https://docs.stora.co/2025-09/guides/site-scoped-protection-levels`,children:`this guide`}),` before starting any integration.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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 an Opportunity","description":"Update an existing opportunity.\n\nThe contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated.\nOmitting `line_items` leaves them unchanged, and an empty array removes them.\nA line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected.\n\nSource, creator and lifecycle fields are read-only.\n\nRequired authorization scope: `public.opportunity:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/update-an-opportunity","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update an Opportunity","tags":["Opportunities"],"operationId":"opportunity_update","description":"Update an existing opportunity.\n\nThe contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated.\nOmitting `line_items` leaves them unchanged, and an empty array removes them.\nA line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected.\n\nSource, creator and lifecycle fields are read-only.\n\nRequired authorization scope: `public.opportunity:write`\n","x-mint":{"content":"\u003cWarning>\n **This endpoint is changing in a breaking way** as we restructure how Protection Levels work. Contact us at api_support@stora.co and read [this guide](https://docs.stora.co/2025-09/guides/site-scoped-protection-levels) before starting any integration.\n\u003c/Warning>\n","metadata":{"tag":"Beta"}},"security":["38afd85e-8db3-4e2b-b187-2460ba05edaf","5c5f1e71-617e-40b8-a84a-55c951b0bc1b"],"parameters":["9922f909-6df9-44e3-8c06-80237d8742db"],"responses":{"200":"492308e1-a312-47d9-aa83-18013c5d814c","404":"94a40053-ecc7-47c8-b81b-f72bbc9b6631","409":"81916af3-e043-4f14-afb6-e27bc9a57733","422":"e66dedc8-ca6b-455c-aa1c-cc65a973f8c0"},"requestBody":"753916fd-78bd-4c10-8f44-a8146a69c422","method":"patch","type":"path","servers":["b51a363d-af75-4ee5-b49e-320c237ff58a"],"path":"/2025-09/opportunities/{opportunity_id}","baseUrlOptions":["https://public-api.stora.co"],"title":"Update an Opportunity","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9922f909-6df9-44e3-8c06-80237d8742db":{"name":"expand","explode":false,"in":"query","schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"description":"This endpoint supports expandable responses. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#expanding-responses).","uniqueKey":"","typeLabel":"string[]"},"description":"This endpoint supports expandable responses. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#expanding-responses).","required":false},"4c964c8e-912d-43f4-a657-2024c44f6af6":{"name":"opportunity_id","in":"path","description":"The ID of the opportunity to retrieve","required":true,"schema":{"type":"string","isRequired":true,"description":"The ID of the opportunity to retrieve","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"site":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"The ID of the site associated with the opportunity","isRequired":true,"uniqueKey":"site.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"description":"The site associated with the opportunity. To remove the association, set site to null.","uniqueKey":"site.oneOf.0","typeLabel":"object"},{"type":"null","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"The ID of the site associated with the opportunity"}},"additionalProperties":false,"description":"The site associated with the opportunity. To remove the association, set site to null.","uniqueKey":"site.oneOf.1","typeLabel":"null"}],"uniqueKey":"site","typeLabel":"object | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information on the opportunity. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information on the opportunity. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"line_items":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","description":"Deal Unit Type Line Item","required":["type","item"],"properties":{"type":{"const":"unit_type","type":"string","description":"Identifies the line item as a unit type.","isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"string"},"item":{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"The ID of the referenced unit type.","isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.0.item.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.0.item","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Deal Protection Line Item","required":["type","item"],"properties":{"type":{"const":"protection","type":"string","description":"Identifies the line item as a protection level.","isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"string"},"item":{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"The ID of the referenced protection level.","isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.1.item.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.1.item","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"line_items.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"line_items.oneOf.0.items.[INDEX]","typeLabel":"object"},"maxItems":2,"description":"Skip this property (do not include it inside the request) if you don't want to update the line items. Existing line items not included here in the update request will be removed. To remove all line items, provide an empty array. At most one item per type is allowed. A site is required to add a line item.","uniqueKey":"line_items.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"oneOf":[{"type":"object","description":"Deal Unit Type Line Item","required":["type","item"],"properties":{"type":{"const":"unit_type","type":"string","description":"Identifies the line item as a unit type."},"item":{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"The ID of the referenced unit type."}},"additionalProperties":false}},"additionalProperties":false},{"type":"object","description":"Deal Protection Line Item","required":["type","item"],"properties":{"type":{"const":"protection","type":"string","description":"Identifies the line item as a protection level."},"item":{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"The ID of the referenced protection level."}},"additionalProperties":false}},"additionalProperties":false}]},"maxItems":2,"description":"Skip this property (do not include it inside the request) if you don't want to update the line items. Existing line items not included here in the update request will be removed. To remove all line items, provide an empty array. At most one item per type is allowed. A site is required to add a line item.","uniqueKey":"line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items","typeLabel":"object[] | null"}},"additionalProperties":false,"description":"Update Opportunity Request","uniqueKey":"","typeLabel":"object"},"examples":{"opportunity_successfully_updated":{"title":"opportunity_successfully_updated","value":{"site":{"id":"site_14b419f1096013f1"},"line_items":[{"type":"unit_type","item":{"id":"utype_f18fc91387cdf710"}},{"type":"protection","item":{"id":"plvl_e8f3ad0a07e47566"}}],"metadata":{"crm_id":"opportunity-123"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"492308e1-a312-47d9-aa83-18013c5d814c":{"description":"opportunity updated","content":{"application/json":{"examples":{"updated":{"title":"updated","value":{"opportunity":{"id":"opp_127b3057d5df338e","archived_at":null,"associated_at":null,"contact":{"id":"con_1234567890abcdef"},"created_at":"2025-02-22T14:41:00Z","creator":{"id":"con_1234567890abcdef"},"deal":null,"line_items":[{"item":{"id":"plvl_e8f3ad0a07e47566"},"quantity":1,"type":"protection"},{"item":{"id":"utype_f18fc91387cdf710"},"quantity":1,"type":"unit_type"}],"metadata":{"crm_id":"opportunity-123"},"site":{"id":"site_14b419f1096013f1"},"source":"price_reveal","status":"open","updated_at":"2025-02-22T14:41:00Z"},"meta":{"request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","curies":[{"name":"bo","href":"https://app.stora.test{rel}","templated":true,"title":"Backoffice"},{"name":"sf","href":"https://acme.stora.test{rel}","templated":true,"title":"Storefront"}]}}}},"schema":{"type":"object","description":"Single Opportunity","additionalProperties":false,"properties":{"opportunity":{"type":"object","description":"Opportunity","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the opportunity.","uniqueKey":"opportunity.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the opportunity.","uniqueKey":"opportunity.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the opportunity.","uniqueKey":"opportunity.updated_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["open","archived","associated"],"description":"Lifecycle status of the opportunity. An opportunity is `associated` while it is associated with a deal.","uniqueKey":"opportunity.status","typeLabel":"enum\u003cstring>"},"source":{"oneOf":[{"type":"null","enum":["incomplete_booking","price_reveal","quote_requested","unit_type_interest","pre_opening_lead","popup_form","public_api",null],"description":"Where the opportunity came from. Read-only, and `null` when the origin cannot be determined. Opportunities created through the Public API report `public_api`.","uniqueKey":"opportunity.source.oneOf.0","typeLabel":"null"},{"type":"string","enum":["incomplete_booking","price_reveal","quote_requested","unit_type_interest","pre_opening_lead","popup_form","public_api",null],"description":"Where the opportunity came from. Read-only, and `null` when the origin cannot be determined. Opportunities created through the Public API report `public_api`.","uniqueKey":"opportunity.source.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"opportunity.source","typeLabel":"null | enum\u003cstring>"},"archived_at":{"oneOf":[{"type":"null","format":"date-time","description":"Set while the opportunity is archived, and cleared when it is unarchived.","uniqueKey":"opportunity.archived_at.oneOf.0","typeLabel":"null"},{"type":"string","format":"date-time","description":"Set while the opportunity is archived, and cleared when it is unarchived.","uniqueKey":"opportunity.archived_at.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"opportunity.archived_at","typeLabel":"null | string\u003cdate-time>"},"associated_at":{"oneOf":[{"type":"null","format":"date-time","description":"Set while the opportunity is associated with a deal, and cleared when the association ends.","uniqueKey":"opportunity.associated_at.oneOf.0","typeLabel":"null"},{"type":"string","format":"date-time","description":"Set while the opportunity is associated with a deal, and cleared when the association ends.","uniqueKey":"opportunity.associated_at.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"opportunity.associated_at","typeLabel":"null | string\u003cdate-time>"},"contact":{"type":"object","description":"Contact associated with the opportunity. **Expandable** (shows only ID when not expanded).","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the contact.","pattern":"^con_","uniqueKey":"opportunity.contact.id","typeLabel":"string"},"address":{"type":"any","uniqueKey":"opportunity.contact.address","typeLabel":"any"},"email":{"type":"string","description":"Email address of the contact.","format":"email","uniqueKey":"opportunity.contact.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","uniqueKey":"opportunity.contact.full_name","typeLabel":"string"},"marketing_source":{"oneOf":[{"type":"string","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.contact.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.contact.marketing_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.marketing_source","typeLabel":"enum\u003cstring> | null"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","uniqueKey":"opportunity.contact.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","uniqueKey":"opportunity.contact.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.contact.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.contact.source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.source","typeLabel":"enum\u003cstring> | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","uniqueKey":"opportunity.contact.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","uniqueKey":"opportunity.contact.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.tax_id","typeLabel":"string | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","uniqueKey":"opportunity.contact.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","uniqueKey":"opportunity.contact.company_registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.company_registration_number","typeLabel":"string | null"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.contact.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.contact.accounting_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.accounting_code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.contact.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.contact.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.type","typeLabel":"enum\u003cstring> | null"},"use_case":{"oneOf":[{"type":"string","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.contact.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.contact.use_case.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.use_case","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"Status of the contact. Derived from the contact's tenancy — `lead` (no tenancies, default state), `customer` (at least one active tenancy), `churned` (all tenancies have ended).","enum":["lead","customer","churned"],"uniqueKey":"opportunity.contact.status","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","additionalProperties":{"type":"string","uniqueKey":"opportunity.contact.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"opportunity.contact.metadata","typeLabel":"object"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.contact.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.contact.stripe_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.contact.stripe_customer_id","typeLabel":"string | null"},"tenancies_count":{"description":"Number of tenancies associated with the contact.","type":"integer","uniqueKey":"opportunity.contact.tenancies_count","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","uniqueKey":"opportunity.contact.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","uniqueKey":"opportunity.contact.updated_at","typeLabel":"string\u003cdate-time>"},"identity_check":{"type":"object","additionalProperties":false,"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","uniqueKey":"opportunity.contact.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","enum":["failed","processing","succeeded","cancelled","not_attempted"],"uniqueKey":"opportunity.contact.identity_check.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.contact.identity_check","typeLabel":"object"}},"uniqueKey":"opportunity.contact","typeLabel":"object"},"site":{"oneOf":[{"type":"object","description":"Site associated with the opportunity. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.site.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.site.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.site.oneOf.0.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.site.oneOf.0.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site.oneOf.0.address","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"opportunity.site.oneOf.0","typeLabel":"object"},{"type":"null","description":"Site associated with the opportunity. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.site.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.site","typeLabel":"object | null"},"deal":{"oneOf":[{"type":"object","description":"Deal the opportunity is associated with. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the deal.","uniqueKey":"opportunity.deal.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the deal.","uniqueKey":"opportunity.deal.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the deal.","uniqueKey":"opportunity.deal.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"value_estimate":{"oneOf":[{"type":"null","deprecated":true,"description":"**Deprecated — will be removed. Use `note` instead.** Estimate of the total value of this deal to the operator. Can reflect storage fees alone, or the combined value of storage, insurance, and any additional services included in the deal.","uniqueKey":"opportunity.deal.oneOf.0.value_estimate.oneOf.0","typeLabel":"null"},{"type":"string","deprecated":true,"description":"**Deprecated — will be removed. Use `note` instead.** Estimate of the total value of this deal to the operator. Can reflect storage fees alone, or the combined value of storage, insurance, and any additional services included in the deal.","uniqueKey":"opportunity.deal.oneOf.0.value_estimate.oneOf.1","typeLabel":"string"}],"uniqueKey":"opportunity.deal.oneOf.0.value_estimate","typeLabel":"null | string"},"note":{"oneOf":[{"type":"null","description":"Free-text note for the deal. Displayed under 'Deal value estimate' in Backoffice.","uniqueKey":"opportunity.deal.oneOf.0.note.oneOf.0","typeLabel":"null"},{"type":"string","description":"Free-text note for the deal. Displayed under 'Deal value estimate' in Backoffice.","uniqueKey":"opportunity.deal.oneOf.0.note.oneOf.1","typeLabel":"string"}],"uniqueKey":"opportunity.deal.oneOf.0.note","typeLabel":"null | string"},"status":{"type":"string","enum":["open","won","lost"],"description":"Status of the deal.","uniqueKey":"opportunity.deal.oneOf.0.status","typeLabel":"enum\u003cstring>"},"lost_reason":{"oneOf":[{"type":"null","enum":["accessibility_concern","better_deal_elsewhere","chose_competitor","contract_terms","decided_not_to_use_storage","didnt_respond","due_to_unstaffed_site","facility_condition","financial_reasons","lack_of_response","location_issues","needs_extra_services","no_longer_needed","poor_customer_service","price_concerns","security_concerns","size_availability","timing","unable_to_reach_customer","unable_to_take_deliveries","other",null],"description":"Reason for loss of deal if lost.","uniqueKey":"opportunity.deal.oneOf.0.lost_reason.oneOf.0","typeLabel":"null"},{"type":"string","enum":["accessibility_concern","better_deal_elsewhere","chose_competitor","contract_terms","decided_not_to_use_storage","didnt_respond","due_to_unstaffed_site","facility_condition","financial_reasons","lack_of_response","location_issues","needs_extra_services","no_longer_needed","poor_customer_service","price_concerns","security_concerns","size_availability","timing","unable_to_reach_customer","unable_to_take_deliveries","other",null],"description":"Reason for loss of deal if lost.","uniqueKey":"opportunity.deal.oneOf.0.lost_reason.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"opportunity.deal.oneOf.0.lost_reason","typeLabel":"null | enum\u003cstring>"},"site":{"oneOf":[{"type":"object","description":"Site associated with the deal. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0.address","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.0","typeLabel":"object"},{"type":"null","description":"Site associated with the deal. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.0.site.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.site","typeLabel":"object | null"},"contact":{"type":"object","description":"Contact associated with the deal. **Expandable** (shows only ID when not expanded).","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the contact.","pattern":"^con_","uniqueKey":"opportunity.deal.oneOf.0.contact.id","typeLabel":"string"},"address":{"type":"any","uniqueKey":"opportunity.deal.oneOf.0.contact.address","typeLabel":"any"},"email":{"type":"string","description":"Email address of the contact.","format":"email","uniqueKey":"opportunity.deal.oneOf.0.contact.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.full_name","typeLabel":"string"},"marketing_source":{"oneOf":[{"type":"string","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.marketing_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.marketing_source","typeLabel":"enum\u003cstring> | null"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.source","typeLabel":"enum\u003cstring> | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.tax_id","typeLabel":"string | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.company_registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.company_registration_number","typeLabel":"string | null"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.deal.oneOf.0.contact.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.deal.oneOf.0.contact.accounting_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.accounting_code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.type","typeLabel":"enum\u003cstring> | null"},"use_case":{"oneOf":[{"type":"string","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.deal.oneOf.0.contact.use_case.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.use_case","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"Status of the contact. Derived from the contact's tenancy — `lead` (no tenancies, default state), `customer` (at least one active tenancy), `churned` (all tenancies have ended).","enum":["lead","customer","churned"],"uniqueKey":"opportunity.deal.oneOf.0.contact.status","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","additionalProperties":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.contact.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"opportunity.deal.oneOf.0.contact.metadata","typeLabel":"object"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.contact.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.contact.stripe_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.contact.stripe_customer_id","typeLabel":"string | null"},"tenancies_count":{"description":"Number of tenancies associated with the contact.","type":"integer","uniqueKey":"opportunity.deal.oneOf.0.contact.tenancies_count","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","uniqueKey":"opportunity.deal.oneOf.0.contact.updated_at","typeLabel":"string\u003cdate-time>"},"identity_check":{"type":"object","additionalProperties":false,"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","uniqueKey":"opportunity.deal.oneOf.0.contact.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","enum":["failed","processing","succeeded","cancelled","not_attempted"],"uniqueKey":"opportunity.deal.oneOf.0.contact.identity_check.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.deal.oneOf.0.contact.identity_check","typeLabel":"object"}},"uniqueKey":"opportunity.deal.oneOf.0.contact","typeLabel":"object"},"starts_at":{"oneOf":[{"format":"date-time","type":"string","description":"Start date of the deal.","uniqueKey":"opportunity.deal.oneOf.0.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Start date of the deal.","uniqueKey":"opportunity.deal.oneOf.0.starts_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.starts_at","typeLabel":"string\u003cdate-time> | null"},"assignee":{"oneOf":[{"type":"object","description":"Staff member assigned to the deal. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member.","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0.email","typeLabel":"string\u003cemail>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.0","typeLabel":"object"},{"type":"null","description":"Staff member assigned to the deal. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.0.assignee.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.assignee","typeLabel":"object | null"},"creator":{"oneOf":[{"type":"object","description":"Creator of the deal. Can be Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0.email","typeLabel":"string\u003cemail>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.0","typeLabel":"object"},{"type":"object","description":"Creator of the deal. Can be Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^tok_","description":"Unique identifier for the access token.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.1.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the access token.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.1.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.1","typeLabel":"object"},{"type":"object","description":"Creator of the deal. Can be Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^app_","description":"Unique identifier for the application.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.2.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the application.","uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.2.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.creator.oneOf.2","typeLabel":"object"}],"uniqueKey":"opportunity.deal.oneOf.0.creator","typeLabel":"object"},"stage":{"type":"object","description":"Stage that the deal is currently in. **Expandable** (shows only ID when not expanded). Shows stage data with id omitted if the stage is deleted, noted by `- (Deleted)` in the `name` field.","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the stage.","uniqueKey":"opportunity.deal.oneOf.0.stage.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.stage.name","typeLabel":"string"},"position":{"description":"Numerical position in which the stage is placed in the defined deal journey.","type":"integer","uniqueKey":"opportunity.deal.oneOf.0.stage.position","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the stage.","uniqueKey":"opportunity.deal.oneOf.0.stage.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the stage.","uniqueKey":"opportunity.deal.oneOf.0.stage.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"opportunity.deal.oneOf.0.stage","typeLabel":"object"},"line_items":{"type":"array","description":"List of line items associated with the deal. Each item references either a unit type or a protection level.","items":{"type":"object","description":"Line item associated with the deal.","additionalProperties":false,"properties":{"item":{"oneOf":[{"type":"object","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.name","typeLabel":"string"},"status":{"enum":["bookable","hidden","lead_capture"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.slug","typeLabel":"string"},"size_description":{"type":"string","description":"Description of the size of the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.size_description","typeLabel":"string"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.selling_points","typeLabel":"string[]"},"stripe_product_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.stripe_product_id","typeLabel":"string"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.require_security_deposit","typeLabel":"boolean"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["type"],"properties":{"type":{"const":"percentage","description":"Type of the coupon, which is `percentage` in this case.","isRequired":true,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"percent":{"type":"number","description":"Percentage discount provided by the coupon. E.g. 20 for a 20% discount.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"},"name":{"type":"string","description":"Name of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"duration":{"enum":["once","forever","repeating"],"description":"Duration of the coupon.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"auto_apply_to":{"type":"object","description":"Defines how the coupon should be auto-applied when used on an order.","additionalProperties":false,"properties":{"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["type"],"properties":{"type":{"const":"amount","description":"Type of the coupon, which is `amount` in this case.","isRequired":true,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.type","typeLabel":"any"},"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount","typeLabel":"object"},"name":{"type":"string","description":"Name of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.name","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.public","typeLabel":"boolean"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions","typeLabel":"integer | null"},"duration":{"enum":["once","forever","repeating"],"description":"Duration of the coupon.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period","typeLabel":"enum\u003cstring> | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months","typeLabel":"integer | null"},"auto_apply_to":{"type":"object","description":"Defines how the coupon should be auto-applied when used on an order.","additionalProperties":false,"properties":{"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.unit_types","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.protections","typeLabel":"boolean"},"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.products","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.subscriptions","typeLabel":"boolean"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^cpn_","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.2.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.2","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.3","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.promotion","typeLabel":"object · object · object · null"},"site":{"type":"object","description":"Site associated with the unit type. **Expandable** (shows only ID when not expanded).","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site.address","typeLabel":"object | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.site","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"live_prices":{"type":"array","description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.live_prices","typeLabel":"object[]"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","properties":{"length":{"type":"number","description":"Length of the unit in feet.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dimensions.length","typeLabel":"number"},"width":{"type":"number","description":"Width of the unit in feet.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dimensions.width","typeLabel":"number"},"height":{"type":"number","description":"Height of the unit in feet.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dimensions.height","typeLabel":"number"},"measurement_unit":{"enum":["ft","m"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.dimensions","typeLabel":"object"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.security_deposit","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"prices":{"type":"array","description":"List of prices associated with the unit type, including different pricing options.","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0.prices","typeLabel":"object[]"},"_links":{"type":"object","description":"Links related to the resource.","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties","typeLabel":"object"},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0._links","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.id","typeLabel":"string"},"stripe_product_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.stripe_product_id","typeLabel":"string"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.cover_level.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.cover_level.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.cover_level","typeLabel":"object"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.account_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.account_code","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.public","typeLabel":"boolean"},"prices":{"type":"array","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.prices","typeLabel":"object[]"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.site","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.1","typeLabel":"object"},{"type":"null","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item.oneOf.2","typeLabel":"null"}],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].item","typeLabel":"object · object · null"},"quantity":{"type":"integer","description":"Quantity of the item in the deal line item.","uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].quantity","typeLabel":"integer"},"type":{"type":"string","description":"The kind of line item.","enum":["unit_type","protection"],"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.deal.oneOf.0.line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.deal.oneOf.0.line_items","typeLabel":"object[]"},"metadata":{"type":"object","description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","additionalProperties":{"type":"string","uniqueKey":"opportunity.deal.oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"opportunity.deal.oneOf.0.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"opportunity.deal.oneOf.0","typeLabel":"object"},{"type":"null","description":"Deal the opportunity is associated with. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.deal.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.deal","typeLabel":"object | null"},"creator":{"oneOf":[{"type":"object","description":"Creator of the opportunity. Can be a Contact (for opportunities raised on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the contact.","pattern":"^con_","uniqueKey":"opportunity.creator.oneOf.0.id","typeLabel":"string"},"address":{"type":"any","uniqueKey":"opportunity.creator.oneOf.0.address","typeLabel":"any"},"email":{"type":"string","description":"Email address of the contact.","format":"email","uniqueKey":"opportunity.creator.oneOf.0.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","uniqueKey":"opportunity.creator.oneOf.0.full_name","typeLabel":"string"},"marketing_source":{"oneOf":[{"type":"string","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.creator.oneOf.0.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of marketing for the contact.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"uniqueKey":"opportunity.creator.oneOf.0.marketing_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.marketing_source","typeLabel":"enum\u003cstring> | null"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.creator.oneOf.0.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Source of the contact information.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"uniqueKey":"opportunity.creator.oneOf.0.source.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.source","typeLabel":"enum\u003cstring> | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.tax_id","typeLabel":"string | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","uniqueKey":"opportunity.creator.oneOf.0.company_registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.company_registration_number","typeLabel":"string | null"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.creator.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","uniqueKey":"opportunity.creator.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.accounting_code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.creator.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the contact (e.g., domestic, company).","enum":["domestic","company","student","charity","local_authority",null],"uniqueKey":"opportunity.creator.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"use_case":{"oneOf":[{"type":"string","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.creator.oneOf.0.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Use case for the contact.","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"uniqueKey":"opportunity.creator.oneOf.0.use_case.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.use_case","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"Status of the contact. Derived from the contact's tenancy — `lead` (no tenancies, default state), `customer` (at least one active tenancy), `churned` (all tenancies have ended).","enum":["lead","customer","churned"],"uniqueKey":"opportunity.creator.oneOf.0.status","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","additionalProperties":{"type":"string","uniqueKey":"opportunity.creator.oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"opportunity.creator.oneOf.0.metadata","typeLabel":"object"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.creator.oneOf.0.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Customer identifier associated with the contact. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.creator.oneOf.0.stripe_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.creator.oneOf.0.stripe_customer_id","typeLabel":"string | null"},"tenancies_count":{"description":"Number of tenancies associated with the contact.","type":"integer","uniqueKey":"opportunity.creator.oneOf.0.tenancies_count","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","uniqueKey":"opportunity.creator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","uniqueKey":"opportunity.creator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"identity_check":{"type":"object","additionalProperties":false,"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","uniqueKey":"opportunity.creator.oneOf.0.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","enum":["failed","processing","succeeded","cancelled","not_attempted"],"uniqueKey":"opportunity.creator.oneOf.0.identity_check.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.creator.oneOf.0.identity_check","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"opportunity.creator.oneOf.0","typeLabel":"object"},{"type":"object","description":"Creator of the opportunity. Can be a Contact (for opportunities raised on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member.","uniqueKey":"opportunity.creator.oneOf.1.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"opportunity.creator.oneOf.1.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","uniqueKey":"opportunity.creator.oneOf.1.email","typeLabel":"string\u003cemail>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","uniqueKey":"opportunity.creator.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","uniqueKey":"opportunity.creator.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.creator.oneOf.1","typeLabel":"object"},{"type":"object","description":"Creator of the opportunity. Can be a Contact (for opportunities raised on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^tok_","description":"Unique identifier for the access token.","uniqueKey":"opportunity.creator.oneOf.2.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the access token.","uniqueKey":"opportunity.creator.oneOf.2.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.creator.oneOf.2","typeLabel":"object"},{"type":"object","description":"Creator of the opportunity. Can be a Contact (for opportunities raised on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^app_","description":"Unique identifier for the application.","uniqueKey":"opportunity.creator.oneOf.3.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the application.","uniqueKey":"opportunity.creator.oneOf.3.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.creator.oneOf.3","typeLabel":"object"},{"type":"null","description":"Creator of the opportunity. Can be a Contact (for opportunities raised on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.creator.oneOf.4","typeLabel":"null"}],"uniqueKey":"opportunity.creator","typeLabel":"object · object · object · object · null"},"line_items":{"type":"array","description":"List of line items associated with the opportunity. Each item references either a unit type or a protection level.","items":{"type":"object","description":"Line item associated with the opportunity.","additionalProperties":false,"properties":{"item":{"oneOf":[{"type":"object","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.name","typeLabel":"string"},"status":{"enum":["bookable","hidden","lead_capture"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.slug","typeLabel":"string"},"size_description":{"type":"string","description":"Description of the size of the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.size_description","typeLabel":"string"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.selling_points","typeLabel":"string[]"},"stripe_product_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.stripe_product_id","typeLabel":"string"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.require_security_deposit","typeLabel":"boolean"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["type"],"properties":{"type":{"const":"percentage","description":"Type of the coupon, which is `percentage` in this case.","isRequired":true,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"percent":{"type":"number","description":"Percentage discount provided by the coupon. E.g. 20 for a 20% discount.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"},"name":{"type":"string","description":"Name of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"duration":{"enum":["once","forever","repeating"],"description":"Duration of the coupon.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"auto_apply_to":{"type":"object","description":"Defines how the coupon should be auto-applied when used on an order.","additionalProperties":false,"properties":{"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["type"],"properties":{"type":{"const":"amount","description":"Type of the coupon, which is `amount` in this case.","isRequired":true,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.type","typeLabel":"any"},"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.amount","typeLabel":"object"},"name":{"type":"string","description":"Name of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.name","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.code","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.title","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.public","typeLabel":"boolean"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.max_redemptions","typeLabel":"integer | null"},"duration":{"enum":["once","forever","repeating"],"description":"Duration of the coupon.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.billing_period","typeLabel":"enum\u003cstring> | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.months","typeLabel":"integer | null"},"auto_apply_to":{"type":"object","description":"Defines how the coupon should be auto-applied when used on an order.","additionalProperties":false,"properties":{"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.unit_types","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.protections","typeLabel":"boolean"},"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.products","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to.subscriptions","typeLabel":"boolean"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.auto_apply_to","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^cpn_","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.2.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.2","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion.oneOf.3","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.promotion","typeLabel":"object · object · object · null"},"site":{"type":"object","description":"Site associated with the unit type. **Expandable** (shows only ID when not expanded).","additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site.address","typeLabel":"object | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.site","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"live_prices":{"type":"array","description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.live_prices","typeLabel":"object[]"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","properties":{"length":{"type":"number","description":"Length of the unit in feet.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dimensions.length","typeLabel":"number"},"width":{"type":"number","description":"Width of the unit in feet.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dimensions.width","typeLabel":"number"},"height":{"type":"number","description":"Height of the unit in feet.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dimensions.height","typeLabel":"number"},"measurement_unit":{"enum":["ft","m"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.dimensions","typeLabel":"object"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.security_deposit","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.images","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"prices":{"type":"array","description":"List of prices associated with the unit type, including different pricing options.","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0.prices","typeLabel":"object[]"},"_links":{"type":"object","description":"Links related to the resource.","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links.additionalProperties","typeLabel":"object"},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0._links","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.id","typeLabel":"string"},"stripe_product_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.stripe_product_id","typeLabel":"string"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.cover_level.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.cover_level.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.cover_level","typeLabel":"object"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.account_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.account_code","typeLabel":"string | null"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.public","typeLabel":"boolean"},"prices":{"type":"array","items":{"type":"object","description":"Price","additionalProperties":false,"properties":{"price":{"type":"object","description":"Price for the specified billing period.","additionalProperties":false,"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price.formatted","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].price","typeLabel":"object"},"billing_period":{"enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"stripe_price_id":{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX].stripe_price_id","typeLabel":"string"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.prices","typeLabel":"object[]"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","properties":{"id":{"type":"string","description":"Unique identifier for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.description","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.phone","typeLabel":"string | null"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site was/will be opened.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"directions":{"oneOf":[{"type":"object","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0.google_maps_url","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Directions to the site.","additionalProperties":false,"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site."},{"type":"null","description":"URL to Google Maps for the site."}]}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.directions","typeLabel":"object | null"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images.default","typeLabel":"object | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.images","typeLabel":"object"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","additionalProperties":false,"properties":{"monday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"tuesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"wednesday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"thursday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"friday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"saturday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}},"sunday":{"type":"object","description":"Access Hours Day","additionalProperties":false,"properties":{"status":{"enum":["set_hours","appointment","closed"],"type":"string"},"open":{"oneOf":[{"type":"string","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Opening time in HH:MM format. Has `null` for `appointment` or `closed` status."}]},"close":{"oneOf":[{"type":"string","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."},{"type":"null","description":"Closing time in HH:MM format. Has `null` for `appointment` or `closed` status."}]}}}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","additionalProperties":false,"properties":{"line_1":{"oneOf":[{"type":"string","description":"First line of the address."},{"type":"null","description":"First line of the address."}]},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional)."},{"type":"null","description":"Second line of the address (optional)."}]},"city":{"oneOf":[{"type":"string","description":"City of the site."},{"type":"null","description":"City of the site."}]},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site."},{"type":"null","description":"Postal code of the site."}]}},"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0.address","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.0","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site.oneOf.1","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.site","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.1","typeLabel":"object"},{"type":"null","description":"Item associated with the line item. Can be a Unit type or Protection level. **Expandable** (shows only ID when not expanded).","uniqueKey":"opportunity.line_items.items.[INDEX].item.oneOf.2","typeLabel":"null"}],"uniqueKey":"opportunity.line_items.items.[INDEX].item","typeLabel":"object · object · null"},"quantity":{"type":"integer","description":"Quantity of the item in the opportunity line item.","uniqueKey":"opportunity.line_items.items.[INDEX].quantity","typeLabel":"integer"},"type":{"type":"string","description":"The kind of line item.","enum":["unit_type","protection"],"uniqueKey":"opportunity.line_items.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"opportunity.line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opportunity.line_items","typeLabel":"object[]"},"metadata":{"type":"object","description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","additionalProperties":{"type":"string","uniqueKey":"opportunity.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"opportunity.metadata","typeLabel":"object"}},"uniqueKey":"opportunity","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","description":"Unique request identifier.","uniqueKey":"meta.request_id","typeLabel":"string"},"curies":{"type":"array","description":"CURIE definitions for resolving namespaced link relations.","items":{"type":"object","description":"CURIE definition for resolving namespaced link relations.","additionalProperties":false,"properties":{"name":{"type":"string","description":"CURIE prefix name","enum":["bo","sf"],"uniqueKey":"meta.curies.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"href":{"type":"string","description":"URI template for resolving the CURIE.","uniqueKey":"meta.curies.items.[INDEX].href","typeLabel":"string"},"templated":{"type":"boolean","description":"Whether the href is a URI template.","uniqueKey":"meta.curies.items.[INDEX].templated","typeLabel":"boolean"},"title":{"type":"string","description":"Human-readable title.","uniqueKey":"meta.curies.items.[INDEX].title","typeLabel":"string"}},"uniqueKey":"meta.curies.items.[INDEX]","typeLabel":"object"},"uniqueKey":"meta.curies","typeLabel":"object[]"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"94a40053-ecc7-47c8-b81b-f72bbc9b6631":{"description":"opportunity not found","content":{"application/json":{"examples":{"default":{"title":"default","value":{"error":{"code":"resource_not_found","details":[],"links":[{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors"}],"message":"The Opportunity was not found.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","description":"Error","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","description":"Short code that represents the error.","uniqueKey":"error.code","typeLabel":"string"},"type":{"enum":["invalid_request_error","api_error"],"description":"Type of error returned.","type":"string","uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","uniqueKey":"error.message","typeLabel":"string"},"links":{"type":"array","description":"Link(s) to Stora developer resources","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of Stora documentation","uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"},"kind":{"type":"string","description":"Kind of Stora documentation","uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.links","typeLabel":"object[]"},"details":{"type":"array","description":"Array of error details.","items":{"type":"object","description":"ErrorDetail","additionalProperties":false,"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"pointer":{"oneOf":[{"type":"string","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique request identifier.","uniqueKey":"error.request_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"81916af3-e043-4f14-afb6-e27bc9a57733":{"description":"opportunity associated with a deal","content":{"application/json":{"examples":{"default":{"title":"default","value":{"error":{"code":"opportunity_associated","details":[],"links":[{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors"}],"message":"The opportunity is associated with a deal. Only its metadata can be updated.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","description":"Error","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","description":"Short code that represents the error.","uniqueKey":"error.code","typeLabel":"string"},"type":{"enum":["invalid_request_error","api_error"],"description":"Type of error returned.","type":"string","uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","uniqueKey":"error.message","typeLabel":"string"},"links":{"type":"array","description":"Link(s) to Stora developer resources","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of Stora documentation","uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"},"kind":{"type":"string","description":"Kind of Stora documentation","uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.links","typeLabel":"object[]"},"details":{"type":"array","description":"Array of error details.","items":{"type":"object","description":"ErrorDetail","additionalProperties":false,"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"pointer":{"oneOf":[{"type":"string","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique request identifier.","uniqueKey":"error.request_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"e66dedc8-ca6b-455c-aa1c-cc65a973f8c0":{"description":"invalid request body","content":{"application/json":{"examples":{"stranded_line_items":{"title":"stranded_line_items","value":{"error":{"code":"invalid_content","details":[{"message":"does not match the site of the existing line items","pointer":"/site/id"}],"links":[{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors"}],"message":"The request body content is not valid.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","description":"Error","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","description":"Short code that represents the error.","uniqueKey":"error.code","typeLabel":"string"},"type":{"enum":["invalid_request_error","api_error"],"description":"Type of error returned.","type":"string","uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","uniqueKey":"error.message","typeLabel":"string"},"links":{"type":"array","description":"Link(s) to Stora developer resources","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of Stora documentation","uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"},"kind":{"type":"string","description":"Kind of Stora documentation","uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.links","typeLabel":"object[]"},"details":{"type":"array","description":"Array of error details.","items":{"type":"object","description":"ErrorDetail","additionalProperties":false,"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"pointer":{"oneOf":[{"type":"string","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique request identifier.","uniqueKey":"error.request_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"38afd85e-8db3-4e2b-b187-2460ba05edaf":{"Bearer":{"description":"Bearer Token necessary to use API","type":"http","scheme":"bearer","bearerFormat":"token","scopes":["public.opportunity:write"],"schemeName":"Bearer"}},"5c5f1e71-617e-40b8-a84a-55c951b0bc1b":{"OAuth2":{"type":"oauth2","description":"OAuth 2 authentication","flows":{"clientCredentials":{"tokenUrl":"/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}},"authorizationCode":{"authorizationUrl":"https://app.stora.co/oauth2/authorize","tokenUrl":"/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}}},"scopes":["public.opportunity:write"],"schemeName":"OAuth2"}}},"servers":{"b51a363d-af75-4ee5-b49e-320c237ff58a":{"url":"https://public-api.stora.co","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Bearer Token necessary to use API","type":"http","scheme":"bearer","bearerFormat":"token","scopes":["public.opportunity:write"],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer Token necessary to use API","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2 authentication","flows":{"clientCredentials":{"tokenUrl":"/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}},"authorizationCode":{"authorizationUrl":"https://app.stora.co/oauth2/authorize","tokenUrl":"/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}}},"scopes":["public.opportunity:write"],"schemeName":"OAuth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2 authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2","name":"Authorization"}],"title":"OAuth2"}]},"originalFileLocation":"2025-09/openapi.json"},"subdomain":"stora-f4154d0c","siteName":"Stora","title":"Update an Opportunity - Stora","navMaps":{"firstHrefInVersion":{"2025-09":{"href":"/2025-09/api-reference/opportunities/update-an-opportunity","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T10:29:17.009Z","originalFileLocation":"2025-09/api-reference/opportunities/update-an-opportunity.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 an existing opportunity. The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated. Omitting line_items leaves them unchanged, and an empty array removes them. A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected. Source, creator and lifecycle fields are read-only. Required authorization scope: public.opportunity:write\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stora\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_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/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an Opportunity - Stora\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing opportunity. The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated. Omitting line_items leaves them unchanged, and an empty array removes them. A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected. Source, creator and lifecycle fields are read-only. Required authorization scope: public.opportunity:write\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stora\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stora-f4154d0c.mintlify.site/_mintlify/api/og/v2?division=Opportunities\u0026amp;title=Update+an+Opportunity\u0026amp;description=Update+an+existing+opportunity.%0A%0AThe+contact+cannot+be+changed.+Once+the+opportunity+is+associated+with+a+deal%2C+only+its+metadata+can+be+updated.%0AOmitting+%60line\u0026amp;theme=e0fa26a73a1fabf36459047f\u0026amp;signature=ae3b4fd7f5f1f5306fc9de65b2fafd2572817e6b477f8da3655724a026150d1b\">\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 Opportunity - Stora\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing opportunity. The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated. Omitting line_items leaves them unchanged, and an empty array removes them. A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected. Source, creator and lifecycle fields are read-only. Required authorization scope: public.opportunity:write\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stora-f4154d0c.mintlify.site/_mintlify/api/og/v2?division=Opportunities\u0026amp;title=Update+an+Opportunity\u0026amp;description=Update+an+existing+opportunity.%0A%0AThe+contact+cannot+be+changed.+Once+the+opportunity+is+associated+with+a+deal%2C+only+its+metadata+can+be+updated.%0AOmitting+%60line\u0026amp;theme=e0fa26a73a1fabf36459047f\u0026amp;signature=ae3b4fd7f5f1f5306fc9de65b2fafd2572817e6b477f8da3655724a026150d1b\">\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/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stora\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#05195A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/2025-09/api-reference/opportunities/update-an-opportunity.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stora.co/#organization\",\"name\":\"Stora\",\"url\":\"https://docs.stora.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/logo/stora-logo.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=208e8987df1797b88ccc8c1c418f8126\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stora.co#website\",\"name\":\"Stora\",\"url\":\"https://docs.stora.co\",\"publisher\":{\"@id\":\"https://docs.stora.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity#webpage\",\"url\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity\",\"name\":\"Update an Opportunity\",\"description\":\"Update an existing opportunity. The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated. Omitting line_items leaves them unchanged, and an empty array removes them. A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected. Source, creator and lifecycle fields are read-only. Required authorization scope: public.opportunity:write\",\"dateModified\":\"2026-11-05T10:29:17.009Z\",\"isPartOf\":{\"@id\":\"https://docs.stora.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Opportunities\",\"item\":\"https://docs.stora.co/2025-09/api-reference/opportunities/archive-an-opportunity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update an Opportunity\",\"item\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity#apireference\",\"headline\":\"Update an Opportunity\",\"name\":\"Update an Opportunity\",\"description\":\"Update an existing opportunity. The contact cannot be changed. Once the opportunity is associated with a deal, only its metadata can be updated. Omitting line_items leaves them unchanged, and an empty array removes them. A line item requires a site. Clearing or moving the site while keeping line items that belong to it is rejected. Source, creator and lifecycle fields are read-only. Required authorization scope: public.opportunity:write\",\"url\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/opportunities/update-an-opportunity#webpage\"},\"dateModified\":\"2026-11-05T10:29:17.009Z\",\"publisher\":{\"@id\":\"https://docs.stora.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stora.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stora\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Stora","nav":{"global":null,"versions":[{"version":"2025-09","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/2025-09/guides/introduction"}]},{"tab":"API reference","groups":[{"group":"Contacts","pages":[{"title":"List all Contacts","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contacts","href":"/2025-09/api-reference/contacts/list-all-contacts"},{"title":"Create a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/contacts","href":"/2025-09/api-reference/contacts/create-a-contact"},{"title":"Show a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/show-a-contact"},{"title":"Delete a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/delete-a-contact"},{"title":"Update a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/update-a-contact"}]},{"group":"Contract Templates","pages":[{"title":"List all Contract Templates","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contract_templates","href":"/2025-09/api-reference/contract-templates/list-all-contract-templates"}]},{"group":"Contracts","pages":[{"title":"List all Contracts","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/contracts","href":"/2025-09/api-reference/contracts/list-all-contracts"},{"title":"Show a Contract","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/contracts/{contract_id}","href":"/2025-09/api-reference/contracts/show-a-contract"}]},{"group":"Coupons","pages":[{"title":"List all Coupons","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/coupons","href":"/2025-09/api-reference/coupons/list-all-coupons"},{"title":"Show a Coupon","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/coupons/{coupon_id}","href":"/2025-09/api-reference/coupons/show-a-coupon"}]},{"group":"Credit Notes","pages":[{"title":"List all Credit Notes","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/credit_notes","href":"/2025-09/api-reference/credit-notes/list-all-credit-notes"},{"title":"Show a Credit Note","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/credit_notes/{credit_note_id}","href":"/2025-09/api-reference/credit-notes/show-a-credit-note"}]},{"group":"Deals","pages":[{"title":"Lose a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/lose","href":"/2025-09/api-reference/deals/lose-a-deal"},{"title":"Reopen a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/reopen","href":"/2025-09/api-reference/deals/reopen-a-deal"},{"title":"Win a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/win","href":"/2025-09/api-reference/deals/win-a-deal"},{"title":"List all Deals","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals","href":"/2025-09/api-reference/deals/list-all-deals"},{"title":"Create a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals","href":"/2025-09/api-reference/deals/create-a-deal"},{"title":"Show a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/show-a-deal"},{"title":"Delete a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/delete-a-deal"},{"title":"Update a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/update-a-deal"}]},{"group":"Deals / Stages","pages":[{"title":"List all Stages","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/stages","href":"/2025-09/api-reference/deals-stages/list-all-stages"},{"title":"Show a Deal Stage","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/stages/{stage_id}","href":"/2025-09/api-reference/deals-stages/show-a-deal-stage"}]},{"group":"Identity Verifications","pages":[{"title":"List all Identity Verifications","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/identity_verifications","href":"/2025-09/api-reference/identity-verifications/list-all-identity-verifications"},{"title":"Show an Identity Verification","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/identity_verifications/{identity_verification_id}","href":"/2025-09/api-reference/identity-verifications/show-an-identity-verification"}]},{"group":"Images","pages":[{"title":"Get an image","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/images/{token}/{filename}","href":"/2025-09/api-reference/images/get-an-image"}]},{"group":"Invoices","pages":[{"title":"List all Invoices","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/invoices","href":"/2025-09/api-reference/invoices/list-all-invoices"},{"title":"Show an Invoice","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/invoices/{invoice_id}","href":"/2025-09/api-reference/invoices/show-an-invoice"}]},{"group":"Notes","pages":[{"title":"List all Notes","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/notes","href":"/2025-09/api-reference/notes/list-all-notes"},{"title":"Create a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/notes","href":"/2025-09/api-reference/notes/create-a-note"},{"title":"Show a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/show-a-note"},{"title":"Delete a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/delete-a-note"},{"title":"Update a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/update-a-note"}]},{"group":"OAuth 2","pages":[{"title":"Retrieve an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/token","href":"/2025-09/api-reference/oauth-2/retrieve-an-access-token"},{"title":"Retrieve info for the Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /oauth2/token/info","href":"/2025-09/api-reference/oauth-2/retrieve-info-for-the-access-token"},{"title":"Introspect an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/introspect","href":"/2025-09/api-reference/oauth-2/introspect-an-access-token"},{"title":"Revoke an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/revoke","href":"/2025-09/api-reference/oauth-2/revoke-an-access-token"}]},{"group":"Opportunities","pages":[{"title":"Archive an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/archive","href":"/2025-09/api-reference/opportunities/archive-an-opportunity"},{"title":"Associate an Opportunity with a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/associate_deal","href":"/2025-09/api-reference/opportunities/associate-an-opportunity-with-a-deal"},{"title":"Disassociate an Opportunity from its Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/opportunities/{opportunity_id}/associate_deal","href":"/2025-09/api-reference/opportunities/disassociate-an-opportunity-from-its-deal"},{"title":"Create a Deal from an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/deal","href":"/2025-09/api-reference/opportunities/create-a-deal-from-an-opportunity"},{"title":"Unarchive an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/unarchive","href":"/2025-09/api-reference/opportunities/unarchive-an-opportunity"},{"title":"List all Opportunities","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/opportunities","href":"/2025-09/api-reference/opportunities/list-all-opportunities"},{"title":"Create an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities","href":"/2025-09/api-reference/opportunities/create-an-opportunity"},{"title":"Show an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/show-an-opportunity"},{"title":"Delete an Opportunity","description":"Delete an opportunity by its ID. An opportunity associated with a deal cannot be deleted.\n\nRequired authorization scope: `public.opportunity:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/delete-an-opportunity"},{"title":"Update an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/update-an-opportunity"}]},{"group":"Orders","pages":[{"title":"Abandon an Order","description":"Abandon an order that the customer is no longer expected to complete.\n\nIntended for customer-driven abandonment: use it to signal that the customer\nhas not returned to complete an order they began. It is at the operator's\ndiscretion when to treat an order as abandoned — whether after hours, days, or weeks.\nIt must not be used for operator-driven cancellations; a dedicated cancellation\nendpoint will be provided for that purpose.\n\nOnly orders in the `draft` or `finalized` status can be abandoned.\n\nRequired authorization scope: `public.order:write`\n","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/abandon","href":"/2025-09/api-reference/orders/abandon-an-order"},{"title":"Finalize an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/finalize","href":"/2025-09/api-reference/orders/finalize-an-order"},{"title":"Validate an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}/validate","href":"/2025-09/api-reference/orders/validate-an-order"},{"title":"List all Orders","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders","href":"/2025-09/api-reference/orders/list-all-orders"},{"title":"Create an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders","href":"/2025-09/api-reference/orders/create-an-order"},{"title":"Show an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/show-an-order"},{"title":"Delete an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/delete-an-order"},{"title":"Update an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/update-an-order"}]},{"group":"Orders / Line Items","pages":[{"title":"List all Line Items","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}/line_items","href":"/2025-09/api-reference/orders-line-items/list-all-line-items"},{"title":"Create a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/line_items","href":"/2025-09/api-reference/orders-line-items/create-a-line-item"},{"title":"Delete a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/orders/{order_id}/line_items/{line_item_id}","href":"/2025-09/api-reference/orders-line-items/delete-a-line-item"},{"title":"Update a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/orders/{order_id}/line_items/{line_item_id}","href":"/2025-09/api-reference/orders-line-items/update-a-line-item"}]},{"group":"Price Adjustments","pages":[{"title":"Schedule a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/price_adjustments/{price_adjustment_id}/schedule","href":"/2025-09/api-reference/price-adjustments/schedule-a-price-adjustment"},{"title":"List all Price Adjustments","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/price_adjustments","href":"/2025-09/api-reference/price-adjustments/list-all-price-adjustments"},{"title":"Create a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/price_adjustments","href":"/2025-09/api-reference/price-adjustments/create-a-price-adjustment"},{"title":"Show a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/show-a-price-adjustment"},{"title":"Delete a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/delete-a-price-adjustment"},{"title":"Update a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/update-a-price-adjustment"}]},{"group":"Product Categories","pages":[{"title":"List all Product Categories","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/product_categories","href":"/2025-09/api-reference/product-categories/list-all-product-categories"},{"title":"Show a Product Category","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/product_categories/{product_category_id}","href":"/2025-09/api-reference/product-categories/show-a-product-category"}]},{"group":"Products","pages":[{"title":"Create Base Price for the Product","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/products/{product_id}/base_price","href":"/2025-09/api-reference/products/create-base-price-for-the-product"},{"title":"List all Products","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/products","href":"/2025-09/api-reference/products/list-all-products"},{"title":"Show a Product","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/products/{product_id}","href":"/2025-09/api-reference/products/show-a-product"}]},{"group":"Protection Levels","pages":[{"title":"Create Base Price for the Protection Level","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/protection_levels/{protection_level_id}/base_price","href":"/2025-09/api-reference/protection-levels/create-base-price-for-the-protection-level"},{"title":"List all Protection Levels","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/protection_levels","href":"/2025-09/api-reference/protection-levels/list-all-protection-levels"},{"title":"Show a Protection Level","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/protection_levels/{protection_level_id}","href":"/2025-09/api-reference/protection-levels/show-a-protection-level"}]},{"group":"Sites","pages":[{"title":"List all Sites","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/sites","href":"/2025-09/api-reference/sites/list-all-sites"},{"title":"Show a Site","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/sites/{site_id}","href":"/2025-09/api-reference/sites/show-a-site"}]},{"group":"Staff","pages":[{"title":"List all Staff","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/staff","href":"/2025-09/api-reference/staff/list-all-staff"},{"title":"Show a Staff Member","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/staff/{staff_id}","href":"/2025-09/api-reference/staff/show-a-staff-member"}]},{"group":"Subscriptions","pages":[{"title":"List all Subscriptions","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/subscriptions","href":"/2025-09/api-reference/subscriptions/list-all-subscriptions"},{"title":"Show a Subscription","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/subscriptions/{subscription_id}","href":"/2025-09/api-reference/subscriptions/show-a-subscription"}]},{"group":"Tasks","pages":[{"title":"Complete a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks/{task_id}/complete","href":"/2025-09/api-reference/tasks/complete-a-task"},{"title":"Open a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks/{task_id}/open","href":"/2025-09/api-reference/tasks/open-a-task"},{"title":"List all Tasks","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/tasks","href":"/2025-09/api-reference/tasks/list-all-tasks"},{"title":"Create a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks","href":"/2025-09/api-reference/tasks/create-a-task"},{"title":"Show a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/show-a-task"},{"title":"Delete a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/delete-a-task"},{"title":"Update a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/update-a-task"}]},{"group":"Tenancies","pages":[{"title":"List all Tenancies","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/tenancies","href":"/2025-09/api-reference/tenancies/list-all-tenancies"},{"title":"Show a Tenancy","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/tenancies/{tenancy_id}","href":"/2025-09/api-reference/tenancies/show-a-tenancy"}]},{"group":"Timeline / Events","pages":[{"title":"Create an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/timeline/events","href":"/2025-09/api-reference/timeline-events/create-an-event"},{"title":"Delete an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/timeline/events/{event_id}","href":"/2025-09/api-reference/timeline-events/delete-an-event"},{"title":"Update an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/timeline/events/{event_id}","href":"/2025-09/api-reference/timeline-events/update-an-event"}]},{"group":"Timeline / Sources","pages":[{"title":"List all Sources","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/sources","href":"/2025-09/api-reference/timeline-sources/list-all-sources"},{"title":"Show a Source","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/sources/{source_id}","href":"/2025-09/api-reference/timeline-sources/show-a-source"}]},{"group":"Timeline / Templates","pages":[{"title":"List all Templates","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/templates","href":"/2025-09/api-reference/timeline-templates/list-all-templates"},{"title":"Show a Template","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/templates/{template_id}","href":"/2025-09/api-reference/timeline-templates/show-a-template"}]},{"group":"Unit Allocations","pages":[{"title":"List all Unit Allocations","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_allocations","href":"/2025-09/api-reference/unit-allocations/list-all-unit-allocations"},{"title":"Show a Unit Allocation","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_allocations/{unit_allocation_id}","href":"/2025-09/api-reference/unit-allocations/show-a-unit-allocation"}]},{"group":"Unit Types","pages":[{"title":"Create Base Price for the Unit Type","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/base_price","href":"/2025-09/api-reference/unit-types/create-base-price-for-the-unit-type"},{"title":"List all Unit Types","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_types","href":"/2025-09/api-reference/unit-types/list-all-unit-types"},{"title":"Show a Unit Type","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_types/{unit_type_id}","href":"/2025-09/api-reference/unit-types/show-a-unit-type"}]},{"group":"Units","pages":[{"title":"Deallocate a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/deallocate","href":"/2025-09/api-reference/units/deallocate-a-unit"},{"title":"Grant Access to a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/grant_access","href":"/2025-09/api-reference/units/grant-access-to-a-unit"},{"title":"Overlock Units by Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/overlock","href":"/2025-09/api-reference/units/overlock-units-by-contact"},{"title":"Remove Overlock from Units by Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/remove_overlock","href":"/2025-09/api-reference/units/remove-overlock-from-units-by-contact"},{"title":"Reserve a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/reserve","href":"/2025-09/api-reference/units/reserve-a-unit"},{"title":"List all Units","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/units","href":"/2025-09/api-reference/units/list-all-units"},{"title":"Show a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/units/{unit_id}","href":"/2025-09/api-reference/units/show-a-unit"}]},{"group":"Webhook Endpoints","pages":[{"title":"Disable a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints/{webhook_endpoint_id}/disable","href":"/2025-09/api-reference/webhook-endpoints/disable-a-webhook-endpoint"},{"title":"Enable a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints/{webhook_endpoint_id}/enable","href":"/2025-09/api-reference/webhook-endpoints/enable-a-webhook-endpoint"},{"title":"List all Webhook Endpoints","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/webhook_endpoints","href":"/2025-09/api-reference/webhook-endpoints/list-all-webhook-endpoints"},{"title":"Create a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints","href":"/2025-09/api-reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"Show a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/show-a-webhook-endpoint"},{"title":"Delete a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Update a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/update-a-webhook-endpoint"}]},{"group":"Webhooks","pages":[{"title":"contact.churned","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.churned","href":"/2025-09/api-reference/webhooks/contactchurned"},{"title":"contact.converted","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.converted","href":"/2025-09/api-reference/webhooks/contactconverted"},{"title":"contact.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.created","href":"/2025-09/api-reference/webhooks/contactcreated"},{"title":"contact.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.updated","href":"/2025-09/api-reference/webhooks/contactupdated"},{"title":"contract.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contract.created","href":"/2025-09/api-reference/webhooks/contractcreated"},{"title":"contract.signed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contract.signed","href":"/2025-09/api-reference/webhooks/contractsigned"},{"title":"coupon.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook coupon.created","href":"/2025-09/api-reference/webhooks/couponcreated"},{"title":"coupon.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook coupon.updated","href":"/2025-09/api-reference/webhooks/couponupdated"},{"title":"credit_note.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook credit_note.created","href":"/2025-09/api-reference/webhooks/credit_notecreated"},{"title":"credit_note.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook credit_note.updated","href":"/2025-09/api-reference/webhooks/credit_noteupdated"},{"title":"deal.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.created","href":"/2025-09/api-reference/webhooks/dealcreated"},{"title":"deal.lost","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.lost","href":"/2025-09/api-reference/webhooks/deallost"},{"title":"deal.reopened","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.reopened","href":"/2025-09/api-reference/webhooks/dealreopened"},{"title":"deal.stage_changed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.stage_changed","href":"/2025-09/api-reference/webhooks/dealstage_changed"},{"title":"deal.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.updated","href":"/2025-09/api-reference/webhooks/dealupdated"},{"title":"deal.won","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.won","href":"/2025-09/api-reference/webhooks/dealwon"},{"title":"identity_verification.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.cancelled","href":"/2025-09/api-reference/webhooks/identity_verificationcancelled"},{"title":"identity_verification.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.failed","href":"/2025-09/api-reference/webhooks/identity_verificationfailed"},{"title":"identity_verification.processing","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.processing","href":"/2025-09/api-reference/webhooks/identity_verificationprocessing"},{"title":"identity_verification.succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.succeeded","href":"/2025-09/api-reference/webhooks/identity_verificationsucceeded"},{"title":"invoice.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.created","href":"/2025-09/api-reference/webhooks/invoicecreated"},{"title":"invoice.finalized","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.finalized","href":"/2025-09/api-reference/webhooks/invoicefinalized"},{"title":"invoice.marked_uncollectible","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.marked_uncollectible","href":"/2025-09/api-reference/webhooks/invoicemarked_uncollectible"},{"title":"invoice.overdue","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.overdue","href":"/2025-09/api-reference/webhooks/invoiceoverdue"},{"title":"invoice.paid","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.paid","href":"/2025-09/api-reference/webhooks/invoicepaid"},{"title":"invoice.payment_failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.payment_failed","href":"/2025-09/api-reference/webhooks/invoicepayment_failed"},{"title":"invoice.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.updated","href":"/2025-09/api-reference/webhooks/invoiceupdated"},{"title":"note.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook note.created","href":"/2025-09/api-reference/webhooks/notecreated"},{"title":"note.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook note.updated","href":"/2025-09/api-reference/webhooks/noteupdated"},{"title":"opportunity.archived","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.archived","href":"/2025-09/api-reference/webhooks/opportunityarchived"},{"title":"opportunity.associated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.associated","href":"/2025-09/api-reference/webhooks/opportunityassociated"},{"title":"opportunity.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.created","href":"/2025-09/api-reference/webhooks/opportunitycreated"},{"title":"opportunity.deleted","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.deleted","href":"/2025-09/api-reference/webhooks/opportunitydeleted"},{"title":"opportunity.unarchived","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.unarchived","href":"/2025-09/api-reference/webhooks/opportunityunarchived"},{"title":"opportunity.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.updated","href":"/2025-09/api-reference/webhooks/opportunityupdated"},{"title":"order.abandoned","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.abandoned","href":"/2025-09/api-reference/webhooks/orderabandoned"},{"title":"order.completed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.completed","href":"/2025-09/api-reference/webhooks/ordercompleted"},{"title":"order.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.created","href":"/2025-09/api-reference/webhooks/ordercreated"},{"title":"order.finalized","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.finalized","href":"/2025-09/api-reference/webhooks/orderfinalized"},{"title":"price_adjustment.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.cancelled","href":"/2025-09/api-reference/webhooks/price_adjustmentcancelled"},{"title":"price_adjustment.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.created","href":"/2025-09/api-reference/webhooks/price_adjustmentcreated"},{"title":"price_adjustment.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.failed","href":"/2025-09/api-reference/webhooks/price_adjustmentfailed"},{"title":"price_adjustment.invoiced","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.invoiced","href":"/2025-09/api-reference/webhooks/price_adjustmentinvoiced"},{"title":"price_adjustment.rescheduled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.rescheduled","href":"/2025-09/api-reference/webhooks/price_adjustmentrescheduled"},{"title":"price_adjustment.scheduled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.scheduled","href":"/2025-09/api-reference/webhooks/price_adjustmentscheduled"},{"title":"price_adjustment.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.updated","href":"/2025-09/api-reference/webhooks/price_adjustmentupdated"},{"title":"protection_level.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook protection_level.created","href":"/2025-09/api-reference/webhooks/protection_levelcreated"},{"title":"protection_level.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook protection_level.updated","href":"/2025-09/api-reference/webhooks/protection_levelupdated"},{"title":"subscription.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.cancelled","href":"/2025-09/api-reference/webhooks/subscriptioncancelled"},{"title":"subscription.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.created","href":"/2025-09/api-reference/webhooks/subscriptioncreated"},{"title":"subscription.ended","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.ended","href":"/2025-09/api-reference/webhooks/subscriptionended"},{"title":"subscription.resumed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.resumed","href":"/2025-09/api-reference/webhooks/subscriptionresumed"},{"title":"subscription.started","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.started","href":"/2025-09/api-reference/webhooks/subscriptionstarted"},{"title":"task.completed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.completed","href":"/2025-09/api-reference/webhooks/taskcompleted"},{"title":"task.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.created","href":"/2025-09/api-reference/webhooks/taskcreated"},{"title":"task.reopened","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.reopened","href":"/2025-09/api-reference/webhooks/taskreopened"},{"title":"task.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.updated","href":"/2025-09/api-reference/webhooks/taskupdated"},{"title":"tenancy.auto_reservation.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.failed","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationfailed"},{"title":"tenancy.auto_reservation.partially_succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.partially_succeeded","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationpartially_succeeded"},{"title":"tenancy.auto_reservation.succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.succeeded","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationsucceeded"},{"title":"tenancy.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.created","href":"/2025-09/api-reference/webhooks/tenancycreated"},{"title":"tenancy.started","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.started","href":"/2025-09/api-reference/webhooks/tenancystarted"},{"title":"unit_type.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit_type.created","href":"/2025-09/api-reference/webhooks/unit_typecreated"},{"title":"unit_type.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit_type.updated","href":"/2025-09/api-reference/webhooks/unit_typeupdated"},{"title":"unit.available","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.available","href":"/2025-09/api-reference/webhooks/unitavailable"},{"title":"unit.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.created","href":"/2025-09/api-reference/webhooks/unitcreated"},{"title":"unit.deallocated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.deallocated","href":"/2025-09/api-reference/webhooks/unitdeallocated"},{"title":"unit.occupied","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.occupied","href":"/2025-09/api-reference/webhooks/unitoccupied"},{"title":"unit.overlocked","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.overlocked","href":"/2025-09/api-reference/webhooks/unitoverlocked"},{"title":"unit.repossessed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.repossessed","href":"/2025-09/api-reference/webhooks/unitrepossessed"},{"title":"unit.reserved","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.reserved","href":"/2025-09/api-reference/webhooks/unitreserved"},{"title":"unit.unavailable","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.unavailable","href":"/2025-09/api-reference/webhooks/unitunavailable"},{"title":"unit.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.updated","href":"/2025-09/api-reference/webhooks/unitupdated"}]}]}]}]},"basePath":"","title":"Update an Opportunity - Stora","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}