# Overview

The Distribution Partner API is a single REST contract for distributing inventory. One integration covers the whole lifecycle for every property type — hotels, vacation rentals, villas, and apartments — with no per-property-type branching:

```
content  →  search  →  prebook  →  book  →  (poll)  →  cancel
```

* **Content** — ingest and cache property catalogue: descriptions, photos, room types, geo, policies. Delta-synced.
* **Search** — real-time availability, rates, and bundled multi-room allocations for requested dates and occupancy.
* **Prebook** — revalidate a chosen rate and lock its price + cancellation policy behind a short-lived token.
* **Book** — finalize the reservation idempotently.
* **Cancel** — quote the penalty, then cancel.

## Base URL

```
https://ari.console.adrasis.com/api/v1
```

All field names are `snake_case`, all dates are ISO 8601, all currencies are ISO 4217, and every resource is addressed by its opaque `public_id`.

## Where to start

1. [Getting started](/developer/getting-started.md) — obtain credentials and make your first authenticated call.
2. [Authentication](/developer/authentication.md) — the OAuth 2.0 client-credentials flow.
3. [Property content](/developer/property-content.md) — build and refresh your catalogue.
4. [The booking flow](/developer/booking-flow.md) — search → prebook → book → cancel.
5. [API reference](/developer/api-reference.md) — the full interactive specification.

Building an AI agent? See [AI agent integration (MCP)](/developer/ai-agents-mcp.md). The published site also serves an LLM-readable index at `/llms.txt`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adrasis.gitbook.io/developer/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
