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 502 here means either the credentials are wrong (422 upstream) or this host's IP is not on the property's approved list (403 upstream) — the upstream body says which.