Skip to main content
This guide walks you through your first call to the Quotation API. You will set up OAuth 1.0 signing, send a request to the Stay quotation endpoint, and inspect the response.
No credentials yet? Import the API collections and run any request against the mock environment straight away, with no credentials. Add your OAuth 1.0 credentials when you are ready to call the live API.

Prerequisites

Get the following from D-EDGE before starting:
  • OAuth 1.0 credentials: consumer key, consumer secret, token key, and token secret.
  • API base URL: the base URL for your environment.
  • Hotel ID and Group ID: the hotel you want to query.
All are delivered during the build step of your integration journey, after the partnership agreement.
1

Install an OAuth 1.0 library

Use a battle-tested library to handle the signing. Skip this step if you only use cURL.
2

Make your first call

Send a POST to the Stay quotation endpoint with a minimal request body. The exact field requirements are documented in the Reference.
3

Inspect the response

A successful response returns 200 OK with a JSON object grouped by rate plan, then by hotel, then by entity. Each entity is one room and rate combination, with availability and pricing for the requested stay.
See the response schema for the full structure.

Common issues

Next steps

Reference

Endpoint specifications, parameters, and response schemas.

Use cases

Showcase every bookable offer for a chosen stay.

Best practices

Patterns to build responsibly and run reliably at scale.