Skip to main content

FulfilmentMethodHandler

Need an API key?

Get one from Crave Dashboard > Developers > API Development > Step 1 - API Keys. Copy the matching locationId from Step 2 - Location IDs on the same page.
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

Import

Usage

Props

OrderingSession
required
The current ordering session containing the selected fulfillment method.
(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