STAAH Partner API
Read and update availability, rates and restrictions on a STAAH property via the Third Party Partner API. Thin passthrough — not yet wired to PMS inventory or rates.
📄️ Read availability, rates and restrictions
Reads STAAH's current values per room type and date. At most 14 days including startDate; omitting endDate reads startDate alone. Only the requested fields are returned — a field left out of `types` is absent from the response.
📄️ Update availability, rates and restrictions
Sends a partial update: only the fields present on a date are changed, and STAAH skips values equal to the stored ones. Every date in one request must fall inside the same 14-day window, and a (roomId, date) pair must not repeat.
📄️ Verify STAAH partner-API credentials and IP approval
Mints a fresh access token and discards it. A 400 means the partner API rejected the credentials (422 upstream). A 502 means the call did not get a usable answer, and the `message` names the layer that refused: the partner API itself, STAAH's CDN (the egress IP is not approved on the property's partner-API page, or the partner API is not enabled for it), or our own egress proxy.