FulfilmentMethodHandler
Need storefront configuration?
Use the public API origin, merchant slug, and location ID. Storefront components
never receive a Crave API key; register each exact browser origin before making
requests.
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
