Creates the property if we have not seen this provider_id from you before, and
replaces it otherwise. Your provider_id is yours: it is unique within your
integration and never across the platform.
A provider_id belongs to the environment — sandbox or live — whose key first
pushed it, and the two never share a property. The same provider_id pushed with
a key from your other environment answers 409 conflict and nothing is
written in either. Use a different provider_id in each environment.
Replace, not merge. The payload you send is the whole property. An amenity you
omit is removed; a photo you omit is dropped. This mirrors how listings are edited
everywhere else on Maat, and it is the only version of “update” in which
“remove this amenity” is expressible.
address may carry subdivision_code and city_id from
GET /locations/{country_code}; with a city_id, Maat stores that city’s English
city and region. Without them, Maat matches the city and region you sent
and keeps your text. The rules and refusals are the address write’s —
see PUT /properties/{property_id}/address, with errors[].field under
body.address.
A property that cannot yet be sold — no price, no photos, no amenities — is
accepted and held in an incomplete state rather than published at a placeholder
price. publishable and missing tell you exactly what it is waiting for, and
listing_id stays null until it can actually be shown to a guest.
property_id and unit_id come back on every push, publishable or not, and
they are the handles the targeted edits take — the address, the amenity set, the
unit’s occupancy and its house rules. Store them beside your own provider_id
and you never have to look one up.
Photos are fetched asynchronously, so the FIRST push of a complete property
comes back publishable: false with photos_processing. That is not a failure
and there is nothing to do: we fetch each URL, process it and publish the
property on its own. Anything we could not turn into a photo is named in
photos_rejected. Sending the same URL again is free — an unchanged URL is never
re-fetched, so a nightly catalogue sync costs nothing for the photos that did not
change. Change the bytes behind a URL and publish it at a new URL.
Send only the address fields listed here. Delivery detail (building, floor,
apartment number, directions) is not part of this contract in either direction.
A sandbox token creates real properties too, excluded from every public surface —
search, the map, the guest feed.
A short-lived partner token, obtained by exchanging your API key at
POST /token. Send it as Authorization: Bearer <access_token>.
Tokens live for fifteen minutes by default and never for more than an hour.
Mint one per batch of work, not one per request.
The token carries the workspace and the environment its key was issued for. You
cannot change either by asking: the exchange ignores everything in the request
body for exactly that reason.
It also carries the key's scopes (scope, a list). Every operation names a
scope as x-maat-scope, and a token whose key lacks it is refused with
403 insufficient_scope, naming the scope. Scopes are fixed when a key is
issued and are re-read from the key on every request, so a key narrowed today is
narrowed on its next call — the token's scope is what the key held at exchange
time, for your own reading, never what authorizes a request.
x-maat-scope is the floor, and on nine operations it is not the whole
story.PUT and DELETE /listings/{listing_id}/quick-actions/{template_key}
carry rules:write, and additionally require pricing:write when
template_key begins pricing. — the capability depends on the template in
the path, because a cleaning fee changes what a guest pays and a minimum stay
does not. The refusal is the same 403 insufficient_scope, naming
pricing:write. The two READS apply the same requirement without erroring:
GET /listings/{listing_id}/quick-actions still lists the pricing.* rows but
withholds their applied state, and GET /listings/{listing_id}/rules omits the
pricing rules entirely and reports pricing_withheld in warnings. The five
operations that return a booking — the two booking reads, confirm, reject and
POST /sandbox/bookings — read guests:read the same way, without ever
erroring: it decides whether a booking's guest carries the guest's display name
(and, where guest contact is enabled for your workspace, email and phone) or is
null, and whether guest_note can be anything but null. These nine are the only operations in this document whose answer
depends on more than their x-maat-scope, and each of them says so
machine-readably: x-maat-scope-additional lists the second scope it can read
and x-maat-scope-additional-when says what happens without it.
Never send it as a cookie or in a query string, and never store it — store the
API key, mint tokens from it.
Path Parameters
provider_id
string
required
Your own identifier for the property. Unique within your integration — another
developer may use the same string and neither ever sees the other's. It belongs
to the environment (sandbox or live) whose key first pushed it: pushed with a
key from your other environment it answers 409 conflict and nothing is
written.
Required string length: 1 - 128
Body
application/json
The whole property. Anything you omit is removed — this replaces rather than
merges.
name
string
required
The property's title, as guests will see it.
Required string length: 1 - 120
property_type
string
required
A slug from GET /catalog/property-types. An unknown slug is a 400, never a silent default.
Maximum string length: 60
Pattern: ^[a-z0-9][a-z0-9_-]*$
Example:
"apartment"
address
Address · object
required
Where the property is, as your system pushes it. Delivery detail — building,
floor, apartment number, directions — is not part of the push: write it with
PUT /properties/{property_id}/address and read it back on
PropertyReadAddress.
Show child attributes
occupancy
Occupancy · object
required
How many people the property sleeps, and in what.
Show child attributes
base_rate
Money · object
required
An amount and its currency, always together.
value is a decimal string, not a number. 1250.10 has no exact IEEE-754
representation, and a JSON parser that rounds it costs a cent on every booking.
Parse it with a decimal type, not a float.
There is no bare amount anywhere in this API and no currency field sitting beside
one. Two fields can be read separately; one object cannot.
Show child attributes
description
string
Free text about the property. Never about a guest — see the data boundary guide.
Maximum string length: 4000
amenities
string[]
Amenity slugs from GET /catalog/amenities. Replaced whole on every push: a slug you omit is removed.
Maximum array length: 60
Maximum string length: 60
Pattern: ^[a-z0-9][a-z0-9_-]*$
photos
Photo · object[]
Photos by URL, in the order you want them shown. Replaced whole on every push.
Maximum array length: 30
Show child attributes
check_in_time
string
Local time, 24-hour.
Pattern: ^([01]\d|2[0-3]):[0-5]\d$
Example:
"15:00"
check_out_time
string
Local check-out time, 24-hour HH:MM. Omitted means the platform default, 12:00.
Pattern: ^([01]\d|2[0-3]):[0-5]\d$
Example:
"12:00"
status
enum<string>
Whether you want the property sellable on Maat right now.
The identifier you addressed, echoed back so a queued write can be matched to its response.
result
enum<string>
required
Whether this push created the property or replaced one you had already pushed.
See WriteResult.
Available options:
created,
updated
property_id
string<uuid>
required
Maat's own identifier for the property. Always present, unlike
listing_id: the row exists from the moment this push commits, whether
or not the property is publishable.
It is the handle every sub-resource write takes —
PUT /properties/{property_id}/address and …/amenities — so a caller
who created a property by their own reference never has to go and look
ours up before editing it.
unit_id
string<uuid>
required
Maat's identifier for the physical unit this push created or replaced.
Always present, for the same reason.
A property push writes exactly one unit today, and this is the handle
PATCH /units/{unit_id} and PUT /units/{unit_id}/house-rules take.
listing_id
string<uuid> | null
required
Maat's listing identifier, once the property is complete enough to have
one. null while it is not — never a placeholder.
Deliberately NOT unconditional like the two ids above, even though the
row exists just as early: a listing addresses something a guest can
reach, and handing it back before the property is publishable would read
as "we are live". The other two address our own inventory and carry no
such claim.
status
enum<string>
required
Whether the listing is on sale right now. A push that is missing something publication needs comes back unlisted.
See ListingStatus.
Available options:
listed,
unlisted
publishable
boolean
required
Whether the property can be shown to guests as it stands.
missing
enum<string>[]
required
Machine-readable reasons publishable is false. Empty when it is true.
photos_processing is not a deficiency — your images are being fetched
and processed, and it clears on its own. It is separate from photos
precisely so you can tell "wait" from "send us more".
unlisted restates your own status, and it is reported alongside any
real deficiency rather than instead of it, so you know whether the
property is otherwise complete before you re-list it.
Why a listing is not publishable. A closed vocabulary.
Available options:
price,
amenities,
cover_photo,
photos,
photos_processing,
unlisted
Example:
["cover_photo", "photos_processing"]
unknown_amenities
string[]
required
Amenity slugs we do not recognise, echoed back rather than silently
dropped. They are not linked to the property. One unmapped slug does not
fail the push — an otherwise-good property should not be blocked while
you map your vocabulary onto ours.
Example:
["wi-fi"]
photos_rejected
PhotoRejection · object[]
required
Photo URLs that did not become photos. Empty when every one did.
missing: ["photos"] on its own is not actionable across a
thirty-photo push, so each failure names your own URL and a reason.
The reason vocabulary is deliberately coarse: a refused URL never says
what the name resolved to.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Maat Stays","description":"Guides and reference for managing your Maat Stays listings, calendars, rates, bookings and reviews from your own system.","colors":{"primary":"#c5142a","light":"#ff6a74","dark":"#a8122a"},"logo":{"light":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc","dark":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=50cf3353b610a530a0657a8d261df0be"},"favicon":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/icon.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=0fcc683aa8ad70eae0ba06b5460afa34","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python","go"]}},"appearance":{"default":"system"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"maat-stays","hasAudioNarration":false,"actualSubdomain":"maat-stays","customDomains":["developer.maatstays.com"],"gitSource":{"type":"github","owner":"imustafa","repo":"geospacial","deployBranch":"main","contentDirectory":"developer-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10fc559ffae5051c41c048"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b152e6693b18845e0999d48","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"Enums","count":41},{"language":"default","tag":"Pricing","count":11},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Booking notifications","count":8},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"Calendar","count":6},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Finance","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/properties/create-or-replace-a-property","slug":"/api-reference/properties/create-or-replace-a-property","pageMetadata":{"title":"Create or replace a property","description":"Creates the property if we have not seen this `provider_id` from you before, and\nreplaces it otherwise. Your `provider_id` is yours: it is unique within your\nintegration and never across the platform.\n\nA `provider_id` belongs to the environment — sandbox or live — whose key first\npushed it, and the two never share a property. The same `provider_id` pushed with\na key from your other environment answers `409 conflict` and **nothing is\nwritten** in either. Use a different `provider_id` in each environment.\n\n**Replace, not merge.** The payload you send is the whole property. An amenity you\nomit is removed; a photo you omit is dropped. This mirrors how listings are edited\neverywhere else on Maat, and it is the only version of \"update\" in which\n\"remove this amenity\" is expressible.\n\n`address` may carry `subdivision_code` and `city_id` from\n`GET /locations/{country_code}`; with a `city_id`, Maat stores that city's English\n`city` and `region`. Without them, Maat matches the `city` and `region` you sent\nand keeps your text. The rules and refusals are the address write's —\nsee `PUT /properties/{property_id}/address`, with `errors[].field` under\n`body.address`.\n\nA property that cannot yet be sold — no price, no photos, no amenities — is\naccepted and held in an incomplete state rather than published at a placeholder\nprice. `publishable` and `missing` tell you exactly what it is waiting for, and\n`listing_id` stays `null` until it can actually be shown to a guest.\n\n`property_id` and `unit_id` come back on **every** push, publishable or not, and\nthey are the handles the targeted edits take — the address, the amenity set, the\nunit's occupancy and its house rules. Store them beside your own `provider_id`\nand you never have to look one up.\n\n**Photos are fetched asynchronously**, so the FIRST push of a complete property\ncomes back `publishable: false` with `photos_processing`. That is not a failure\nand there is nothing to do: we fetch each URL, process it and publish the\nproperty on its own. Anything we could not turn into a photo is named in\n`photos_rejected`. Sending the same URL again is free — an unchanged URL is never\nre-fetched, so a nightly catalogue sync costs nothing for the photos that did not\nchange. Change the bytes behind a URL and publish it at a new URL.\n\nSend only the address fields listed here. Delivery detail (building, floor,\napartment number, directions) is not part of this contract in either direction.\n\nA sandbox token creates real properties too, excluded from every public surface —\nsearch, the map, the guest feed.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{provider_id}","href":"/api-reference/properties/create-or-replace-a-property","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates the property if we have not seen this \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \" from you before, and\\nreplaces it otherwise. Your \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \" is yours: it is unique within your\\nintegration and never across the platform.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \" belongs to the environment — sandbox or live — whose key first\\npushed it, and the two never share a property. The same \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \" pushed with\\na key from your other environment answers \", _jsx(_components.code, {\n children: \"409 conflict\"\n }), \" and \", _jsx(_components.strong, {\n children: \"nothing is\\nwritten\"\n }), \" in either. Use a different \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \" in each environment.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Replace, not merge.\"\n }), \" The payload you send is the whole property. An amenity you\\nomit is removed; a photo you omit is dropped. This mirrors how listings are edited\\neverywhere else on Maat, and it is the only version of “update” in which\\n“remove this amenity” is expressible.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"address\"\n }), \" may carry \", _jsx(_components.code, {\n children: \"subdivision_code\"\n }), \" and \", _jsx(_components.code, {\n children: \"city_id\"\n }), \" from\\n\", _jsx(_components.code, {\n children: \"GET /locations/{country_code}\"\n }), \"; with a \", _jsx(_components.code, {\n children: \"city_id\"\n }), \", Maat stores that city’s English\\n\", _jsx(_components.code, {\n children: \"city\"\n }), \" and \", _jsx(_components.code, {\n children: \"region\"\n }), \". Without them, Maat matches the \", _jsx(_components.code, {\n children: \"city\"\n }), \" and \", _jsx(_components.code, {\n children: \"region\"\n }), \" you sent\\nand keeps your text. The rules and refusals are the address write’s —\\nsee \", _jsx(_components.code, {\n children: \"PUT /properties/{property_id}/address\"\n }), \", with \", _jsx(_components.code, {\n children: \"errors[].field\"\n }), \" under\\n\", _jsx(_components.code, {\n children: \"body.address\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A property that cannot yet be sold — no price, no photos, no amenities — is\\naccepted and held in an incomplete state rather than published at a placeholder\\nprice. \", _jsx(_components.code, {\n children: \"publishable\"\n }), \" and \", _jsx(_components.code, {\n children: \"missing\"\n }), \" tell you exactly what it is waiting for, and\\n\", _jsx(_components.code, {\n children: \"listing_id\"\n }), \" stays \", _jsx(_components.code, {\n children: \"null\"\n }), \" until it can actually be shown to a guest.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"property_id\"\n }), \" and \", _jsx(_components.code, {\n children: \"unit_id\"\n }), \" come back on \", _jsx(_components.strong, {\n children: \"every\"\n }), \" push, publishable or not, and\\nthey are the handles the targeted edits take — the address, the amenity set, the\\nunit’s occupancy and its house rules. Store them beside your own \", _jsx(_components.code, {\n children: \"provider_id\"\n }), \"\\nand you never have to look one up.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Photos are fetched asynchronously\"\n }), \", so the FIRST push of a complete property\\ncomes back \", _jsx(_components.code, {\n children: \"publishable: false\"\n }), \" with \", _jsx(_components.code, {\n children: \"photos_processing\"\n }), \". That is not a failure\\nand there is nothing to do: we fetch each URL, process it and publish the\\nproperty on its own. Anything we could not turn into a photo is named in\\n\", _jsx(_components.code, {\n children: \"photos_rejected\"\n }), \". Sending the same URL again is free — an unchanged URL is never\\nre-fetched, so a nightly catalogue sync costs nothing for the photos that did not\\nchange. Change the bytes behind a URL and publish it at a new URL.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Send only the address fields listed here. Delivery detail (building, floor,\\napartment number, directions) is not part of this contract in either direction.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"A sandbox token creates real properties too, excluded from every public surface —\\nsearch, the map, the guest feed.\"\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 or replace a property","description":"Creates the property if we have not seen this `provider_id` from you before, and\nreplaces it otherwise. Your `provider_id` is yours: it is unique within your\nintegration and never across the platform.\n\nA `provider_id` belongs to the environment — sandbox or live — whose key first\npushed it, and the two never share a property. The same `provider_id` pushed with\na key from your other environment answers `409 conflict` and **nothing is\nwritten** in either. Use a different `provider_id` in each environment.\n\n**Replace, not merge.** The payload you send is the whole property. An amenity you\nomit is removed; a photo you omit is dropped. This mirrors how listings are edited\neverywhere else on Maat, and it is the only version of \"update\" in which\n\"remove this amenity\" is expressible.\n\n`address` may carry `subdivision_code` and `city_id` from\n`GET /locations/{country_code}`; with a `city_id`, Maat stores that city's English\n`city` and `region`. Without them, Maat matches the `city` and `region` you sent\nand keeps your text. The rules and refusals are the address write's —\nsee `PUT /properties/{property_id}/address`, with `errors[].field` under\n`body.address`.\n\nA property that cannot yet be sold — no price, no photos, no amenities — is\naccepted and held in an incomplete state rather than published at a placeholder\nprice. `publishable` and `missing` tell you exactly what it is waiting for, and\n`listing_id` stays `null` until it can actually be shown to a guest.\n\n`property_id` and `unit_id` come back on **every** push, publishable or not, and\nthey are the handles the targeted edits take — the address, the amenity set, the\nunit's occupancy and its house rules. Store them beside your own `provider_id`\nand you never have to look one up.\n\n**Photos are fetched asynchronously**, so the FIRST push of a complete property\ncomes back `publishable: false` with `photos_processing`. That is not a failure\nand there is nothing to do: we fetch each URL, process it and publish the\nproperty on its own. Anything we could not turn into a photo is named in\n`photos_rejected`. Sending the same URL again is free — an unchanged URL is never\nre-fetched, so a nightly catalogue sync costs nothing for the photos that did not\nchange. Change the bytes behind a URL and publish it at a new URL.\n\nSend only the address fields listed here. Delivery detail (building, floor,\napartment number, directions) is not part of this contract in either direction.\n\nA sandbox token creates real properties too, excluded from every public surface —\nsearch, the map, the guest feed.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{provider_id}","href":"/api-reference/properties/create-or-replace-a-property","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["properties"],"operationId":"upsertProperty","x-maat-scope":"catalog:write","x-maat-availability":"production","summary":"Create or replace a property","x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl --fail-with-body -X PUT https://maatstays.com/v1/properties/my-prop-9001 \\\n -H \"Authorization: Bearer $MAAT_PARTNER_TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": {\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187\n },\n \"occupancy\": { \"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1 },\n \"base_rate\": { \"value\": \"1250.00\", \"currency\": \"EGP\" },\n \"amenities\": [\"wifi\", \"air-conditioning\"],\n \"photos\": [\n { \"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0 }\n ],\n \"status\": \"listed\"\n }'\n"},{"lang":"javascript","label":"Node.js","source":"const property = {\n name: 'Courtyard flat with the blue door',\n property_type: 'apartment',\n address: {\n line1: '14 Example Street',\n city: 'Alexandria',\n country: 'EG',\n latitude: 31.2001,\n longitude: 29.9187,\n },\n occupancy: { max_guests: 4, bedrooms: 2, beds: 3, bathrooms: 1 },\n base_rate: { value: '1250.00', currency: 'EGP' },\n amenities: ['wifi', 'air-conditioning'],\n photos: [\n { url: 'https://images.example-partner.invalid/p/9001/1.jpg', position: 0 },\n ],\n status: 'listed',\n};\n\nconst res = await fetch(\n 'https://maatstays.com/v1/properties/my-prop-9001',\n {\n method: 'PUT',\n headers: {\n Authorization: `Bearer ${process.env.MAAT_PARTNER_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(property),\n },\n);\n\nconst body = await res.json();\nif (!res.ok) throw new Error(`${body.code}: ${body.detail}`);\n\n// photos_processing clears on its own — wait, do not re-send.\nconsole.log(body.publishable, body.missing);\n"},{"lang":"python","label":"Python","source":"import os\n\nimport requests\n\nproperty_payload = {\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": {\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187,\n },\n \"occupancy\": {\"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1},\n \"base_rate\": {\"value\": \"1250.00\", \"currency\": \"EGP\"},\n \"amenities\": [\"wifi\", \"air-conditioning\"],\n \"photos\": [\n {\"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0}\n ],\n \"status\": \"listed\",\n}\n\nres = requests.put(\n \"https://maatstays.com/v1/properties/my-prop-9001\",\n headers={\"Authorization\": f\"Bearer {os.environ['MAAT_PARTNER_TOKEN']}\"},\n json=property_payload,\n timeout=30,\n)\n\nbody = res.json()\nif res.status_code >= 400:\n raise RuntimeError(f\"{body['code']}: {body.get('detail')}\")\n\n# photos_processing clears on its own — wait, do not re-send.\nprint(body[\"publishable\"], body[\"missing\"])\n"},{"lang":"go","label":"Go","source":"package main\n\nimport (\n \"bytes\"\n \"encoding/json\"\n \"fmt\"\n \"log\"\n \"net/http\"\n \"os\"\n)\n\nfunc main() {\n payload, _ := json.Marshal(map[string]any{\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": map[string]any{\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187,\n },\n \"occupancy\": map[string]any{\n \"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1,\n },\n \"base_rate\": map[string]string{\"value\": \"1250.00\", \"currency\": \"EGP\"},\n \"amenities\": []string{\"wifi\", \"air-conditioning\"},\n \"photos\": []map[string]any{\n {\"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0},\n },\n \"status\": \"listed\",\n })\n\n req, _ := http.NewRequest(http.MethodPut,\n \"https://maatstays.com/v1/properties/my-prop-9001\",\n bytes.NewReader(payload))\n req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"MAAT_PARTNER_TOKEN\"))\n req.Header.Set(\"Content-Type\", \"application/json\")\n\n res, err := http.DefaultClient.Do(req)\n if err != nil {\n log.Fatal(err)\n }\n defer res.Body.Close()\n\n var body map[string]any\n if err := json.NewDecoder(res.Body).Decode(\u0026body); err != nil {\n log.Fatal(err)\n }\n if res.StatusCode >= 400 {\n log.Fatalf(\"%v: %v\", body[\"code\"], body[\"detail\"])\n }\n\n // photos_processing clears on its own — wait, do not re-send.\n fmt.Println(body[\"publishable\"], body[\"missing\"])\n}\n"}],"description":"Creates the property if we have not seen this `provider_id` from you before, and\nreplaces it otherwise. Your `provider_id` is yours: it is unique within your\nintegration and never across the platform.\n\nA `provider_id` belongs to the environment — sandbox or live — whose key first\npushed it, and the two never share a property. The same `provider_id` pushed with\na key from your other environment answers `409 conflict` and **nothing is\nwritten** in either. Use a different `provider_id` in each environment.\n\n**Replace, not merge.** The payload you send is the whole property. An amenity you\nomit is removed; a photo you omit is dropped. This mirrors how listings are edited\neverywhere else on Maat, and it is the only version of \"update\" in which\n\"remove this amenity\" is expressible.\n\n`address` may carry `subdivision_code` and `city_id` from\n`GET /locations/{country_code}`; with a `city_id`, Maat stores that city's English\n`city` and `region`. Without them, Maat matches the `city` and `region` you sent\nand keeps your text. The rules and refusals are the address write's —\nsee `PUT /properties/{property_id}/address`, with `errors[].field` under\n`body.address`.\n\nA property that cannot yet be sold — no price, no photos, no amenities — is\naccepted and held in an incomplete state rather than published at a placeholder\nprice. `publishable` and `missing` tell you exactly what it is waiting for, and\n`listing_id` stays `null` until it can actually be shown to a guest.\n\n`property_id` and `unit_id` come back on **every** push, publishable or not, and\nthey are the handles the targeted edits take — the address, the amenity set, the\nunit's occupancy and its house rules. Store them beside your own `provider_id`\nand you never have to look one up.\n\n**Photos are fetched asynchronously**, so the FIRST push of a complete property\ncomes back `publishable: false` with `photos_processing`. That is not a failure\nand there is nothing to do: we fetch each URL, process it and publish the\nproperty on its own. Anything we could not turn into a photo is named in\n`photos_rejected`. Sending the same URL again is free — an unchanged URL is never\nre-fetched, so a nightly catalogue sync costs nothing for the photos that did not\nchange. Change the bytes behind a URL and publish it at a new URL.\n\nSend only the address fields listed here. Delivery detail (building, floor,\napartment number, directions) is not part of this contract in either direction.\n\nA sandbox token creates real properties too, excluded from every public surface —\nsearch, the map, the guest feed.\n","parameters":["d6986fc2-3b7d-4bba-ad93-0c54e03e5f33"],"requestBody":"a0b12736-3d3a-44f7-8721-6c0a932af60d","responses":{"200":"10fa5971-137c-49b3-a5d2-de25b9437d6f","400":"4be8e861-65df-49f5-a01f-cab3f3524b69","401":"1468b648-0269-4411-be3c-074adf91792a","403":"4a6fbcf7-7e5f-431e-a87c-8abbdd07b8d7","409":"4c593e23-7add-46ce-a7cf-bab449d051ab","429":"b06b3e23-183b-41fc-a0d1-d645d4ab9961","500":"7a8f963e-81ed-4b08-a686-a4e24df5420e"},"method":"put","type":"path","servers":["bfd060a5-0f89-4901-9142-ddadbc088436"],"security":["27c1ff0b-58c5-43d0-84ca-9d1f79d33330"],"path":"/properties/{provider_id}","baseUrlOptions":["https://maatstays.com/v1"],"title":"Create or replace a property","codeSamples":[{"label":"cURL","lang":"bash","source":"curl --fail-with-body -X PUT https://maatstays.com/v1/properties/my-prop-9001 \\\n -H \"Authorization: Bearer $MAAT_PARTNER_TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": {\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187\n },\n \"occupancy\": { \"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1 },\n \"base_rate\": { \"value\": \"1250.00\", \"currency\": \"EGP\" },\n \"amenities\": [\"wifi\", \"air-conditioning\"],\n \"photos\": [\n { \"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0 }\n ],\n \"status\": \"listed\"\n }'\n"},{"label":"Node.js","lang":"javascript","source":"const property = {\n name: 'Courtyard flat with the blue door',\n property_type: 'apartment',\n address: {\n line1: '14 Example Street',\n city: 'Alexandria',\n country: 'EG',\n latitude: 31.2001,\n longitude: 29.9187,\n },\n occupancy: { max_guests: 4, bedrooms: 2, beds: 3, bathrooms: 1 },\n base_rate: { value: '1250.00', currency: 'EGP' },\n amenities: ['wifi', 'air-conditioning'],\n photos: [\n { url: 'https://images.example-partner.invalid/p/9001/1.jpg', position: 0 },\n ],\n status: 'listed',\n};\n\nconst res = await fetch(\n 'https://maatstays.com/v1/properties/my-prop-9001',\n {\n method: 'PUT',\n headers: {\n Authorization: `Bearer ${process.env.MAAT_PARTNER_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(property),\n },\n);\n\nconst body = await res.json();\nif (!res.ok) throw new Error(`${body.code}: ${body.detail}`);\n\n// photos_processing clears on its own — wait, do not re-send.\nconsole.log(body.publishable, body.missing);\n"},{"label":"Python","lang":"python","source":"import os\n\nimport requests\n\nproperty_payload = {\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": {\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187,\n },\n \"occupancy\": {\"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1},\n \"base_rate\": {\"value\": \"1250.00\", \"currency\": \"EGP\"},\n \"amenities\": [\"wifi\", \"air-conditioning\"],\n \"photos\": [\n {\"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0}\n ],\n \"status\": \"listed\",\n}\n\nres = requests.put(\n \"https://maatstays.com/v1/properties/my-prop-9001\",\n headers={\"Authorization\": f\"Bearer {os.environ['MAAT_PARTNER_TOKEN']}\"},\n json=property_payload,\n timeout=30,\n)\n\nbody = res.json()\nif res.status_code >= 400:\n raise RuntimeError(f\"{body['code']}: {body.get('detail')}\")\n\n# photos_processing clears on its own — wait, do not re-send.\nprint(body[\"publishable\"], body[\"missing\"])\n"},{"label":"Go","lang":"go","source":"package main\n\nimport (\n \"bytes\"\n \"encoding/json\"\n \"fmt\"\n \"log\"\n \"net/http\"\n \"os\"\n)\n\nfunc main() {\n payload, _ := json.Marshal(map[string]any{\n \"name\": \"Courtyard flat with the blue door\",\n \"property_type\": \"apartment\",\n \"address\": map[string]any{\n \"line1\": \"14 Example Street\",\n \"city\": \"Alexandria\",\n \"country\": \"EG\",\n \"latitude\": 31.2001,\n \"longitude\": 29.9187,\n },\n \"occupancy\": map[string]any{\n \"max_guests\": 4, \"bedrooms\": 2, \"beds\": 3, \"bathrooms\": 1,\n },\n \"base_rate\": map[string]string{\"value\": \"1250.00\", \"currency\": \"EGP\"},\n \"amenities\": []string{\"wifi\", \"air-conditioning\"},\n \"photos\": []map[string]any{\n {\"url\": \"https://images.example-partner.invalid/p/9001/1.jpg\", \"position\": 0},\n },\n \"status\": \"listed\",\n })\n\n req, _ := http.NewRequest(http.MethodPut,\n \"https://maatstays.com/v1/properties/my-prop-9001\",\n bytes.NewReader(payload))\n req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"MAAT_PARTNER_TOKEN\"))\n req.Header.Set(\"Content-Type\", \"application/json\")\n\n res, err := http.DefaultClient.Do(req)\n if err != nil {\n log.Fatal(err)\n }\n defer res.Body.Close()\n\n var body map[string]any\n if err := json.NewDecoder(res.Body).Decode(\u0026body); err != nil {\n log.Fatal(err)\n }\n if res.StatusCode >= 400 {\n log.Fatalf(\"%v: %v\", body[\"code\"], body[\"detail\"])\n }\n\n // photos_processing clears on its own — wait, do not re-send.\n fmt.Println(body[\"publishable\"], body[\"missing\"])\n}\n"}],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"d6986fc2-3b7d-4bba-ad93-0c54e03e5f33":{"name":"provider_id","in":"path","required":true,"description":"Your own identifier for the property. Unique within your integration — another\ndeveloper may use the same string and neither ever sees the other's. It belongs\nto the environment (sandbox or live) whose key first pushed it: pushed with a\nkey from your other environment it answers `409 conflict` and nothing is\nwritten.\n","schema":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"description":"Your own identifier for the property. Unique within your integration — another\ndeveloper may use the same string and neither ever sees the other's. It belongs\nto the environment (sandbox or live) whose key first pushed it: pushed with a\nkey from your other environment it answers `409 conflict` and nothing is\nwritten.\n","uniqueKey":"","typeLabel":"string"},"example":"my-prop-9001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"PropertyUpsertRequest","description":"The whole property. Anything you omit is removed — this replaces rather than\nmerges.\n","required":["name","property_type","address","occupancy","base_rate"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":120,"description":"The property's title, as guests will see it.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"property_type":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]*$","maxLength":60,"description":"A slug from `GET /catalog/property-types`. An unknown slug is a `400`, never a silent default.","example":"apartment","isRequired":true,"uniqueKey":"property_type","typeLabel":"string"},"address":{"type":"object","title":"Address","description":"Where the property is, as your system pushes it. Delivery detail — building,\nfloor, apartment number, directions — is not part of the push: write it with\n`PUT /properties/{property_id}/address` and read it back on\n`PropertyReadAddress`.\n","required":["line1","city","country","latitude","longitude"],"additionalProperties":false,"properties":{"line1":{"type":"string","minLength":1,"maxLength":200,"description":"Street address, as you hold it. One line; there is no `line2`.","isRequired":true,"uniqueKey":"address.line1","typeLabel":"string"},"city":{"type":"string","minLength":1,"maxLength":120,"description":"City or town.","isRequired":true,"uniqueKey":"address.city","typeLabel":"string"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2, uppercase.","isRequired":true,"uniqueKey":"address.country","typeLabel":"string"},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Decimal degrees, WGS 84. Maat places the pin from this and never geocodes your text.","isRequired":true,"uniqueKey":"address.latitude","typeLabel":"number"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Decimal degrees, WGS 84.","isRequired":true,"uniqueKey":"address.longitude","typeLabel":"number"},"region":{"type":"string","maxLength":120,"description":"State, province or governorate.","uniqueKey":"address.region","typeLabel":"string"},"postal_code":{"type":"string","maxLength":20,"description":"Postal or ZIP code, where the country has one.","uniqueKey":"address.postal_code","typeLabel":"string"},"subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"ISO 3166-2, from `GET /locations/{country_code}`. Must be a subdivision of\n`country`.\n","uniqueKey":"address.subdivision_code","typeLabel":"string"},"city_id":{"type":"string","format":"uuid","description":"A city from `GET /locations/{country_code}`. When you send it, Maat stores\nthe catalogue's English `city` and `region`; without it, Maat matches the\nones you typed and keeps them.\n","uniqueKey":"address.city_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"address","typeLabel":"Address · object"},"occupancy":{"type":"object","title":"Occupancy","description":"How many people the property sleeps, and in what.","required":["max_guests","bedrooms","beds","bathrooms"],"additionalProperties":false,"properties":{"max_guests":{"type":"integer","minimum":1,"maximum":50,"description":"The most people the property sleeps. Maat refuses a booking above it.","isRequired":true,"uniqueKey":"occupancy.max_guests","typeLabel":"integer"},"bedrooms":{"type":"integer","minimum":0,"maximum":30,"description":"Rooms intended for sleeping. Zero for a studio.","isRequired":true,"uniqueKey":"occupancy.bedrooms","typeLabel":"integer"},"beds":{"type":"integer","minimum":0,"maximum":60,"description":"Beds in total, across every room.","isRequired":true,"uniqueKey":"occupancy.beds","typeLabel":"integer"},"bathrooms":{"type":"integer","minimum":0,"maximum":30,"description":"Whole bathrooms. Half-bathrooms are not expressible; a fractional value is\nrefused rather than rounded into a different property than you described.\n","isRequired":true,"uniqueKey":"occupancy.bathrooms","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"occupancy","typeLabel":"Occupancy · object"},"base_rate":{"type":"object","title":"Money","description":"An amount and its currency, always together.\n\n`value` is a decimal **string**, not a number. `1250.10` has no exact IEEE-754\nrepresentation, and a JSON parser that rounds it costs a cent on every booking.\nParse it with a decimal type, not a float.\n\nThere is no bare amount anywhere in this API and no currency field sitting beside\none. Two fields can be read separately; one object cannot.\n","required":["value","currency"],"additionalProperties":false,"properties":{"value":{"type":"string","pattern":"^\\d{1,10}(\\.\\d{1,2})?$","description":"Decimal string, at most two decimal places.","example":"1250.00","isRequired":true,"uniqueKey":"base_rate.value","typeLabel":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217, uppercase.","example":"EGP","isRequired":true,"uniqueKey":"base_rate.currency","typeLabel":"string"}},"isRequired":true,"uniqueKey":"base_rate","typeLabel":"Money · object"},"description":{"type":"string","maxLength":4000,"description":"Free text about the property. Never about a guest — see the data boundary guide.","uniqueKey":"description","typeLabel":"string"},"amenities":{"type":"array","maxItems":60,"description":"Amenity slugs from `GET /catalog/amenities`. Replaced whole on every push: a slug you omit is removed.","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]*$","maxLength":60,"uniqueKey":"amenities.items.[INDEX]","typeLabel":"string"},"uniqueKey":"amenities","typeLabel":"string[]"},"photos":{"type":"array","maxItems":30,"description":"Photos by URL, in the order you want them shown. Replaced whole on every push.","items":{"type":"object","title":"Photo","description":"One photo, by URL. Maat fetches and processes it through the same pipeline a host\nupload goes through — you never write to a Maat bucket.\n","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"pattern":"^https://","description":"A publicly fetchable HTTPS URL we can read without a credential. We fetch it; you never write to a Maat bucket.","isRequired":true,"uniqueKey":"photos.items.[INDEX].url","typeLabel":"string\u003curi>"},"position":{"type":"integer","minimum":0,"maximum":29,"description":"0-based display order. Position 0 is the cover photo.","uniqueKey":"photos.items.[INDEX].position","typeLabel":"integer"}},"uniqueKey":"photos.items.[INDEX]","typeLabel":"Photo · object"},"uniqueKey":"photos","typeLabel":"Photo · object[]"},"check_in_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"Local time, 24-hour.","example":"15:00","uniqueKey":"check_in_time","typeLabel":"string"},"check_out_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"Local check-out time, 24-hour `HH:MM`. Omitted means the platform default, `12:00`.","example":"12:00","uniqueKey":"check_out_time","typeLabel":"string"},"status":{"type":"string","title":"ListingStatus","description":"Whether you want the property sellable on Maat right now.\n\nSee [`ListingStatus`](/api-reference/enums/listing-status).\n","enum":["listed","unlisted"],"x-enum-descriptions":{"listed":"On sale on Maat right now.","unlisted":"Not on sale — read `missing` to tell \"held back\" from \"taken off\"."},"x-maat-internal-enum":{"name":"PartnerPropertyStatus","relation":"equals"},"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"PropertyUpsertRequest · object"},"example":{"name":"Courtyard flat with the blue door","description":"A two-bedroom flat one street back from the corniche.","property_type":"apartment","address":{"line1":"14 Example Street","city":"Alexandria","region":"Alexandria","postal_code":"21500","country":"EG","subdivision_code":"EG-ALX","city_id":"27fb3146-4374-45a8-bcf2-dba41099bcd3","latitude":31.2001,"longitude":29.9187},"occupancy":{"max_guests":4,"bedrooms":2,"beds":3,"bathrooms":1},"base_rate":{"value":"1250.00","currency":"EGP"},"amenities":["wifi","air-conditioning","washing-machine"],"photos":[{"url":"https://images.example-partner.invalid/p/9001/1.jpg","position":0},{"url":"https://images.example-partner.invalid/p/9001/2.jpg","position":1}],"check_in_time":"15:00","check_out_time":"12:00","status":"listed"},"examples":{"Example":{"title":"Example","value":{"name":"Courtyard flat with the blue door","description":"A two-bedroom flat one street back from the corniche.","property_type":"apartment","address":{"line1":"14 Example Street","city":"Alexandria","region":"Alexandria","postal_code":"21500","country":"EG","subdivision_code":"EG-ALX","city_id":"27fb3146-4374-45a8-bcf2-dba41099bcd3","latitude":31.2001,"longitude":29.9187},"occupancy":{"max_guests":4,"bedrooms":2,"beds":3,"bathrooms":1},"base_rate":{"value":"1250.00","currency":"EGP"},"amenities":["wifi","air-conditioning","washing-machine"],"photos":[{"url":"https://images.example-partner.invalid/p/9001/1.jpg","position":0},{"url":"https://images.example-partner.invalid/p/9001/2.jpg","position":1}],"check_in_time":"15:00","check_out_time":"12:00","status":"listed"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"10fa5971-137c-49b3-a5d2-de25b9437d6f":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"The property was created or replaced.\n","content":{"application/json":{"schema":{"type":"object","title":"PropertyUpsertResponse","required":["provider_id","result","property_id","unit_id","listing_id","status","publishable","missing","unknown_amenities","photos_rejected"],"additionalProperties":false,"properties":{"provider_id":{"type":"string","description":"The identifier you addressed, echoed back so a queued write can be matched to its response.","isRequired":true,"uniqueKey":"provider_id","typeLabel":"string"},"result":{"type":"string","title":"WriteResult","description":"Whether this push created the property or replaced one you had already pushed.\nSee [`WriteResult`](/api-reference/enums/write-result).","enum":["created","updated"],"x-enum-descriptions":{"created":"There was nothing under that identifier; this call made it.","updated":"Something was already there under that identifier; this call replaced it."},"x-maat-internal-enum":{"name":"PartnerWriteResult","relation":"equals"},"isRequired":true,"uniqueKey":"result","typeLabel":"enum\u003cstring>"},"property_id":{"type":"string","format":"uuid","description":"Maat's own identifier for the property. **Always present**, unlike\n`listing_id`: the row exists from the moment this push commits, whether\nor not the property is publishable.\n\nIt is the handle every sub-resource write takes —\n`PUT /properties/{property_id}/address` and `…/amenities` — so a caller\nwho created a property by their own reference never has to go and look\nours up before editing it.\n","isRequired":true,"uniqueKey":"property_id","typeLabel":"string\u003cuuid>"},"unit_id":{"type":"string","format":"uuid","description":"Maat's identifier for the physical unit this push created or replaced.\n**Always present**, for the same reason.\n\nA property push writes exactly one unit today, and this is the handle\n`PATCH /units/{unit_id}` and `PUT /units/{unit_id}/house-rules` take.\n","isRequired":true,"uniqueKey":"unit_id","typeLabel":"string\u003cuuid>"},"listing_id":{"oneOf":[{"type":"string","format":"uuid","description":"Maat's listing identifier, once the property is complete enough to have\none. `null` while it is not — never a placeholder.\n\nDeliberately NOT unconditional like the two ids above, even though the\nrow exists just as early: a listing addresses something a **guest** can\nreach, and handing it back before the property is publishable would read\nas \"we are live\". The other two address our own inventory and carry no\nsuch claim.\n","isRequired":true,"uniqueKey":"listing_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Maat's listing identifier, once the property is complete enough to have\none. `null` while it is not — never a placeholder.\n\nDeliberately NOT unconditional like the two ids above, even though the\nrow exists just as early: a listing addresses something a **guest** can\nreach, and handing it back before the property is publishable would read\nas \"we are live\". The other two address our own inventory and carry no\nsuch claim.\n","isRequired":true,"uniqueKey":"listing_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"listing_id","typeLabel":"string\u003cuuid> | null"},"status":{"type":"string","title":"ListingStatus","description":"Whether the listing is on sale right now. A push that is missing something publication needs comes back `unlisted`.\nSee [`ListingStatus`](/api-reference/enums/listing-status).","enum":["listed","unlisted"],"x-enum-descriptions":{"listed":"On sale on Maat right now.","unlisted":"Not on sale — read `missing` to tell \"held back\" from \"taken off\"."},"x-maat-internal-enum":{"name":"PartnerPropertyStatus","relation":"equals"},"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"publishable":{"type":"boolean","description":"Whether the property can be shown to guests as it stands.","isRequired":true,"uniqueKey":"publishable","typeLabel":"boolean"},"missing":{"type":"array","description":"Machine-readable reasons `publishable` is false. Empty when it is true.\n\n`photos_processing` is not a deficiency — your images are being fetched\nand processed, and it clears on its own. It is separate from `photos`\nprecisely so you can tell \"wait\" from \"send us more\".\n\n`unlisted` restates your own `status`, and it is reported alongside any\nreal deficiency rather than instead of it, so you know whether the\nproperty is otherwise complete before you re-list it.\n\nSee [`MissingReason`](/api-reference/enums/missing-reason).\n","items":{"type":"string","title":"MissingReason","description":"Why a listing is not publishable. A closed vocabulary.","enum":["price","amenities","cover_photo","photos","photos_processing","unlisted"],"x-enum-descriptions":{"price":"No nightly price has been set.","amenities":"No amenity has been selected.","cover_photo":"No photo is marked as the cover.","photos":"Fewer photos than publication needs.","photos_processing":"Photos are still being processed — this one clears itself.","unlisted":"Nothing is missing; somebody took it off sale deliberately."},"x-maat-internal-enum":{"name":"PartnerPropertyMissingReason","relation":"equals"},"uniqueKey":"missing.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["cover_photo","photos_processing"],"isRequired":true,"uniqueKey":"missing","typeLabel":"enum\u003cstring>[]"},"unknown_amenities":{"type":"array","description":"Amenity slugs we do not recognise, echoed back rather than silently\ndropped. They are not linked to the property. One unmapped slug does not\nfail the push — an otherwise-good property should not be blocked while\nyou map your vocabulary onto ours.\n","items":{"type":"string","uniqueKey":"unknown_amenities.items.[INDEX]","typeLabel":"string"},"example":["wi-fi"],"isRequired":true,"uniqueKey":"unknown_amenities","typeLabel":"string[]"},"photos_rejected":{"type":"array","description":"Photo URLs that did not become photos. Empty when every one did.\n\n`missing: [\"photos\"]` on its own is not actionable across a\nthirty-photo push, so each failure names your own URL and a reason.\nThe reason vocabulary is deliberately coarse: a refused URL never says\nwhat the name resolved to.\n","items":{"type":"object","title":"PhotoRejection","required":["url","reason"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The URL exactly as you sent it.","isRequired":true,"uniqueKey":"photos_rejected.items.[INDEX].url","typeLabel":"string"},"reason":{"type":"string","title":"PhotoRejectionReason","enum":["url_refused","fetch_failed","unsupported_type","too_large","processing_failed","upload_missing"],"description":"See [`PhotoRejectionReason`](/api-reference/enums/photo-rejection-reason).","x-enum-descriptions":{"url_refused":"The address you gave could not be used at all.","fetch_failed":"The bytes could not be read from the address you gave.","unsupported_type":"The file is not one of the accepted image types.","too_large":"The file is bigger than the published ceiling.","processing_failed":"The bytes arrived but could not be turned into a published image.","upload_missing":"No photo reached us for the presigned slot in time. It can still move to `ready` within three days if the bytes did arrive."},"x-maat-internal-enum":{"name":"PartnerPhotoRejectionReason","relation":"equals"},"isRequired":true,"uniqueKey":"photos_rejected.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"photos_rejected.items.[INDEX]","typeLabel":"PhotoRejection · object"},"isRequired":true,"uniqueKey":"photos_rejected","typeLabel":"PhotoRejection · object[]"}},"uniqueKey":"","typeLabel":"PropertyUpsertResponse · object"},"example":{"provider_id":"my-prop-9001","result":"updated","property_id":"3c9d1f42-7b60-4a18-9e55-0d2a6f8c31b7","unit_id":"8e4b2a17-5c39-4d61-b0f2-7a9c3e51d804","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","status":"listed","publishable":true,"missing":[],"unknown_amenities":[],"photos_rejected":[]},"examples":{"Example":{"title":"Example","value":{"provider_id":"my-prop-9001","result":"updated","property_id":"3c9d1f42-7b60-4a18-9e55-0d2a6f8c31b7","unit_id":"8e4b2a17-5c39-4d61-b0f2-7a9c3e51d804","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","status":"listed","publishable":true,"missing":[],"unknown_amenities":[],"photos_rejected":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"4be8e861-65df-49f5-a01f-cab3f3524b69":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"The payload does not match this document. Nothing was written.","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/validation-failed","title":"Validation failed","status":400,"instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"validation_failed","errors":[{"field":"body.check_out","code":"custom"}]},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/validation-failed","title":"Validation failed","status":400,"instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"validation_failed","errors":[{"field":"body.check_out","code":"custom"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"1468b648-0269-4411-be3c-074adf91792a":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"No usable partner token. One answer covers a missing token, an expired one, a\nrevoked key and a human credential — telling them apart would report which\ncredentials exist.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/unauthorized","title":"Unauthorized","status":401,"detail":"A valid partner token is required.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"unauthorized"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/unauthorized","title":"Unauthorized","status":401,"detail":"A valid partner token is required.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"4a6fbcf7-7e5f-431e-a87c-8abbdd07b8d7":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"Authenticated, and not allowed. Two codes share this status — branch on `code`:\n\n- `workspace_scope_mismatch` — the token's environment does not match the\n workspace it addresses (a sandbox token against a production workspace, or the\n reverse; one answer also covers a workspace that does not resolve).\n- `insufficient_scope` — the key behind the token was not issued with the scope\n this operation requires (`x-maat-scope` on the operation). `detail` names the\n missing scope; ask whoever issued the key for one that carries it.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"examples":{"workspaceScopeMismatch":{"title":"workspaceScopeMismatch","summary":"The token's environment does not match the workspace","value":{"type":"https://developer.maatstays.com/errors/workspace-scope-mismatch","title":"Workspace scope mismatch","status":403,"detail":"This token is not valid for the requested workspace.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"workspace_scope_mismatch"}},"insufficientScope":{"title":"insufficientScope","summary":"The key lacks this operation's scope","value":{"type":"https://developer.maatstays.com/errors/insufficient-scope","title":"Insufficient scope","status":403,"detail":"This key was not issued with the `catalog:write` scope. Ask whoever issued it to issue a key that carries it.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"insufficient_scope"}}},"exampleType":"examples"}},"exampleType":"examples"},"4c593e23-7add-46ce-a7cf-bab449d051ab":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"`conflict` — the `provider_id` already names a property in your other environment\n(sandbox or live). **Nothing was written** in either. Push it under a different\n`provider_id`; retrying unchanged cannot help. It carries no `conflicts`.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/conflict","title":"Conflict","status":409,"detail":"This provider_id already names a property in your other environment (sandbox or live), so nothing was written here. Use a different provider_id in each environment.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"conflict"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/conflict","title":"Conflict","status":409,"detail":"This provider_id already names a property in your other environment (sandbox or live), so nothing was written here. Use a different provider_id in each environment.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"conflict"}}},"exampleType":"examples"}},"exampleType":"examples"},"b06b3e23-183b-41fc-a0d1-d645d4ab9961":{"description":"Too many requests for this API key. `Retry-After` gives the wait in seconds.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"},"example":2384},"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/rate-limited","title":"Too many requests","status":429,"detail":"Too many requests for this API key.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"rate_limited"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/rate-limited","title":"Too many requests","status":429,"detail":"Too many requests for this API key.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"rate_limited"}}},"exampleType":"examples"}},"exampleType":"examples"},"7a8f963e-81ed-4b08-a686-a4e24df5420e":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"Our fault. Retry an idempotent request.","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/internal-error","title":"Internal error","status":500,"detail":"The request could not be completed.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"internal_error"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/internal-error","title":"Internal error","status":500,"detail":"The request could not be completed.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"internal_error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"27c1ff0b-58c5-43d0-84ca-9d1f79d33330":{"partnerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"}}},"servers":{"bfd060a5-0f89-4901-9142-ddadbc088436":{"url":"https://maatstays.com/v1","description":"The one host this contract is published against. Whether a call lands on a sandbox or a production workspace is decided by the key you exchanged, never by the hostname."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"partnerAuth","name":"Authorization"}],"title":"partnerAuth"}]},"originalFileLocation":"openapi/openapi.yaml"},"subdomain":"maat-stays","siteName":"Maat Stays","title":"Create or replace a property - Maat Stays","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-06T09:44:11.513Z","originalFileLocation":"api-reference/properties/create-or-replace-a-property.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=\"Creates the property if we have not seen this provider_id from you before, and replaces it otherwise. Your provider_id is yours: it is unique within your integration and never across the platform. A provider_id belongs to the environment — sandbox or live — whose key first pushed it, and the two never share a property. The same provider_id pushed with a key from your other environment answers 409 conflict and nothing is written in either. Use a different provider_id in each environment. Replace, not merge. The payload you send is the whole property. An amenity you omit is removed; a photo you omit is dropped. This mirrors how listings are edited everywhere else on Maat, and it is the only version of \u0026quot;update\u0026quot; in which \u0026quot;remove this amenity\u0026quot; is expressible. address may carry subdivision_code and city_id from GET /locations/{country_code}; with a city_id, Maat stores that city\u0026#x27;s English city and region. Without them, Maat matches the city and region you sent and keeps your text. The rules and refusals are the address write\u0026#x27;s — see PUT /properties/{property_id}/address, with errors[].field under body.address. A property that cannot yet be sold — no price, no photos, no amenities — is accepted and held in an incomplete state rather than published at a placeholder price. publishable and missing tell you exactly what it is waiting for, and listing_id stays null until it can actually be shown to a guest. property_id and unit_id come back on every push, publishable or not, and they are the handles the targeted edits take — the address, the amenity set, the unit\u0026#x27;s occupancy and its house rules. Store them beside your own provider_id and you never have to look one up. Photos are fetched asynchronously, so the FIRST push of a complete property comes back publishable: false with photos_processing. That is not a failure and there is nothing to do: we fetch each URL, process it and publish the property on its own. Anything we could not turn into a photo is named in photos_rejected. Sending the same URL again is free — an unchanged URL is never re-fetched, so a nightly catalogue sync costs nothing for the photos that did not change. Change the bytes behind a URL and publish it at a new URL. Send only the address fields listed here. Delivery detail (building, floor, apartment number, directions) is not part of this contract in either direction. A sandbox token creates real properties too, excluded from every public surface — search, the map, the guest feed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create or replace a property - Maat Stays\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates the property if we have not seen this provider_id from you before, and replaces it otherwise. Your provider_id is yours: it is unique within your integration and never across the platform. A provider_id belongs to the environment — sandbox or live — whose key first pushed it, and the two never share a property. The same provider_id pushed with a key from your other environment answers 409 conflict and nothing is written in either. Use a different provider_id in each environment. Replace, not merge. The payload you send is the whole property. An amenity you omit is removed; a photo you omit is dropped. This mirrors how listings are edited everywhere else on Maat, and it is the only version of \u0026quot;update\u0026quot; in which \u0026quot;remove this amenity\u0026quot; is expressible. address may carry subdivision_code and city_id from GET /locations/{country_code}; with a city_id, Maat stores that city\u0026#x27;s English city and region. Without them, Maat matches the city and region you sent and keeps your text. The rules and refusals are the address write\u0026#x27;s — see PUT /properties/{property_id}/address, with errors[].field under body.address. A property that cannot yet be sold — no price, no photos, no amenities — is accepted and held in an incomplete state rather than published at a placeholder price. publishable and missing tell you exactly what it is waiting for, and listing_id stays null until it can actually be shown to a guest. property_id and unit_id come back on every push, publishable or not, and they are the handles the targeted edits take — the address, the amenity set, the unit\u0026#x27;s occupancy and its house rules. Store them beside your own provider_id and you never have to look one up. Photos are fetched asynchronously, so the FIRST push of a complete property comes back publishable: false with photos_processing. That is not a failure and there is nothing to do: we fetch each URL, process it and publish the property on its own. Anything we could not turn into a photo is named in photos_rejected. Sending the same URL again is free — an unchanged URL is never re-fetched, so a nightly catalogue sync costs nothing for the photos that did not change. Change the bytes behind a URL and publish it at a new URL. Send only the address fields listed here. Delivery detail (building, floor, apartment number, directions) is not part of this contract in either direction. A sandbox token creates real properties too, excluded from every public surface — search, the map, the guest feed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Maat Stays\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Properties\u0026amp;title=Create+or+replace+a+property\u0026amp;description=Creates+the+property+if+we+have+not+seen+this+%60provider_id%60+from+you+before%2C+and%0Areplaces+it+otherwise.+Your+%60provider_id%60+is+yours%3A+it+is+unique+within+your%0Ain\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=16a327499e6248a9c649853b7046e85042318f7e824a22fdad76d2b6459e3d49\">\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 or replace a property - Maat Stays\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates the property if we have not seen this provider_id from you before, and replaces it otherwise. Your provider_id is yours: it is unique within your integration and never across the platform. A provider_id belongs to the environment — sandbox or live — whose key first pushed it, and the two never share a property. The same provider_id pushed with a key from your other environment answers 409 conflict and nothing is written in either. Use a different provider_id in each environment. Replace, not merge. The payload you send is the whole property. An amenity you omit is removed; a photo you omit is dropped. This mirrors how listings are edited everywhere else on Maat, and it is the only version of \u0026quot;update\u0026quot; in which \u0026quot;remove this amenity\u0026quot; is expressible. address may carry subdivision_code and city_id from GET /locations/{country_code}; with a city_id, Maat stores that city\u0026#x27;s English city and region. Without them, Maat matches the city and region you sent and keeps your text. The rules and refusals are the address write\u0026#x27;s — see PUT /properties/{property_id}/address, with errors[].field under body.address. A property that cannot yet be sold — no price, no photos, no amenities — is accepted and held in an incomplete state rather than published at a placeholder price. publishable and missing tell you exactly what it is waiting for, and listing_id stays null until it can actually be shown to a guest. property_id and unit_id come back on every push, publishable or not, and they are the handles the targeted edits take — the address, the amenity set, the unit\u0026#x27;s occupancy and its house rules. Store them beside your own provider_id and you never have to look one up. Photos are fetched asynchronously, so the FIRST push of a complete property comes back publishable: false with photos_processing. That is not a failure and there is nothing to do: we fetch each URL, process it and publish the property on its own. Anything we could not turn into a photo is named in photos_rejected. Sending the same URL again is free — an unchanged URL is never re-fetched, so a nightly catalogue sync costs nothing for the photos that did not change. Change the bytes behind a URL and publish it at a new URL. Send only the address fields listed here. Delivery detail (building, floor, apartment number, directions) is not part of this contract in either direction. A sandbox token creates real properties too, excluded from every public surface — search, the map, the guest feed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Properties\u0026amp;title=Create+or+replace+a+property\u0026amp;description=Creates+the+property+if+we+have+not+seen+this+%60provider_id%60+from+you+before%2C+and%0Areplaces+it+otherwise.+Your+%60provider_id%60+is+yours%3A+it+is+unique+within+your%0Ain\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=16a327499e6248a9c649853b7046e85042318f7e824a22fdad76d2b6459e3d49\">\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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c5142a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/properties/create-or-replace-a-property.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.maatstays.com/#organization\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.maatstays.com#website\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property#webpage\",\"url\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property\",\"name\":\"Create or replace a property\",\"description\":\"Creates the property if we have not seen this provider_id from you before, and replaces it otherwise. Your provider_id is yours: it is unique within your integration and never across the platform. A provider_id belongs to the environment — sandbox or live — whose key first pushed it, and the two never share a property. The same provider_id pushed with a key from your other environment answers 409 conflict and nothing is written in either. Use a different provider_id in each environment. Replace, not merge. The payload you send is the whole property. An amenity you omit is removed; a photo you omit is dropped. This mirrors how listings are edited everywhere else on Maat, and it is the only version of \\\"update\\\" in which \\\"remove this amenity\\\" is expressible. address may carry subdivision_code and city_id from GET /locations/{country_code}; with a city_id, Maat stores that city's English city and region. Without them, Maat matches the city and region you sent and keeps your text. The rules and refusals are the address write's — see PUT /properties/{property_id}/address, with errors[].field under body.address. A property that cannot yet be sold — no price, no photos, no amenities — is accepted and held in an incomplete state rather than published at a placeholder price. publishable and missing tell you exactly what it is waiting for, and listing_id stays null until it can actually be shown to a guest. property_id and unit_id come back on every push, publishable or not, and they are the handles the targeted edits take — the address, the amenity set, the unit's occupancy and its house rules. Store them beside your own provider_id and you never have to look one up. Photos are fetched asynchronously, so the FIRST push of a complete property comes back publishable: false with photos_processing. That is not a failure and there is nothing to do: we fetch each URL, process it and publish the property on its own. Anything we could not turn into a photo is named in photos_rejected. Sending the same URL again is free — an unchanged URL is never re-fetched, so a nightly catalogue sync costs nothing for the photos that did not change. Change the bytes behind a URL and publish it at a new URL. Send only the address fields listed here. Delivery detail (building, floor, apartment number, directions) is not part of this contract in either direction. A sandbox token creates real properties too, excluded from every public surface — search, the map, the guest feed.\",\"dateModified\":\"2026-12-06T09:44:11.513Z\",\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://developer.maatstays.com/api-reference/authentication/exchange-your-api-key-for-a-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create or replace a property\",\"item\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property#apireference\",\"headline\":\"Create or replace a property\",\"name\":\"Create or replace a property\",\"description\":\"Creates the property if we have not seen this provider_id from you before, and replaces it otherwise. Your provider_id is yours: it is unique within your integration and never across the platform. A provider_id belongs to the environment — sandbox or live — whose key first pushed it, and the two never share a property. The same provider_id pushed with a key from your other environment answers 409 conflict and nothing is written in either. Use a different provider_id in each environment. Replace, not merge. The payload you send is the whole property. An amenity you omit is removed; a photo you omit is dropped. This mirrors how listings are edited everywhere else on Maat, and it is the only version of \\\"update\\\" in which \\\"remove this amenity\\\" is expressible. address may carry subdivision_code and city_id from GET /locations/{country_code}; with a city_id, Maat stores that city's English city and region. Without them, Maat matches the city and region you sent and keeps your text. The rules and refusals are the address write's — see PUT /properties/{property_id}/address, with errors[].field under body.address. A property that cannot yet be sold — no price, no photos, no amenities — is accepted and held in an incomplete state rather than published at a placeholder price. publishable and missing tell you exactly what it is waiting for, and listing_id stays null until it can actually be shown to a guest. property_id and unit_id come back on every push, publishable or not, and they are the handles the targeted edits take — the address, the amenity set, the unit's occupancy and its house rules. Store them beside your own provider_id and you never have to look one up. Photos are fetched asynchronously, so the FIRST push of a complete property comes back publishable: false with photos_processing. That is not a failure and there is nothing to do: we fetch each URL, process it and publish the property on its own. Anything we could not turn into a photo is named in photos_rejected. Sending the same URL again is free — an unchanged URL is never re-fetched, so a nightly catalogue sync costs nothing for the photos that did not change. Change the bytes behind a URL and publish it at a new URL. Send only the address fields listed here. Delivery detail (building, floor, apartment number, directions) is not part of this contract in either direction. A sandbox token creates real properties too, excluded from every public surface — search, the map, the guest feed.\",\"url\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property\",\"mainEntityOfPage\":{\"@id\":\"https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property#webpage\"},\"dateModified\":\"2026-12-06T09:44:11.513Z\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Maat Stays\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Maat Stays\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/properties/create-or-replace-a-property.md","siteName":"Maat Stays","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/index"},{"title":"Get access","href":"/guides/developer-access"},{"title":"Authentication","href":"/guides/authentication"},{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Sandbox","href":"/guides/sandbox"},{"title":"Scopes","href":"/guides/scopes"}]},{"group":"Guides","pages":[{"title":"Push a property","href":"/guides/properties"},{"title":"The resource model","href":"/guides/property-lifecycle"},{"title":"Photos","href":"/guides/photos"},{"title":"Calendar blocks","href":"/guides/calendar-blocks"},{"title":"Pricing rules and rates","href":"/guides/pricing-and-rules"},{"title":"Bookings and reviews","href":"/guides/bookings"},{"title":"Booking notifications lifecycle","href":"/guides/booking-lifecycle"},{"title":"Finance","href":"/guides/finance"},{"title":"Webhooks","href":"/guides/webhooks"},{"title":"Webhook signatures","href":"/guides/webhook-signatures"},{"title":"Webhook delivery","href":"/guides/webhook-delivery"}]},{"group":"Reference","pages":[{"title":"Errors","href":"/guides/errors"},{"title":"Rate limits","href":"/guides/rate-limits"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Versioning and deprecation","href":"/guides/versioning"},{"title":"Glossary","href":"/guides/glossary"},{"title":"The data boundary","href":"/guides/data-boundary"},{"title":"Managing your keys","href":"/guides/managing-keys"},{"title":"Connect your AI assistant","href":"/guides/connect-your-ai-assistant"}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/guides/changelog"}]},{"group":"API Reference","pages":[{"group":"Authentication","pages":[{"title":"Exchange your API key for a token","description":"Swap your long-lived API key (`maat_partner_…`) for a short-lived bearer token\nscoped to exactly one workspace and one environment. Send the token on every\nother call in this document.\n\nTokens live for fifteen minutes by default and never for more than an hour. Mint\none per batch of work, not one per request, and re-exchange on any `401`.\n\n**The request body is empty, and that is the control rather than a formality.**\nThe workspace, the environment and the scopes on the token all come from the key\nyou presented. The endpoint declares no fields at all, and anything you send is\ndeleted before the handler runs — a request carrying a `workspace_id` or a\n`sandbox` flag mints exactly the token an empty request would. There is nothing\nyou could send that would change what the token can reach.\n\n**Works against both kinds of workspace** — sandbox and production alike. It is\nhow you authenticate, so it answers before anything else does. Read `sandbox` in\nthe response to find out which kind of workspace your key was issued for; it is\nthe only place that answer is published.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /token","href":"/api-reference/authentication/exchange-your-api-key-for-a-token"}]},{"group":"Properties","pages":[{"title":"Create or replace a property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{provider_id}","href":"/api-reference/properties/create-or-replace-a-property"},{"title":"List your properties","description":"One page of your workspace's properties, newest first.\n\nThat is the whole workspace, including properties created in the Maat app that\nhave no `provider_id` at all.\n\nEach entry carries its units and their listings, so a catalogue sync is one walk\nrather than one call per property. `publishable` and `missing` say whether each\none satisfies the platform's validity gate — a price above zero, at least one\namenity, a cover photo and a minimum photo count.\n\nPaged with `page` and `page_size`; keep asking while `has_more` is `true`. There\nis no total.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties","href":"/api-reference/properties/list-your-properties"},{"title":"Read one property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/by-id/{property_id}","href":"/api-reference/properties/read-one-property"},{"title":"Replace a property's address","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/address","href":"/api-reference/properties/replace-a-propertys-address"},{"title":"Replace a property's amenities","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/amenities","href":"/api-reference/properties/replace-a-propertys-amenities"}]},{"group":"Units","pages":[{"title":"Read one unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /units/{unit_id}","href":"/api-reference/units/read-one-unit"},{"title":"Change what a unit is","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /units/{unit_id}","href":"/api-reference/units/change-what-a-unit-is"},{"title":"Replace a unit's house-rule answers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /units/{unit_id}/house-rules","href":"/api-reference/units/replace-a-units-house-rule-answers"}]},{"group":"Listings","pages":[{"title":"Read one listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}","href":"/api-reference/listings/read-one-listing"},{"title":"Change a listing, and whether it is on sale","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /listings/{listing_id}","href":"/api-reference/listings/change-a-listing-and-whether-it-is-on-sale"},{"title":"Replace a listing's price","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing","href":"/api-reference/listings/replace-a-listings-price"},{"title":"A listing went on sale","openapi":"openapi/openapi.yaml webhook listing.published","href":"/api-reference/webhooks/listing.published"},{"title":"A listing came off sale","openapi":"openapi/openapi.yaml webhook listing.unlisted","href":"/api-reference/webhooks/listing.unlisted"}]},{"group":"Catalog","pages":[{"title":"Every property type","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/property-types","href":"/api-reference/catalog/every-property-type"},{"title":"Every amenity","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/amenities","href":"/api-reference/catalog/every-amenity"},{"title":"Every house rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/house-rules","href":"/api-reference/catalog/every-house-rule"},{"title":"Every subdivision and city of a country","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /locations/{country_code}","href":"/api-reference/catalog/every-subdivision-and-city-of-a-country"}]},{"group":"Photos","pages":[{"title":"List a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/{property_id}/photos","href":"/api-reference/photos/list-a-propertys-photos"},{"title":"Get upload forms for new photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /properties/{property_id}/photos/presign","href":"/api-reference/photos/get-upload-forms-for-new-photos"},{"title":"Arrange a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/photos/order","href":"/api-reference/photos/arrange-a-propertys-photos"},{"title":"Remove a photo","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /properties/{property_id}/photos/{photo_id}","href":"/api-reference/photos/remove-a-photo"}]},{"group":"Calendar","pages":[{"title":"Read availability, night by night","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/calendar","href":"/api-reference/calendar/read-availability-night-by-night"},{"title":"What is held right now","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /calendar/holds","href":"/api-reference/calendar/what-is-held-right-now"},{"title":"Close nights with a host block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks","href":"/api-reference/calendar/close-nights-with-a-host-block"},{"title":"Release host blocks by date","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks/release","href":"/api-reference/calendar/release-host-blocks-by-date"},{"title":"Nights went off sale while a guest pays","openapi":"openapi/openapi.yaml webhook calendar.held","href":"/api-reference/webhooks/calendar.held"},{"title":"A hold ended — the nights came back, or were sold","openapi":"openapi/openapi.yaml webhook calendar.released","href":"/api-reference/webhooks/calendar.released"}]},{"group":"Blocks","pages":[{"title":"Hold a range of nights with a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /blocks/{external_uid}","href":"/api-reference/blocks/hold-a-range-of-nights-with-a-partner-block"},{"title":"Release a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /blocks/{external_uid}","href":"/api-reference/blocks/release-a-partner-block"},{"title":"Read your partner blocks back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blocks","href":"/api-reference/blocks/read-your-partner-blocks-back"}]},{"group":"Pricing","pages":[{"title":"The quick actions for a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/quick-actions","href":"/api-reference/pricing/the-quick-actions-for-a-listing"},{"title":"Switch a quick action on, or move its value","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-on-or-move-its-value"},{"title":"Switch a quick action off","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-off"},{"title":"Every rule attached to a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rules","href":"/api-reference/pricing/every-rule-attached-to-a-listing"},{"title":"Read back the rates you sent","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rates","href":"/api-reference/pricing/read-back-the-rates-you-sent"},{"title":"Supply nightly rates for a date range","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/rates","href":"/api-reference/pricing/supply-nightly-rates-for-a-date-range"},{"title":"Who prices this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/who-prices-this-listing"},{"title":"Become the listing's pricing source","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/become-the-listings-pricing-source"},{"title":"Stop pricing this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/stop-pricing-this-listing"},{"title":"Who prices a listing changed","openapi":"openapi/openapi.yaml webhook pricing.mode_changed","href":"/api-reference/webhooks/pricing.mode_changed"},{"title":"A listing you price changed currency","openapi":"openapi/openapi.yaml webhook pricing.currency_changed","href":"/api-reference/webhooks/pricing.currency_changed"}]},{"group":"Bookings","pages":[{"title":"List bookings on your inventory","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings","href":"/api-reference/bookings/list-bookings-on-your-inventory"},{"title":"Read one booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings/{booking_reference}","href":"/api-reference/bookings/read-one-booking"},{"title":"Confirm a pending booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/confirm","href":"/api-reference/bookings/confirm-a-pending-booking"},{"title":"Reject a pending booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/reject","href":"/api-reference/bookings/reject-a-pending-booking"}]},{"group":"Sandbox","pages":[{"title":"Create a booking in your sandbox","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sandbox/bookings","href":"/api-reference/sandbox/create-a-booking-in-your-sandbox"}]},{"group":"Reviews","pages":[{"title":"Read a listing's reviews","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/reviews","href":"/api-reference/reviews/read-a-listings-reviews"},{"title":"Reply to a review, as the workspace","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /reviews/{review_id}/reply","href":"/api-reference/reviews/reply-to-a-review-as-the-workspace"},{"title":"A guest published a review","openapi":"openapi/openapi.yaml webhook review.created","href":"/api-reference/webhooks/review.created"}]},{"group":"Finance","pages":[{"title":"Read your balance, per currency","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/balance","href":"/api-reference/finance/read-your-balance-per-currency"},{"title":"List what each payment earned you","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings","href":"/api-reference/finance/list-what-each-payment-earned-you"},{"title":"Total your earnings by day, week or month","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings/summary","href":"/api-reference/finance/total-your-earnings-by-day-week-or-month"},{"title":"List your payout requests","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts","href":"/api-reference/finance/list-your-payout-requests"},{"title":"See what is due to be released","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts/upcoming","href":"/api-reference/finance/see-what-is-due-to-be-released"},{"title":"List what you owe","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/penalties","href":"/api-reference/finance/list-what-you-owe"}]},{"group":"Webhooks","pages":[{"title":"Read your endpoint back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/endpoint","href":"/api-reference/webhooks/read-your-endpoint-back"},{"title":"Register where deliveries go","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /webhooks/endpoint","href":"/api-reference/webhooks/register-where-deliveries-go"},{"title":"Delete your endpoint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /webhooks/endpoint","href":"/api-reference/webhooks/delete-your-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send yourself a test event","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/test","href":"/api-reference/webhooks/send-yourself-a-test-event"},{"title":"List what we have tried to deliver","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries","href":"/api-reference/webhooks/list-what-we-have-tried-to-deliver"},{"title":"Read one delivery, body included","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries/{delivery_id}","href":"/api-reference/webhooks/read-one-delivery-body-included"},{"title":"Put a delivery back in the queue","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/deliveries/{delivery_id}/redrive","href":"/api-reference/webhooks/put-a-delivery-back-in-the-queue"}]},{"group":"Booking notifications","pages":[{"title":"Prove the endpoint is yours","openapi":"openapi/openapi.yaml webhook endpoint.challenge","href":"/api-reference/webhooks/endpoint.challenge"},{"title":"A guest booked one of your properties","openapi":"openapi/openapi.yaml webhook booking.confirmed","href":"/api-reference/webhooks/booking.confirmed"},{"title":"A booking on one of your properties was cancelled","openapi":"openapi/openapi.yaml webhook booking.cancelled","href":"/api-reference/webhooks/booking.cancelled"},{"title":"A guest paid, and the host has to answer","openapi":"openapi/openapi.yaml webhook booking.requested","href":"/api-reference/webhooks/booking.requested"},{"title":"A pending request was declined","openapi":"openapi/openapi.yaml webhook booking.rejected","href":"/api-reference/webhooks/booking.rejected"},{"title":"The guest confirmed they have arrived","openapi":"openapi/openapi.yaml webhook booking.checked_in","href":"/api-reference/webhooks/booking.checked_in"},{"title":"The guest confirmed they have left","openapi":"openapi/openapi.yaml webhook booking.checked_out","href":"/api-reference/webhooks/booking.checked_out"},{"title":"A modification was applied and the dates moved","openapi":"openapi/openapi.yaml webhook booking.modified","href":"/api-reference/webhooks/booking.modified"}]},{"group":"Enums","pages":[{"title":"BlockReason","href":"/api-reference/enums/block-reason"},{"title":"BlockedBy","href":"/api-reference/enums/blocked-by"},{"title":"BookingEventType","href":"/api-reference/enums/booking-event-type"},{"title":"BookingStatus","href":"/api-reference/enums/booking-status"},{"title":"CalendarNightStatus","href":"/api-reference/enums/calendar-night-status"},{"title":"CancellationInitiator","href":"/api-reference/enums/cancellation-initiator"},{"title":"EarningStatus","href":"/api-reference/enums/earning-status"},{"title":"EarningsGranularity","href":"/api-reference/enums/earnings-granularity"},{"title":"HoldReleaseReason","href":"/api-reference/enums/hold-release-reason"},{"title":"HostBlockCategory","href":"/api-reference/enums/host-block-category"},{"title":"HouseRuleKind","href":"/api-reference/enums/house-rule-kind"},{"title":"InventoryKind","href":"/api-reference/enums/inventory-kind"},{"title":"ListingPublicationEventType","href":"/api-reference/enums/listing-publication-event-type"},{"title":"ListingPublicationStatus","href":"/api-reference/enums/listing-publication-status"},{"title":"ListingRuleSource","href":"/api-reference/enums/listing-rule-source"},{"title":"ListingRuleWarning","href":"/api-reference/enums/listing-rule-warning"},{"title":"ListingStatus","href":"/api-reference/enums/listing-status"},{"title":"MissingReason","href":"/api-reference/enums/missing-reason"},{"title":"PayoutStatus","href":"/api-reference/enums/payout-status"},{"title":"PenaltyReason","href":"/api-reference/enums/penalty-reason"},{"title":"PenaltyStatus","href":"/api-reference/enums/penalty-status"},{"title":"PhotoContentType","href":"/api-reference/enums/photo-content-type"},{"title":"PhotoRejectionReason","href":"/api-reference/enums/photo-rejection-reason"},{"title":"PhotoState","href":"/api-reference/enums/photo-state"},{"title":"PricingModeTakeWarning","href":"/api-reference/enums/pricing-mode-take-warning"},{"title":"PricingModeValue","href":"/api-reference/enums/pricing-mode-value"},{"title":"ProblemCode","href":"/api-reference/enums/problem-code"},{"title":"QuickActionFeeBasis","href":"/api-reference/enums/quick-action-fee-basis"},{"title":"QuickActionParamKind","href":"/api-reference/enums/quick-action-param-kind"},{"title":"QuickActionTemplateKey","href":"/api-reference/enums/quick-action-template-key"},{"title":"QuickActionUnavailableReason","href":"/api-reference/enums/quick-action-unavailable-reason"},{"title":"QuickActionWarning","href":"/api-reference/enums/quick-action-warning"},{"title":"RuleFamily","href":"/api-reference/enums/rule-family"},{"title":"SandboxBookingStatus","href":"/api-reference/enums/sandbox-booking-status"},{"title":"UnitType","href":"/api-reference/enums/unit-type"},{"title":"ValidationErrorCode","href":"/api-reference/enums/validation-error-code"},{"title":"WebhookDeliveryStatus","href":"/api-reference/enums/webhook-delivery-status"},{"title":"WebhookEndpointStatus","href":"/api-reference/enums/webhook-endpoint-status"},{"title":"WebhookEventType","href":"/api-reference/enums/webhook-event-type"},{"title":"WebhookPayloadState","href":"/api-reference/enums/webhook-payload-state"},{"title":"WriteResult","href":"/api-reference/enums/write-result"}]}]}]},"basePath":"","title":"Create or replace a property - Maat Stays","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}