Place order (finalize pickup items)
PATCH {{baseUrl}}/orders/{{orderId}}/place
Finalizes a placed order after the driver confirms pickup items. Source: components/PlaceOrder.ios.tsx (calls PATCH directly, not through a store.ts method).
Response: 200 with no response body — the handler doesn’t send one. The app ignores the response and just navigates back.
Examples
Section titled “Examples”curl --request PATCH 'https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/place'const response = await fetch("https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/place", { "method": "PATCH", "headers": {}})const data = await response.json()import requests
response = requests.request( "PATCH", "https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/place", headers={},)response.raise_for_status()
