> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://allianz.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://allianz.ferndocs.com/_mcp/server.

# Overview

An integration with Allianz Partner Services uses two web services:

1. **Quote (Core Optimizations).** Send a quote request with the booking details (currency, booking path, language, travelers, total trip cost) and the itinerary (dates, origin and destination). Allianz returns one or more optimized offers, including product, pricing and marketing content as HTML, which you show to the customer.
2. **Purchase (Send Purchase).** If the customer buys the insurance, send their purchase details. Allianz runs the purchase, notifies the customer, and returns a confirmation with a billing status and policy numbers.

After you show an offer, report what the customer did (accepted, declined, and so on) with the **Decisions** endpoint so offers can be optimized.

#### [Quickstart](/quickstart)

Request a quote and report a decision with the TypeScript or Python SDK.

#### [API Reference](/api-reference)

Every Core Optimizations and Send Purchase endpoint, with SDK snippets.

## SDKs

**`TypeScript`**

```bash title="TypeScript"
npm install allianz-partner-services
```

**`Python`**

```bash title="Python"
pip install allianz-partner-services
```