setBookings creates a new booking or modifies an existing one.
Authentication, the request format and sample data are the same for all JSON methods. See JSON API Methods.
For how far back you can import bookings, see setBookings. You can cancel bookings through the API, but not delete them.
Note: API V1 is deprecated and won't be developed further. For new projects, use API V2.