API V2.0: Difference between revisions

Jump to navigation Jump to search
Line 12: Line 12:


= Scopes =
= Scopes =
Each category of API endpoint (except /authentication) requires the corresponding scope to access.
Each category of API endpoint (except /authentication) requires a corresponding scope to access.
 
bookings
bookings-personal
bookings-financial
inventory
properties
accounts
channel
 


Some categories have additional scopes that allow access to personal or financial information. For example, the "bookings" scope would grant access to a booking's basic information such as the check-in and checkout dates. To access personal information such as the name of a guest, the "bookings-personal" scope would be required. Similarly, to access the invoice of a bookings, the "bookings-financial" scope would be required.
Some categories have additional scopes that allow access to personal or financial information. For example, the "bookings" scope would grant access to a booking's basic information such as the check-in and checkout dates. To access personal information such as the name of a guest, the "bookings-personal" scope would be required. Similarly, to access the invoice of a bookings, the "bookings-financial" scope would be required.