> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# <FulfilmentMethodHandler />

> Route-level handler that renders the appropriate fulfillment flow based on order type.

# FulfilmentMethodHandler

<Snippet file="api-key-location.mdx" />

A routing component that determines and renders the correct fulfillment flow (delivery, table-side, room service) based on the ordering session's fulfillment method.

## Preview

Desktop

Mobile

## Import

```tsx theme={null}
import { FulfilmentMethodHandler } from '@/components/FulfilmentMethodHandler'
```

## Usage

```tsx theme={null}
<FulfilmentMethodHandler
  orderingSession={session}
  onFulfillmentComplete={handleFulfillmentSet}
/>
```

## Props

**orderingSession** `OrderingSession` *required*

The current ordering session containing the selected fulfillment method.

**onFulfillmentComplete** `(details: FulfillmentDetails) =\> void` *required*

Callback fired when fulfillment details are confirmed by the customer.

## Behavior

* Reads the fulfillment method from the ordering session
* Renders `Delivery`, `TableSide`, or `RoomService` sub-component accordingly
* Falls back to pickup if no specific method is set
* Passes collected details (address, table number, room number) up via callback


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.