Reference
Integration checklist
The seven steps, in order.
GET /ping— key works, and checkserver_timeagainst your clock.GET /whoami— confirm your scopes and thatmapped_propertiesis not 0.GET /mapping/hotels— get your hotel codes. Never use a Staylah id. Needscontent.read, which the push preset does not include — ask for it.GET /mapping/hotels/{code}— get room type and rate plan codes plus occupancy bounds.- Pull:
availability/search→availability/rates→bookings/quote→POST /bookingswith apartner_referenceyou can reproduce on retry. - Push:
PUT /ari→GET /ari/batches/{id}to confirm what applied; deliver reservations with bothnet_amountandsell_amount. - Handle
429withRetry-After, and branch onerror.code— never onerror.message.
