When creating an Uber Direct quote via POST /v1/customers/{customer_id}/delivery_quotes, immediately store the quote_id and parse the expires field from the response
Set a timer or check the current time against the expires timestamp before creating the delivery; Uber Direct quotes expire after 15 minutes
On DoorDash Drive, similarly record the quote external ID and fee returned from POST /drive/v2/quotes; DoorDash quotes also have a limited validity window
If the quote has expired before the delivery is created, re-call the quote endpoint with the original or updated pickup and dropoff parameters to obtain a fresh quote_id
Compare the new quote fee with the original; if the fee has increased significantly, surface the updated price to the user for re-confirmation before proceeding
After receiving a valid non-expired quote_id, create the delivery using that ID; handle 400 or 422 error responses indicating an expired or invalid quote by triggering the re-quote flow
Known gotchas
Quote expiry is a hard limit on both Uber Direct (15 minutes) and DoorDash Drive; do not store quote IDs for reuse across sessions or after checkout abandonment
Delivery fees are dynamic and may change between a quote and a re-quote based on Dasher or courier availability; your checkout UI should be able to display and confirm updated fees
On DoorDash Drive, a quote is optional — you can create a delivery directly without quoting first — but quoting first lets you validate coverage and fee before committing
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp