What a store needs
Delivery can be turned on once each of these is in place for the location:
At checkout the storefront collects the customer’s name, phone number and
delivery address, and shows the DoorDash delivery fee before payment.
Set it up from chat
The Crave MCP server’s store setup tools walk through delivery. Each setting has one tool, so nothing can be set two ways.get_onboarding_statusreturns adeliverysection that lists each requirement as met or missing, with a plain next step for anything missing.- Chat fixes what is missing:
set_location_addressfor the address andset_location_phonefor the phone. The server stores the phone in E.164, reading a local number in the location’s country. - When everything is in place,
delivery.offeristrue. Chat asks whether to turn on delivery and never turns delivery on without asking. - If you agree, chat calls
set_fulfillment_methodswithdeliveryadded to the methods already on. That selects DoorDash Drive as the provider.
You: Set up delivery for my store. Assistant: Delivery still needs the store phone number in international format. What number should customers and couriers call? You: (212) 555-0123. Assistant: Saved. Everything DoorDash delivery needs is in place. Do you want to turn on delivery now? You: Yes. Assistant: Delivery is on, with DoorDash Drive.
Set it up through the API
Two Business Manager API routes back the chat tools:GET /api/v1/locations/{locationId}/delivery-readinessreturns each requirement as met or missing, whether delivery is on (enabled), whether it can be turned on now (canTurnOn) and the missing requirements (gaps).PATCH /api/v1/locations/{locationId}/fulfillment-methodsis the only way to turn delivery on. Includingdeliveryselects DoorDash Drive. While a requirement is missing, it refuses with HTTP 409 and the codeDELIVERY_NOT_READY, and lists each missing requirement with its next step:
PATCH /delivery-settings) keeps the delivery
schedule, fees and zone, and refuses enabled and provider.
How delivery is paid for
Crave never loses money on a delivery and never carries delivery risk for a restaurant:- The customer pays the DoorDash quote as the delivery fee, priced before payment.
- Crave collects that cost in the same card payment. The DoorDash fee, its tax and the courier tip go to Crave as part of the Stripe application fee. The waiter tip stays with the restaurant.
- Payment comes first. The card payment is captured, and Crave checks that its fee covers the DoorDash cost, before a courier is dispatched. A changed or expired quote stops dispatch and refunds the customer.
- Refunds follow what DoorDash billed. If DoorDash did not charge for a cancelled delivery, Crave returns the DoorDash part of its fee to the merchant. If DoorDash charged a cancellation fee, Crave keeps exactly that amount.
- Costs above the quote are the merchant’s. If DoorDash bills more than the quote, for example for extra wait time at the restaurant, the merchant covers it.
