Hotel API code examples
This section provides code examples that show how to use the resources available in the Hotel API.
- Get, list, and update subaccounts: Subaccounts code example
- Get, list, add, and update hotel groups: Hotel group code example
- Get, list, update, and associate hotels: Hotel code example
- Request and download a Hotel Price Ads Performance report: Reporting code example
- Send multiple requests in a batch: Batch processing code example
For a simple example that shows how to get an OAuth access and refresh token, see Code grant flow code example.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för