Arrive at dropoff
PATCH {{baseUrl}}/orders/{{orderId}}/arrive-dropoff
Marks the driver as arrived at the dropoff location. Source: store.ts arriveDropoff() → models/orders.ts arriveDropoff().
Response: 200 with the updated order row reflecting the arrival timestamp. The app discards this response and just re-fetches the run separately.
Request body
Section titled “Request body”{ "orderId": "{{orderId}}"}Examples
Section titled “Examples”curl --request PATCH 'https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/arrive-dropoff' \ --header 'Content-Type: application/json' \ --data '{ "orderId": "{{orderId}}"}'const response = await fetch("https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/arrive-dropoff", { "method": "PATCH", "headers": { "Content-Type": "application/json" }, "body": "{\n \"orderId\": \"{{orderId}}\"\n}"})const data = await response.json()import requests
response = requests.request( "PATCH", "https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/arrive-dropoff", headers={ 'Content-Type': 'application/json'}, data="{\n \"orderId\": \"{{orderId}}\"\n}",)response.raise_for_status()
