Create an order for a unit type as it’s booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type’s mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn’t apply on the order’s start date. Without protection_level, the order gets the unit type’s default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn’t create a duplicate. To set your own prices and line items, use Create an Order.
A unique key, such as a UUID, that makes it safe to retry this request. The API stores the first successful (2xx) response for a key for 24 hours. A retry with the same key, method, path and body returns the stored response, including its request_id, with the Idempotent-Replayed: true header, and the API doesn't run the request again. A request that reuses a key with a different method, path or body returns 422 with code idempotency_key_reused. Use a new key for each request. The API doesn't store error responses, so you can retry a failed request with the same key. It also doesn't store a response whose body isn't UTF-8 text, such as a PDF. While a request with the same key is in progress, the API returns 409 with code idempotency_conflict. If that request was interrupted, the key is free again within 60 seconds. If the API can't check the key, it doesn't run the request and returns 503 with code idempotency_unavailable. Retry later with the same key. A key can be up to 255 characters long. Keys are case-insensitive, and the API ignores surrounding whitespace. A blank key, or a key longer than 255 characters, returns 400 with code invalid_request. Keys are scoped to the operator, to your application, to the token's scopes, and to the staff member or connected account that authorized the token. For an Access Token, keys are scoped to the token instead of an application. Another application or Access Token, or a token with different scopes, can send the same key without getting your stored response. For details, see Idempotent requests.
Maximum string length: 255
Path Parameters
unit_type_id
string
required
The ID of the unit type
Pattern: ^utype_
Query Parameters
expand
string[]
This endpoint supports expandable responses. For more, see the documentation page.
fields
string[]
Returns only the listed fields, such as id,status,site.name. Identifiers and constant fields such as object are always returned. A field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. For more, see the documentation page.
Body
application/json
Create an order for a unit type
contact
object
required
Contact the order is for. Give id for an existing contact, or contact details including email to create a new one.
Show child attributes
payment_method
enum<string>
The payment method type for the order. It must be one the site offers on the storefront. Defaults to card when the site offers it, otherwise to the site's first storefront payment method.
Available options:
card,
bacs_debit,
sepa_debit,
au_becs_debit,
us_bank_account
starts_at
string
Start date and time (ISO 8601 date-time), or now to start the order immediately after finalization. The date must be in the site's storefront move-in dates, so now works only when the site allows moving in today. A start date of today also starts the order immediately. Defaults to the first move-in date.
email_notifications
object
Configure email notifications for the order.
Show child attributes
protection_level
object
Protection level for the order. It must be one the storefront offers for the unit type. Defaults to the unit type's default protection level when the unit type requires protection.
Show child attributes
finalize
object
Finalize the order in the same request. The response then has a payment_url. If finalizing fails, the order isn't saved.
{"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":"6b062c76be1fee9bed2c14a3","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API reference","count":188},{"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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/unit-types/create-an-order-for-a-unit-type","slug":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type","pageMetadata":{"title":"Create an Order for a Unit Type","description":"Create an order for a unit type as it's booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type's mandatory products, and the security deposit when the payment method is `card`. The promotion is left out when it doesn't apply on the order's start date. Without `protection_level`, the order gets the unit type's default protection level when the unit type requires protection. Give `contact.id` for an existing contact, or contact fields including `email` for a new one. An `order.created` webhook fires. Add `finalize` to finalize the order in the same request. The response then has a `payment_url`. If finalizing fails, nothing is saved. Send an `Idempotency-Key` header so a retry doesn't create a duplicate. To set your own prices and line items, use **Create an Order**.\n\nSee [Building a booking flow](https://docs.stora.co/2025-09/guides/booking-flow).\n\nRequired authorization scope: `public.order:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/order","href":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type","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 a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Create an order for a unit type as it’s booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type’s mandatory products, and the security deposit when the payment method is \", _jsx(_components.code, {\n children: \"card\"\n }), \". The promotion is left out when it doesn’t apply on the order’s start date. Without \", _jsx(_components.code, {\n children: \"protection_level\"\n }), \", the order gets the unit type’s default protection level when the unit type requires protection. Give \", _jsx(_components.code, {\n children: \"contact.id\"\n }), \" for an existing contact, or contact fields including \", _jsx(_components.code, {\n children: \"email\"\n }), \" for a new one. An \", _jsx(_components.code, {\n children: \"order.created\"\n }), \" webhook fires. Add \", _jsx(_components.code, {\n children: \"finalize\"\n }), \" to finalize the order in the same request. The response then has a \", _jsx(_components.code, {\n children: \"payment_url\"\n }), \". If finalizing fails, nothing is saved. Send an \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" header so a retry doesn’t create a duplicate. To set your own prices and line items, use \", _jsx(_components.strong, {\n children: \"Create an Order\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"See \", _jsx(_components.a, {\n href: \"https://docs.stora.co/2025-09/guides/booking-flow\",\n children: \"Building a booking flow\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Required authorization scope: \", _jsx(_components.code, {\n children: \"public.order: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{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an Order for a Unit Type","description":"Create an order for a unit type as it's booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type's mandatory products, and the security deposit when the payment method is `card`. The promotion is left out when it doesn't apply on the order's start date. Without `protection_level`, the order gets the unit type's default protection level when the unit type requires protection. Give `contact.id` for an existing contact, or contact fields including `email` for a new one. An `order.created` webhook fires. Add `finalize` to finalize the order in the same request. The response then has a `payment_url`. If finalizing fails, nothing is saved. Send an `Idempotency-Key` header so a retry doesn't create a duplicate. To set your own prices and line items, use **Create an Order**.\n\nSee [Building a booking flow](https://docs.stora.co/2025-09/guides/booking-flow).\n\nRequired authorization scope: `public.order:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/order","href":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create an Order for a Unit Type","tags":["Unit Types"],"operationId":"unit_type_order_create","description":"Create an order for a unit type as it's booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type's mandatory products, and the security deposit when the payment method is `card`. The promotion is left out when it doesn't apply on the order's start date. Without `protection_level`, the order gets the unit type's default protection level when the unit type requires protection. Give `contact.id` for an existing contact, or contact fields including `email` for a new one. An `order.created` webhook fires. Add `finalize` to finalize the order in the same request. The response then has a `payment_url`. If finalizing fails, nothing is saved. Send an `Idempotency-Key` header so a retry doesn't create a duplicate. To set your own prices and line items, use **Create an Order**.\n\nSee [Building a booking flow](https://docs.stora.co/2025-09/guides/booking-flow).\n\nRequired authorization scope: `public.order:write`\n","security":["98b82b0f-7e32-41c1-bcf9-fe0deb2eaf36","d01bf8c1-2c1d-419f-823e-d31464021d4d"],"parameters":["dd70c0bf-a598-4496-b65e-4fd58e3e7978","d1c9317e-37bc-41b7-b35b-35791bb0b99c","0054cbdb-1393-4b51-aa42-9463eccd76fd"],"x-mint":{"metadata":{"tag":"Beta"}},"responses":{"201":"24cfb7c6-b5ba-4ffe-99ba-da1d5dc9afd6","404":"849fb920-3d5a-4b72-8d66-8f85df49d7d1","409":"e48ac41a-4516-4ae5-bc46-6c88c8f15b23","422":"9457e077-3b50-4747-8f0c-b6eb07c0adca"},"requestBody":"946c049b-9af6-42a1-aec4-11adc5022460","method":"post","type":"path","servers":["3406d0d5-e66e-498a-9b35-fabd5fc6de46"],"path":"/2025-09/unit_types/{unit_type_id}/order","baseUrlOptions":["https://public-api.stora.co"],"title":"Create an Order for a Unit Type","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"dd70c0bf-a598-4496-b65e-4fd58e3e7978":{"name":"expand","in":"query","required":false,"description":"This endpoint supports expandable responses. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#expanding-responses).","style":"form","explode":false,"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[]"}},"d1c9317e-37bc-41b7-b35b-35791bb0b99c":{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key, such as a UUID, that makes it safe to retry this request. The API stores the first successful (`2xx`) response for a key for 24 hours. A retry with the same key, method, path and body returns the stored response, including its `request_id`, with the `Idempotent-Replayed: true` header, and the API doesn't run the request again. A request that reuses a key with a different method, path or body returns `422` with code `idempotency_key_reused`. Use a new key for each request. The API doesn't store error responses, so you can retry a failed request with the same key. It also doesn't store a response whose body isn't UTF-8 text, such as a PDF. While a request with the same key is in progress, the API returns `409` with code `idempotency_conflict`. If that request was interrupted, the key is free again within 60 seconds. If the API can't check the key, it doesn't run the request and returns `503` with code `idempotency_unavailable`. Retry later with the same key. A key can be up to 255 characters long. Keys are case-insensitive, and the API ignores surrounding whitespace. A blank key, or a key longer than 255 characters, returns `400` with code `invalid_request`. Keys are scoped to the operator, to your application, to the token's scopes, and to the staff member or connected account that authorized the token. For an Access Token, keys are scoped to the token instead of an application. Another application or Access Token, or a token with different scopes, can send the same key without getting your stored response. For details, see [Idempotent requests](https://docs.stora.co/2025-09/guides/requests#idempotent-requests).","schema":{"type":"string","maxLength":255,"isRequired":false,"description":"A unique key, such as a UUID, that makes it safe to retry this request. The API stores the first successful (`2xx`) response for a key for 24 hours. A retry with the same key, method, path and body returns the stored response, including its `request_id`, with the `Idempotent-Replayed: true` header, and the API doesn't run the request again. A request that reuses a key with a different method, path or body returns `422` with code `idempotency_key_reused`. Use a new key for each request. The API doesn't store error responses, so you can retry a failed request with the same key. It also doesn't store a response whose body isn't UTF-8 text, such as a PDF. While a request with the same key is in progress, the API returns `409` with code `idempotency_conflict`. If that request was interrupted, the key is free again within 60 seconds. If the API can't check the key, it doesn't run the request and returns `503` with code `idempotency_unavailable`. Retry later with the same key. A key can be up to 255 characters long. Keys are case-insensitive, and the API ignores surrounding whitespace. A blank key, or a key longer than 255 characters, returns `400` with code `invalid_request`. Keys are scoped to the operator, to your application, to the token's scopes, and to the staff member or connected account that authorized the token. For an Access Token, keys are scoped to the token instead of an application. Another application or Access Token, or a token with different scopes, can send the same key without getting your stored response. For details, see [Idempotent requests](https://docs.stora.co/2025-09/guides/requests#idempotent-requests).","uniqueKey":"","typeLabel":"string"},"example":"8e03978e-40d5-43e8-bc93-6894a57f9324"},"0054cbdb-1393-4b51-aa42-9463eccd76fd":{"name":"fields","in":"query","required":false,"description":"Returns only the listed fields, such as `id,status,site.name`. Identifiers and constant fields such as `object` are always returned. A field inside an expandable association also needs it in `expand`, unless the collapsed association returns it, such as `site.id`. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#selecting-fields).","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"description":"Returns only the listed fields, such as `id,status,site.name`. Identifiers and constant fields such as `object` are always returned. A field inside an expandable association also needs it in `expand`, unless the collapsed association returns it, such as `site.id`. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#selecting-fields).","uniqueKey":"","typeLabel":"string[]"}},"4414f477-a2e5-4dc1-b946-af19f17eefaa":{"name":"unit_type_id","in":"path","required":true,"description":"The ID of the unit type","schema":{"type":"string","pattern":"^utype_","isRequired":true,"description":"The ID of the unit type","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["contact"],"properties":{"contact":{"type":"object","properties":{"id":{"type":"string","pattern":"^con_","description":"ID of the contact (`con_…`). When given, the other contact fields update that contact.","uniqueKey":"contact.id","typeLabel":"string"},"email":{"type":"string","format":"email","maxLength":512,"description":"The contact's email address. Required when no contact ID is given.","conditionalRequirements":[{}],"uniqueKey":"contact.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","maxLength":256,"description":"The contact's name.","uniqueKey":"contact.full_name","typeLabel":"string"},"phone_number":{"type":"string","maxLength":20,"description":"The contact's phone number.","uniqueKey":"contact.phone_number","typeLabel":"string"},"tax_id":{"type":"string","maxLength":30,"description":"The contact's tax ID.","uniqueKey":"contact.tax_id","typeLabel":"string"},"company_registration_number":{"type":"string","maxLength":30,"description":"The contact's company registration number.","uniqueKey":"contact.company_registration_number","typeLabel":"string"},"type":{"type":"string","description":"The type of contact.","enum":["domestic","company","student","charity","local_authority"],"uniqueKey":"contact.type","typeLabel":"enum\u003cstring>"},"source":{"type":"string","description":"The source of the contact data.","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other"],"uniqueKey":"contact.source","typeLabel":"enum\u003cstring>"},"marketing_source":{"type":"string","description":"Channel through which the contact found the business.","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other"],"uniqueKey":"contact.marketing_source","typeLabel":"enum\u003cstring>"},"use_case":{"type":"string","description":"Why the contact needs storage.","enum":["business_needs","moving_home","more_space","refurb","travelling","other"],"uniqueKey":"contact.use_case","typeLabel":"enum\u003cstring>"},"address":{"type":"object","properties":{"line_1":{"oneOf":[{"type":"string","maxLength":5000,"description":"Line 1.","uniqueKey":"contact.address.line_1.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"Line 1.","uniqueKey":"contact.address.line_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","maxLength":5000,"description":"Line 2.","uniqueKey":"contact.address.line_2.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"Line 2.","uniqueKey":"contact.address.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.line_2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","maxLength":5000,"description":"City.","uniqueKey":"contact.address.city.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"City.","uniqueKey":"contact.address.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","maxLength":5000,"description":"State or province.","uniqueKey":"contact.address.state.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"State or province.","uniqueKey":"contact.address.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.state","typeLabel":"string | null"},"country_alpha2":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, such as `GB`.","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"uniqueKey":"contact.address.country_alpha2.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Two-letter ISO 3166-1 country code, such as `GB`.","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"uniqueKey":"contact.address.country_alpha2.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.country_alpha2","typeLabel":"enum\u003cstring> | null"},"postal_code":{"oneOf":[{"type":"string","maxLength":5000,"description":"Postal code.","uniqueKey":"contact.address.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"Postal code.","uniqueKey":"contact.address.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.address.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"description":"Address. Set an individual field to `null` to clear it.","uniqueKey":"contact.address","typeLabel":"object"}},"additionalProperties":false,"description":"Contact the order is for. Give `id` for an existing contact, or contact details including `email` to create a new one.","conditionallyRequiredProperties":{"email":[{}]},"isRequired":true,"uniqueKey":"contact","typeLabel":"object"},"payment_method":{"type":"string","enum":["card","bacs_debit","sepa_debit","au_becs_debit","us_bank_account"],"description":"The payment method type for the order. It must be one the site offers on the storefront. Defaults to `card` when the site offers it, otherwise to the site's first storefront payment method.","uniqueKey":"payment_method","typeLabel":"enum\u003cstring>"},"starts_at":{"type":"string","description":"Start date and time (ISO 8601 date-time), or `now` to start the order immediately after finalization. The date must be in the site's storefront move-in dates, so `now` works only when the site allows moving in today. A start date of today also starts the order immediately. Defaults to the first move-in date.","uniqueKey":"starts_at","typeLabel":"string"},"email_notifications":{"type":"object","properties":{"booking_confirmation":{"type":"boolean","description":"If `true`, Stora sends the contact an order confirmation email.","default":true,"uniqueKey":"email_notifications.booking_confirmation","typeLabel":"boolean"},"move_in_day":{"type":"boolean","description":"If `true`, Stora sends the contact a move-in day email.","default":true,"uniqueKey":"email_notifications.move_in_day","typeLabel":"boolean"},"payment_details":{"type":"boolean","description":"If `true`, Stora emails the contact a link to complete payment when the order is finalized.","default":false,"uniqueKey":"email_notifications.payment_details","typeLabel":"boolean"}},"additionalProperties":false,"description":"Configure email notifications for the order.","uniqueKey":"email_notifications","typeLabel":"object"},"protection_level":{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"ID of the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"protection_level.id","typeLabel":"string"}},"additionalProperties":false,"description":"Protection level for the order. It must be one the storefront offers for the unit type. Defaults to the unit type's default protection level when the unit type requires protection.","uniqueKey":"protection_level","typeLabel":"object"},"finalize":{"type":"object","required":["cancel_redirect_url"],"properties":{"cancel_redirect_url":{"oneOf":[{"type":"string","description":"The URL to redirect the contact to if they cancel the payment, or `default` to use the storefront payment URL.","format":"uri","pattern":"^https://","isRequired":true,"uniqueKey":"finalize.cancel_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"string","description":"The URL to redirect the contact to if they cancel the payment, or `default` to use the storefront payment URL.","const":"default","isRequired":true,"uniqueKey":"finalize.cancel_redirect_url.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"finalize.cancel_redirect_url","typeLabel":"string\u003curi> | string"}},"additionalProperties":false,"description":"Finalize the order in the same request. The response then has a `payment_url`. If finalizing fails, the order isn't saved.","uniqueKey":"finalize","typeLabel":"object"},"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 order. [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 order. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"}},"additionalProperties":false,"description":"Create an order for a unit type","uniqueKey":"","typeLabel":"object"},"examples":{"order_created_minimal":{"title":"order_created_minimal","summary":"order created (minimal)","value":{"contact":{"full_name":"John Doe","email":"john@doe.com"}}},"order_created_with_protection_and_finalized":{"title":"order_created_with_protection_and_finalized","summary":"order created with protection and finalized","value":{"contact":{"full_name":"John Doe","email":"john@doe.com","phone_number":"+447525920754"},"protection_level":{"id":"plvl_851681552a608245"},"payment_method":"card","email_notifications":{"payment_details":true},"finalize":{"cancel_redirect_url":"default"},"metadata":{"source":"ai_agent"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"24cfb7c6-b5ba-4ffe-99ba-da1d5dc9afd6":{"description":"order created and finalized","content":{"application/json":{"examples":{"minimal":{"title":"minimal","summary":"draft order at the storefront price","value":{"order":{"id":"order_9ef07151f2470754","billing_period":"monthly","contact":{"id":"con_0ac0514ed0711462"},"contract_template":null,"coupon":null,"created_at":"2025-02-22T14:41:00Z","creator":{"id":"app_99b90b9d208a137b"},"email_notifications":{"booking_confirmation":true,"move_in_day":true,"payment_details":false},"line_items":[{"id":"olitm_1d4561fd880ff259"},{"id":"olitm_216f3087ddaf7756"}],"metadata":{},"one_time_total":{"amount":10000,"currency":"GBP","formatted":"£100.00"},"one_time_total_excluding_tax":{"amount":10000,"currency":"GBP","formatted":"£100.00"},"payment_method":"card","payment_url":null,"purchase_order_number":null,"site":{"id":"site_14b419f1096013f1"},"source":"public_api","starts_at":"2025-02-23T01:00:00Z","status":"draft","subscription":null,"subtotal":{"amount":9900,"currency":"GBP","formatted":"£99.00"},"tax":{"amount":0,"currency":"GBP","formatted":"£0.00"},"tenancy":null,"total":{"amount":9900,"currency":"GBP","formatted":"£99.00"},"total_discount":{"amount":0,"currency":"GBP","formatted":"£0.00"},"total_excluding_tax":{"amount":9900,"currency":"GBP","formatted":"£99.00"},"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"}]}}},"finalized":{"title":"finalized","summary":"finalized order with a payment URL","value":{"order":{"id":"order_9ef07151f2470754","billing_period":"monthly","contact":{"id":"con_0ac0514ed0711462"},"contract_template":null,"coupon":null,"created_at":"2025-02-22T14:41:00Z","creator":{"id":"app_99b90b9d208a137b"},"email_notifications":{"booking_confirmation":true,"move_in_day":true,"payment_details":true},"line_items":[{"id":"olitm_164fba4304f78ca3"},{"id":"olitm_1d4561fd880ff259"},{"id":"olitm_216f3087ddaf7756"}],"metadata":{"source":"ai_agent"},"one_time_total":{"amount":10000,"currency":"GBP","formatted":"£100.00"},"one_time_total_excluding_tax":{"amount":10000,"currency":"GBP","formatted":"£100.00"},"payment_method":"card","payment_url":"https://acme.stora.test/payments/eyJfcmFpbHMiOnsibWVzc2FnZSI6Ik9yZGVyOjllZjA3MTUxZjI0NzA3NTQiLCJleHAiOm51bGwsInB1ciI6ImJvb2tpbmcifX0=--64460a36d14f62a4c152eb3e317212a7c68fc375/pay","purchase_order_number":null,"site":{"id":"site_14b419f1096013f1"},"source":"public_api","starts_at":"2025-02-23T01:00:00Z","status":"finalized","subscription":null,"subtotal":{"amount":11400,"currency":"GBP","formatted":"£114.00"},"tax":{"amount":0,"currency":"GBP","formatted":"£0.00"},"tenancy":null,"total":{"amount":11400,"currency":"GBP","formatted":"£114.00"},"total_discount":{"amount":0,"currency":"GBP","formatted":"£0.00"},"total_excluding_tax":{"amount":11400,"currency":"GBP","formatted":"£114.00"},"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","required":["order","meta"],"properties":{"order":{"type":"object","description":"Order","required":["id","billing_period","contact","contract_template","coupon","created_at","creator","email_notifications","line_items","metadata","one_time_total","one_time_total_excluding_tax","payment_method","payment_url","purchase_order_number","site","source","starts_at","status","subscription","subtotal","tax","tenancy","total","total_discount","total_excluding_tax","updated_at"],"properties":{"id":{"type":"string","pattern":"^order_","description":"Unique identifier for the order (`order_…`).","isRequired":true,"uniqueKey":"order.id","typeLabel":"string"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Billing period of the order, `null` when not set.","isRequired":true,"uniqueKey":"order.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":"Billing period of the order, `null` when not set.","isRequired":true,"uniqueKey":"order.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.billing_period","typeLabel":"enum\u003cstring> | null"},"contact":{"oneOf":[{"type":"object","description":"Contact associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","address","company_registration_number","created_at","email","full_name","identity_check","marketing_source","metadata","phone_number","source","status","stripe_customer_id","tax_id","tenancies_count","type","updated_at","use_case"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"order.contact.oneOf.0.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.accounting_code","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Address of the contact, `null` when no address is set.","required":["city","country_alpha2","line_1","line_2","postal_code","state"],"properties":{"city":{"oneOf":[{"type":"string","description":"City","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"country_alpha2":{"oneOf":[{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.country_alpha2.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.country_alpha2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.country_alpha2","typeLabel":"enum\u003cstring> | null"},"line_1":{"oneOf":[{"type":"string","description":"Line 1","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 1","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Line 2","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 2","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0.state","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the contact, `null` when no address is set.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.address","typeLabel":"object | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.company_registration_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.company_registration_number","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.full_name","typeLabel":"string"},"identity_check":{"type":"object","description":"Identity check requirement and status of the contact.","required":["required","status"],"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","enum":["failed","processing","succeeded","cancelled","not_attempted"],"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).","isRequired":true,"uniqueKey":"order.contact.oneOf.0.identity_check.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contact.oneOf.0.identity_check","typeLabel":"object"},"marketing_source":{"oneOf":[{"type":"string","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.marketing_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.marketing_source","typeLabel":"enum\u003cstring> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"order.contact.oneOf.0.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"order.contact.oneOf.0.metadata","typeLabel":"object"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.source","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["lead","customer","churned"],"description":"Status of the contact, derived from its tenancies. `lead` means the contact has no tenancies, and is the default. `customer` means at least one tenancy hasn't ended. `churned` means all tenancies have ended.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"order.contact.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 of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.stripe_customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.stripe_customer_id","typeLabel":"string | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.tax_id","typeLabel":"string | null"},"tenancies_count":{"type":"integer","description":"Number of tenancies associated with the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.tenancies_count","typeLabel":"integer"},"type":{"oneOf":[{"type":"string","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"oneOf":[{"type":"string","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"order.contact.oneOf.0.use_case.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact.oneOf.0.use_case","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contact.oneOf.0","typeLabel":"object"},{"type":"object","description":"Contact associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"order.contact.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contact.oneOf.1","typeLabel":"object"},{"type":"null","description":"Contact associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.contact.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contact","typeLabel":"object · object · null"},"contract_template":{"oneOf":[{"type":"object","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","created_at","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^ctpl_","description":"Unique identifier for the contract template (`ctpl_…`).","isRequired":true,"uniqueKey":"order.contract_template.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contract template.","isRequired":true,"uniqueKey":"order.contract_template.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","description":"Name of the contract template.","isRequired":true,"uniqueKey":"order.contract_template.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contract template.","isRequired":true,"uniqueKey":"order.contract_template.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contract_template.oneOf.0","typeLabel":"object"},{"type":"object","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^ctpl_","description":"Unique identifier for the contract template (`ctpl_…`).","isRequired":true,"uniqueKey":"order.contract_template.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.contract_template.oneOf.1","typeLabel":"object"},{"type":"null","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.contract_template.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.contract_template","typeLabel":"object · object · null"},"coupon":{"oneOf":[{"type":"object","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.auto_apply_to","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.coupon.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.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.name","typeLabel":"string"},"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.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.coupon.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.coupon.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"order.coupon.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.coupon.oneOf.0","typeLabel":"object"},{"type":"object","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.coupon.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.coupon.oneOf.1","typeLabel":"object"},{"type":"null","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.coupon.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.coupon","typeLabel":"object · object · null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the order.","isRequired":true,"uniqueKey":"order.created_at","typeLabel":"string\u003cdate-time>"},"creator":{"oneOf":[{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","created_at","email","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"order.creator.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","isRequired":true,"uniqueKey":"order.creator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","isRequired":true,"uniqueKey":"order.creator.oneOf.0.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Full name of the staff member.","isRequired":true,"uniqueKey":"order.creator.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","isRequired":true,"uniqueKey":"order.creator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.0","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"order.creator.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.1","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","address","company_registration_number","created_at","email","full_name","identity_check","marketing_source","metadata","phone_number","source","status","stripe_customer_id","tax_id","tenancies_count","type","updated_at","use_case"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"order.creator.oneOf.2.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.accounting_code","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Address of the contact, `null` when no address is set.","required":["city","country_alpha2","line_1","line_2","postal_code","state"],"properties":{"city":{"oneOf":[{"type":"string","description":"City","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.city","typeLabel":"string | null"},"country_alpha2":{"oneOf":[{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.country_alpha2.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.country_alpha2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.country_alpha2","typeLabel":"enum\u003cstring> | null"},"line_1":{"oneOf":[{"type":"string","description":"Line 1","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 1","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Line 2","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 2","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0.state","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the contact, `null` when no address is set.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.address","typeLabel":"object | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.company_registration_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.company_registration_number","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.full_name","typeLabel":"string"},"identity_check":{"type":"object","description":"Identity check requirement and status of the contact.","required":["required","status"],"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","enum":["failed","processing","succeeded","cancelled","not_attempted"],"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).","isRequired":true,"uniqueKey":"order.creator.oneOf.2.identity_check.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.2.identity_check","typeLabel":"object"},"marketing_source":{"oneOf":[{"type":"string","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.marketing_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.marketing_source","typeLabel":"enum\u003cstring> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"order.creator.oneOf.2.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"order.creator.oneOf.2.metadata","typeLabel":"object"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.source","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["lead","customer","churned"],"description":"Status of the contact, derived from its tenancies. `lead` means the contact has no tenancies, and is the default. `customer` means at least one tenancy hasn't ended. `churned` means all tenancies have ended.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.stripe_customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.stripe_customer_id","typeLabel":"string | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.tax_id","typeLabel":"string | null"},"tenancies_count":{"type":"integer","description":"Number of tenancies associated with the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.tenancies_count","typeLabel":"integer"},"type":{"oneOf":[{"type":"string","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.type","typeLabel":"enum\u003cstring> | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"oneOf":[{"type":"string","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"order.creator.oneOf.2.use_case.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator.oneOf.2.use_case","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.2","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"order.creator.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.3","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"order.creator.oneOf.4.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the access token or application.","isRequired":true,"uniqueKey":"order.creator.oneOf.4.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.4","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"order.creator.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.creator.oneOf.5","typeLabel":"object"},{"type":"null","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.creator.oneOf.6","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.creator","typeLabel":"object · object · object · object · object · object · null"},"email_notifications":{"type":"object","description":"Email notifications settings for the order.","required":["booking_confirmation","move_in_day","payment_details"],"properties":{"booking_confirmation":{"type":"boolean","description":"Whether to send the booking confirmation email.","isRequired":true,"uniqueKey":"order.email_notifications.booking_confirmation","typeLabel":"boolean"},"move_in_day":{"type":"boolean","description":"Whether to send the move-in day email.","isRequired":true,"uniqueKey":"order.email_notifications.move_in_day","typeLabel":"boolean"},"payment_details":{"type":"boolean","description":"Whether to send the email with a link to complete payment when the order is finalized.","isRequired":true,"uniqueKey":"order.email_notifications.payment_details","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.email_notifications","typeLabel":"object"},"line_items":{"type":"array","items":{"oneOf":[{"type":"object","description":"Order Line Item","required":["id","created_at","discount_total","item","price","quantity","tax","total","total_excluding_tax","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^olitm_","description":"Unique identifier for the order line item (`olitm_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the order line item.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"discount_total":{"type":"object","description":"Discount towards line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.discount_total.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.discount_total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.discount_total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.discount_total","typeLabel":"object"},"item":{"oneOf":[{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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":"order.line_items.items.[INDEX].oneOf.0.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":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.1","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","account_code","cover_level","created_at","public","site","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.id","typeLabel":"string"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code","typeLabel":"string | null"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.public","typeLabel":"boolean"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.1","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site","typeLabel":"object · object · null"},"stripe_product_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.2","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.3","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","category","charge_type","created_at","description","images","name","sku","updated_at"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the product category.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category.oneOf.0","typeLabel":"object"},{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category","typeLabel":"object"},"charge_type":{"type":"string","enum":["one_time","recurring"],"description":"Type of charge for the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.charge_type","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Detailed description of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.description","typeLabel":"string"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.name","typeLabel":"string"},"sku":{"oneOf":[{"type":"string","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the product.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.4","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.5","typeLabel":"object"},{"type":"null","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item.oneOf.6","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.item","typeLabel":"object · object · object · object · object · object · null"},"price":{"type":"object","description":"Per-item cost of line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.price.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.price","typeLabel":"object"},"quantity":{"type":"integer","description":"Quantity of the item in the order line item.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.quantity","typeLabel":"integer"},"tax":{"type":"object","description":"Total cost of taxes.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.tax.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.tax","typeLabel":"object"},"total":{"type":"object","description":"Gross cost of line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total","typeLabel":"object"},"total_excluding_tax":{"type":"object","description":"Total cost of line item before applying taxes.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.total_excluding_tax","typeLabel":"object"},"type":{"type":"string","enum":["unit_type","protection","product","security_deposit"],"description":"Type of the item on the line item.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the order line item.","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"order.line_items.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^olitm_","description":"Unique identifier for the order line item (`olitm_…`).","isRequired":true,"uniqueKey":"order.line_items.items.[INDEX].oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.line_items.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"order.line_items.items.[INDEX]","typeLabel":"object"},"description":"List of line items in the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.line_items","typeLabel":"object[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"order.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"order.metadata","typeLabel":"object"},"one_time_total":{"type":"object","description":"Gross cost of one off products after applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.one_time_total.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.one_time_total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.one_time_total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.one_time_total","typeLabel":"object"},"one_time_total_excluding_tax":{"type":"object","description":"Gross cost of one off products before applying taxes and after applying discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.one_time_total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.one_time_total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.one_time_total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.one_time_total_excluding_tax","typeLabel":"object"},"payment_method":{"oneOf":[{"type":"string","description":"Payment method used for the order.","isRequired":true,"uniqueKey":"order.payment_method.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment method used for the order.","isRequired":true,"uniqueKey":"order.payment_method.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.payment_method","typeLabel":"string | null"},"payment_url":{"oneOf":[{"type":"string","format":"uri","description":"URL for payment processing. Available only when the order is finalized.","isRequired":true,"uniqueKey":"order.payment_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL for payment processing. Available only when the order is finalized.","isRequired":true,"uniqueKey":"order.payment_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.payment_url","typeLabel":"string\u003curi> | null"},"purchase_order_number":{"oneOf":[{"type":"string","description":"Purchase order number associated with the order.","isRequired":true,"uniqueKey":"order.purchase_order_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Purchase order number associated with the order.","isRequired":true,"uniqueKey":"order.purchase_order_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.purchase_order_number","typeLabel":"string | null"},"site":{"oneOf":[{"type":"object","description":"Site associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"order.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.site.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.site","typeLabel":"object"},"source":{"oneOf":[{"type":"string","enum":["backoffice","storefront","storefront_multi_step","import","public_api","unspecified",null],"description":"Source of the order.","isRequired":true,"uniqueKey":"order.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["backoffice","storefront","storefront_multi_step","import","public_api","unspecified",null],"description":"Source of the order.","isRequired":true,"uniqueKey":"order.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.source","typeLabel":"enum\u003cstring> | null"},"starts_at":{"oneOf":[{"type":"string","description":"Start date and time of the order (ISO 8601 date-time, UTC), or `now` while a draft order is set to start immediately after finalization.","const":"now","isRequired":true,"uniqueKey":"order.starts_at.oneOf.0","typeLabel":"string"},{"type":"string","description":"Start date and time of the order (ISO 8601 date-time, UTC), or `now` while a draft order is set to start immediately after finalization.","format":"date-time","isRequired":true,"uniqueKey":"order.starts_at.oneOf.1","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"order.starts_at.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.starts_at","typeLabel":"string | string\u003cdate-time> | null"},"status":{"type":"string","enum":["draft","finalized","completed","abandoned"],"description":"Status of the order.","isRequired":true,"uniqueKey":"order.status","typeLabel":"enum\u003cstring>"},"subscription":{"oneOf":[{"type":"object","description":"Subscription associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","billing_period","cancellation_reason","cancelled","created_at","current_period","ends_at","line_items","starts_at","stripe_subscription_id","stripe_subscription_schedule_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.id","typeLabel":"string"},"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period of the subscription.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.billing_period","typeLabel":"enum\u003cstring>"},"cancellation_reason":{"oneOf":[{"type":"string","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.cancellation_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.cancellation_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.cancellation_reason","typeLabel":"enum\u003cstring> | null"},"cancelled":{"type":"boolean","description":"Indicates whether subscription is cancelled.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.cancelled","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"current_period":{"type":"object","description":"Current subscription period.","required":["ends_at","starts_at"],"properties":{"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.ends_at","typeLabel":"string\u003cdate-time> | null"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period.starts_at","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.current_period","typeLabel":"object"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.ends_at","typeLabel":"string\u003cdate-time> | null"},"line_items":{"type":"array","items":{"type":"object","description":"Subscription Line Item","required":["created_at","item","price","quantity","type","updated_at"],"properties":{"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription line item.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"item":{"oneOf":[{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","category","charge_type","created_at","description","images","name","sku","updated_at"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the product category.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0","typeLabel":"object"},{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category","typeLabel":"object"},"charge_type":{"type":"string","enum":["one_time","recurring"],"description":"Type of charge for the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.charge_type","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Detailed description of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.description","typeLabel":"string"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.subscription.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":"order.subscription.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":"order.subscription.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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.name","typeLabel":"string"},"sku":{"oneOf":[{"type":"string","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the product.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.1","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX]","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.name","typeLabel":"string"},"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.3","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","account_code","cover_level","created_at","public","site","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.id","typeLabel":"string"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code","typeLabel":"string | null"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.public","typeLabel":"boolean"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site","typeLabel":"object · object · null"},"stripe_product_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].item","typeLabel":"object"},"price":{"type":"object","description":"Price of the subscription line item per unit.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].price","typeLabel":"object"},"quantity":{"type":"integer","description":"Quantity of the item in the subscription line item.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].quantity","typeLabel":"integer"},"type":{"type":"string","enum":["protection","unit_type","custom_product"],"description":"Type of the item on the line item.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription line item.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"order.subscription.oneOf.0.line_items.items.[INDEX]","typeLabel":"object"},"description":"List of line items in the subscription.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.line_items","typeLabel":"object[]"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.starts_at","typeLabel":"string\u003cdate-time> | null"},"stripe_subscription_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_id","typeLabel":"string | null"},"stripe_subscription_schedule_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_schedule_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_schedule_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription.oneOf.0.stripe_subscription_schedule_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription.","isRequired":true,"uniqueKey":"order.subscription.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.0","typeLabel":"object"},{"type":"object","description":"Subscription associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"order.subscription.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"Subscription associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.subscription.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.subscription","typeLabel":"object · object · null"},"subtotal":{"type":"object","description":"Gross cost of order before applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.subtotal.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.subtotal.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.subtotal.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.subtotal","typeLabel":"object"},"tax":{"type":"object","description":"Total cost of tax.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.tax.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tax","typeLabel":"object"},"tenancy":{"oneOf":[{"type":"object","description":"Tenancy associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","created_at","ends_at","starts_at","unit_allocations","updated_at"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the tenancy.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.ends_at","typeLabel":"string\u003cdate-time> | null"},"starts_at":{"type":"string","format":"date-time","description":"Date and time for start of the tenancy period.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.starts_at","typeLabel":"string\u003cdate-time>"},"unit_allocations":{"type":"array","items":{"oneOf":[{"type":"object","description":"Unit Allocation","required":["id","created_at","granted_access_at","reserved_at","unit","updated_at"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"granted_access_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at","typeLabel":"string\u003cdate-time> | null"},"reserved_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at","typeLabel":"string\u003cdate-time> | null"},"unit":{"oneOf":[{"type":"object","description":"Unit associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id","created_at","reference_id","status","unit_type","updated_at"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"reference_id":{"type":"string","description":"Reference identifier for the unit.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.reference_id","typeLabel":"string"},"status":{"type":"string","enum":["available","occupied","overlock","repossessed","reserved","unavailable"],"description":"Status of the unit.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.status","typeLabel":"enum\u003cstring>"},"unit_type":{"oneOf":[{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","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":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","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.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0","typeLabel":"object"},{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0","typeLabel":"object"},{"type":"object","description":"Unit associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"order.tenancy.oneOf.0.unit_allocations.items.[INDEX]","typeLabel":"object"},"description":"Allocated units associated with the tenancy. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.unit_allocations","typeLabel":"object[]"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the tenancy.","isRequired":true,"uniqueKey":"order.tenancy.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Tenancy associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.tenancy.oneOf.1","typeLabel":"object"},{"type":"null","description":"Tenancy associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"order.tenancy.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.tenancy","typeLabel":"object · object · null"},"total":{"type":"object","description":"Gross cost of order after applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.total.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.total","typeLabel":"object"},"total_discount":{"type":"object","description":"Discount total towards order.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.total_discount.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.total_discount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.total_discount.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.total_discount","typeLabel":"object"},"total_excluding_tax":{"type":"object","description":"Gross cost of order before applying taxes and after applying discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"order.total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","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.","isRequired":true,"uniqueKey":"order.total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"order.total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.total_excluding_tax","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the order.","isRequired":true,"uniqueKey":"order.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order","typeLabel":"object"},"meta":{"type":"object","required":["curies","request_id"],"properties":{"curies":{"type":"array","items":{"type":"object","description":"CURIE definition for resolving namespaced link relations.","required":["href","name","templated","title"],"properties":{"href":{"type":"string","description":"URI template for resolving the CURIE.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].href","typeLabel":"string"},"name":{"type":"string","enum":["bo","sf"],"description":"CURIE prefix name","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"templated":{"type":"boolean","description":"Whether the href is a URI template.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].templated","typeLabel":"boolean"},"title":{"type":"string","description":"Human-readable title.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].title","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"meta.curies.items.[INDEX]","typeLabel":"object"},"description":"CURIE definitions for resolving namespaced link relations.","isRequired":true,"uniqueKey":"meta.curies","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"additionalProperties":false,"description":"Single Order","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"849fb920-3d5a-4b72-8d66-8f85df49d7d1":{"description":"unit type not found","content":{"application/json":{"examples":{"default":{"title":"default","summary":"unit type not found","value":{"error":{"code":"resource_not_found","details":[],"links":[{"kind":"api_reference","name":"Create an Order for a Unit Type","url":"https://docs.stora.test/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"kind":"documentation","name":"Booking flow","url":"https://docs.stora.test/2025-09/guides/booking-flow"},{"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#resource_not_found"}],"message":"The Unit Type was not found.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"Error","required":["code","details","links","message","request_id","type"],"properties":{"code":{"type":"string","description":"Short code that represents the error.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","description":"ErrorDetail","required":["message","pointer"],"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","isRequired":true,"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","isRequired":true,"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","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Array of error details.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"links":{"type":"array","items":{"type":"object","description":"Link to Stora developer resources","required":["kind","name","url"],"properties":{"kind":{"type":"string","description":"Kind of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"Name of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"description":"Link(s) to Stora developer resources","isRequired":true,"uniqueKey":"error.links","typeLabel":"object[]"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","api_error"],"description":"Type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"description":"Error","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"e48ac41a-4516-4ae5-bc46-6c88c8f15b23":{"description":"unit type not bookable","content":{"application/json":{"examples":{"unit_type_not_bookable":{"title":"unit_type_not_bookable","summary":"unit type not bookable","value":{"error":{"code":"unit_type_not_bookable","details":[],"links":[{"kind":"api_reference","name":"Create an Order for a Unit Type","url":"https://docs.stora.test/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"kind":"documentation","name":"Booking flow","url":"https://docs.stora.test/2025-09/guides/booking-flow"},{"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#unit_type_not_bookable"}],"message":"The unit type isn't bookable on the storefront.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"Error","required":["code","details","links","message","request_id","type"],"properties":{"code":{"type":"string","description":"Short code that represents the error.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","description":"ErrorDetail","required":["message","pointer"],"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","isRequired":true,"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","isRequired":true,"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","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Array of error details.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"links":{"type":"array","items":{"type":"object","description":"Link to Stora developer resources","required":["kind","name","url"],"properties":{"kind":{"type":"string","description":"Kind of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"Name of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"description":"Link(s) to Stora developer resources","isRequired":true,"uniqueKey":"error.links","typeLabel":"object[]"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","api_error"],"description":"Type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"description":"Error","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"9457e077-3b50-4747-8f0c-b6eb07c0adca":{"description":"protection level not offered","content":{"application/json":{"examples":{"invalid_path_id":{"title":"invalid_path_id","summary":"invalid path ID","value":{"error":{"code":"invalid_url_param","details":[{"message":"value `invalid` at `/unit_type_id` does not match pattern: ^utype_","pointer":"/unit_type_id"}],"links":[{"kind":"api_reference","name":"Create an Order for a Unit Type","url":"https://docs.stora.test/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"kind":"documentation","name":"Booking flow","url":"https://docs.stora.test/2025-09/guides/booking-flow"},{"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#invalid_url_param"}],"message":"The request URL param is invalid.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}},"protection_level_not_offered":{"title":"protection_level_not_offered","summary":"protection level not offered","value":{"error":{"code":"invalid_content","details":[{"message":"isn't offered for this unit type on the storefront","pointer":"/protection_level/id"}],"links":[{"kind":"api_reference","name":"Create an Order for a Unit Type","url":"https://docs.stora.test/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"kind":"documentation","name":"Booking flow","url":"https://docs.stora.test/2025-09/guides/booking-flow"},{"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#invalid_content"}],"message":"The request body content is not valid.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"Error","required":["code","details","links","message","request_id","type"],"properties":{"code":{"type":"string","description":"Short code that represents the error.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","description":"ErrorDetail","required":["message","pointer"],"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","isRequired":true,"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","isRequired":true,"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","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Array of error details.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"links":{"type":"array","items":{"type":"object","description":"Link to Stora developer resources","required":["kind","name","url"],"properties":{"kind":{"type":"string","description":"Kind of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"Name of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"description":"Link(s) to Stora developer resources","isRequired":true,"uniqueKey":"error.links","typeLabel":"object[]"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","api_error"],"description":"Type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"description":"Error","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"98b82b0f-7e32-41c1-bcf9-fe0deb2eaf36":{"Bearer":{"description":"Bearer Token necessary to use API","type":"http","scheme":"bearer","bearerFormat":"token","scopes":["public.order:write"],"schemeName":"Bearer"}},"d01bf8c1-2c1d-419f-823e-d31464021d4d":{"OAuth2":{"type":"oauth2","description":"OAuth 2 authentication","flows":{"clientCredentials":{"tokenUrl":"https://public-api.stora.co/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":"https://public-api.stora.co/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.order:write"],"schemeName":"OAuth2"}}},"servers":{"3406d0d5-e66e-498a-9b35-fabd5fc6de46":{"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.order: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":"https://public-api.stora.co/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":"https://public-api.stora.co/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.order: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":"Create an Order for a Unit Type - Stora","navMaps":{"firstHrefInVersion":{"2025-09":{"href":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T00:32:18.960Z","originalFileLocation":"2025-09/api-reference/unit-types/create-an-order-for-a-unit-type.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=\"Create an order for a unit type as it\u0026#x27;s booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type\u0026#x27;s mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn\u0026#x27;t apply on the order\u0026#x27;s start date. Without protection_level, the order gets the unit type\u0026#x27;s default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn\u0026#x27;t create a duplicate. To set your own prices and line items, use Create an Order. See Building a booking flow. Required authorization scope: public.order: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=\"Create an Order for a Unit Type - Stora\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an order for a unit type as it\u0026#x27;s booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type\u0026#x27;s mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn\u0026#x27;t apply on the order\u0026#x27;s start date. Without protection_level, the order gets the unit type\u0026#x27;s default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn\u0026#x27;t create a duplicate. To set your own prices and line items, use Create an Order. See Building a booking flow. Required authorization scope: public.order: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/unit-types/create-an-order-for-a-unit-type\">\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=Unit+Types\u0026amp;title=Create+an+Order+for+a+Unit+Type\u0026amp;description=Create+an+order+for+a+unit+type+as+it%27s+booked+on+the+storefront.+Stora+adds+the+unit+type+at+its+live+storefront+price+with+its+promotion%2C+the+protection+level\u0026amp;theme=6db5bd5e68127dc65254e888\u0026amp;signature=39af228d3e8ce511206c7665b560da742e09062ca5d48aeeae975c2d5c9b297d\">\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=\"Create an Order for a Unit Type - Stora\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an order for a unit type as it\u0026#x27;s booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type\u0026#x27;s mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn\u0026#x27;t apply on the order\u0026#x27;s start date. Without protection_level, the order gets the unit type\u0026#x27;s default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn\u0026#x27;t create a duplicate. To set your own prices and line items, use Create an Order. See Building a booking flow. Required authorization scope: public.order:write\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stora-f4154d0c.mintlify.site/_mintlify/api/og/v2?division=Unit+Types\u0026amp;title=Create+an+Order+for+a+Unit+Type\u0026amp;description=Create+an+order+for+a+unit+type+as+it%27s+booked+on+the+storefront.+Stora+adds+the+unit+type+at+its+live+storefront+price+with+its+promotion%2C+the+protection+level\u0026amp;theme=6db5bd5e68127dc65254e888\u0026amp;signature=39af228d3e8ce511206c7665b560da742e09062ca5d48aeeae975c2d5c9b297d\">\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/unit-types/create-an-order-for-a-unit-type\">\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/unit-types/create-an-order-for-a-unit-type.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/unit-types/create-an-order-for-a-unit-type#webpage\",\"url\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type\",\"name\":\"Create an Order for a Unit Type\",\"description\":\"Create an order for a unit type as it's booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type's mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn't apply on the order's start date. Without protection_level, the order gets the unit type's default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn't create a duplicate. To set your own prices and line items, use Create an Order. See Building a booking flow. Required authorization scope: public.order:write\",\"dateModified\":\"2026-11-25T00:32:18.960Z\",\"isPartOf\":{\"@id\":\"https://docs.stora.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unit Types\",\"item\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-base-price-for-the-unit-type\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an Order for a Unit Type\",\"item\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type#apireference\",\"headline\":\"Create an Order for a Unit Type\",\"name\":\"Create an Order for a Unit Type\",\"description\":\"Create an order for a unit type as it's booked on the storefront. Stora adds the unit type at its live storefront price with its promotion, the protection level, the unit type's mandatory products, and the security deposit when the payment method is card. The promotion is left out when it doesn't apply on the order's start date. Without protection_level, the order gets the unit type's default protection level when the unit type requires protection. Give contact.id for an existing contact, or contact fields including email for a new one. An order.created webhook fires. Add finalize to finalize the order in the same request. The response then has a payment_url. If finalizing fails, nothing is saved. Send an Idempotency-Key header so a retry doesn't create a duplicate. To set your own prices and line items, use Create an Order. See Building a booking flow. Required authorization scope: public.order:write\",\"url\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type#webpage\"},\"dateModified\":\"2026-11-25T00:32:18.960Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stora\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type.md","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"},{"title":"Show a Contract Template","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contract_templates/{contract_template_id}","href":"/2025-09/api-reference/contract-templates/show-a-contract-template"}]},{"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","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","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","description":"Set the unit type's base price for one or more billing periods, such as `monthly` or `weekly`. The new prices apply right away to new orders. Billing periods you leave out keep their prices, and existing subscriptions don't change. If the unit type uses dynamic pricing and you change the price for the site's main billing period, Stora recalculates its dynamic prices. A `unit_type.updated` webhook fires.\n\nRequired authorization scope: `public.unit_type:write`\n","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":"Create an Order for a Unit Type","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/order","href":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"title":"List all Unit Types","description":"List unit types, the kinds of storage a contact can order, such as a 50 sq ft indoor unit. Archived unit types aren't listed. Filter by `site_id` or `status` (`bookable`, `lead_capture`, `hidden`). `live_prices` is the current price, including any dynamic price, for the site's main billing period. For another billing period, use that period's entry in `prices`. To check availability, use **List all Units** with `unit_type_id` and `status=available`.\n\nSee [Building a booking flow](https://docs.stora.co/2025-09/guides/booking-flow).\n\nRequired authorization scope: `public.unit_type:read`\n","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":"Create an Order for a Unit Type - Stora","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}