Staylah

Reference

Integration checklist

The seven steps, in order.

  1. GET /ping — key works, and check server_time against your clock.
  2. GET /whoami — confirm your scopes and that mapped_properties is not 0.
  3. GET /mapping/hotels — get your hotel codes. Never use a Staylah id. Needs content.read, which the push preset does not include — ask for it.
  4. GET /mapping/hotels/{code} — get room type and rate plan codes plus occupancy bounds.
  5. Pull: availability/searchavailability/ratesbookings/quotePOST /bookings with a partner_reference you can reproduce on retry.
  6. Push: PUT /ariGET /ari/batches/{id} to confirm what applied; deliver reservations with both net_amount and sell_amount.
  7. Handle 429 with Retry-After, and branch on error.code — never on error.message.