> This page is for API Reference.

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

# OTA Channel Manager Order Processed

POST 

Event `ota_cm_order_processed`. Triggered when an async-submitted order has settled to a
terminal state (`Issued`, `Draft`, or `Error`). Your endpoint will receive this POST request.

Subscribing to this webhook lets partners avoid polling `getOrder`: receive the event, then call
`getOrder` once with the carried `orderId` to fetch the full order representation (wallets,
tickets, coupons, manifest URL).

Reference: https://docs.navipartner.com/apis/api-reference/ota-channel-manager/webhooks/order-processed

## Request

### Payload

- `values` (list of OrderProcessedObject, required) — An array of webhooks, be prepared to handle more than 1 in the same hook request.

## Types

### OrderProcessedObject

- `appId` (UUID, required)
- `clientState` (string, required)
- `companyId` (UUID, required)
- `companyName` (string, required)
- `eventName` (string, required)
- `eventVersion` (string, required)
- `initiatingUserAADObjectId` (string, required)
- `payload` (OrderProcessedEventPayload, required) — Payload of the `ota_cm_order_processed` event. Carries the identifiers needed to look the order up via `getOrder` (`orderId`) or reconcile it on the partner side (`buyFromOrderReference`), plus the terminal status (`Issued`, `Draft`, or `Error`).
- `timestamp` (datetime, required)

### OrderProcessedEventPayload

Payload of the `ota_cm_order_processed` event. Carries the identifiers needed to look the order up via `getOrder` (`orderId`) or reconcile it on the partner side (`buyFromOrderReference`), plus the terminal status (`Issued`, `Draft`, or `Error`).

- `orderId` (UUID, required) — Globally unique identifier of the order, suitable for `GET /channelManager/{orderId}`.
- `buyFromOrderReference` (string, required) — The OTA Channel Manager's own document number for the order.
- `status` (enum, required) — The terminal status the order has just settled into — one of `Issued`, `Draft`, or `Error`.
  - Allowed values: `Submitted`, `Scheduled`, `Processing`, `Draft`, `Issued`, `Cancelled`, `Error`