Arrive at pickup
PATCH {{baseUrl}}/orders/{{orderId}}/arrive-pickup
Marks the driver as arrived at the pickup location. Source: store.ts arriveOrigin() → models/orders.ts arriveOrigin().
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-pickup' \ --header 'Content-Type: application/json' \ --data '{ "orderId": "{{orderId}}"}'const response = await fetch("https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/arrive-pickup", { "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-pickup", headers={ 'Content-Type': 'application/json'}, data="{\n \"orderId\": \"{{orderId}}\"\n}",)response.raise_for_status()
