bookings

Trigger Booking Sync Endpoint

Queue a reservation import for this tenant.

MANAGE_SETTINGS, not the page's VIEW_REPORTS: this reaches out to the customer's provider account, so it is an admin action rather than something every viewer of /bookings can fire.

Returns immediately — progress is read from /bookings/sync-state, whose backfill_started_at/backfill_completed_at/last_error the job stamps per property.

post/api/v1/bookings/sync

Request body

since_months1 | 3 | 12 | 24 nullable

Response

Successful Response

status'enqueued' | 'already_running' required
job_idstring nullable

Changes

Changed in 1 of the 28 revisions of this API.2

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 28 revisions, 1 has no diff computed.