API V2.0: Difference between revisions

Jump to navigation Jump to search
Line 84: Line 84:
Each category of API endpoint (except /authentication) requires a corresponding scope to access.
Each category of API endpoint (except /authentication) requires a corresponding scope to access.


  bookings
== bookings ==
  bookings-personal
The '''bookings''' scope provides access to basic information for
  bookings-financial
  GET /bookings
  inventory
  POST /bookings
  properties
 
  accounts
== bookings-personal ==
  channel
The '''bookings-personal''' scope provides access to personal information (in addition to the basic information granted by the ''bookings'' scope) for
GET /bookings
  POST /bookings
GET ​/bookings​/messages
POST ​/bookings​/messages
PATCH ​/bookings​/messages
 
== bookings-financial ==
The '''bookings-financial''' scope provides access to financial information (in addition to the basic information granted by the ''bookings'' scope) for
  GET /bookings
POST /bookings
 
== inventory ==
The '''inventory''' scope provides access to
GET ​/inventory​/offers
GET ​/inventory​/availability
GET ​/inventory​/calendar
POST ​/inventory​/calendar
 
== properties ==
The '''properties''' scope provides access to
  GET /properties
  POST /properties
 
== accounts ==
The '''account''' scope provides access to
  GET /accounts
POST /accounts