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.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, orRoomServicesub-component accordingly - Falls back to pickup if no specific method is set
- Passes collected details (address, table number, room number) up via callback