Acknowledge order
PATCH {{baseUrl}}/orders/{{orderId}}/acknowledge
Driver acknowledges a newly-assigned order. Source: store.ts acknowledge().
Response: 200. The handler has no explicit return value (empty body). The app doesn’t read it — it just calls loadCurrentRun() afterward.
Request body
Section titled “Request body”{ "run": false}Examples
Section titled “Examples”curl --request PATCH 'https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/acknowledge' \ --header 'Content-Type: application/json' \ --data '{ "run": false}'const response = await fetch("https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/acknowledge", { "method": "PATCH", "headers": { "Content-Type": "application/json" }, "body": "{\n \"run\": false\n}"})const data = await response.json()import requests
response = requests.request( "PATCH", "https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/acknowledge", headers={ 'Content-Type': 'application/json'}, data="{\n \"run\": false\n}",)response.raise_for_status()
