Submit proof of delivery
PATCH {{baseUrl}}/orders/{{orderId}}/proof
Submits proof-of-delivery (signature/photo flag). Source: store.ts proofDelivery() → endpoints/orders.ts PATCH /orders/:orderId/proof.
Response: 200, plain-text body Success. The app doesn’t parse it — the actual signature/photo upload is queued as a background job after this responds.
Request body
Section titled “Request body”{ "drop": true}Examples
Section titled “Examples”curl --request PATCH 'https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/proof' \ --header 'Content-Type: application/json' \ --data '{ "drop": true}'const response = await fetch("https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/proof", { "method": "PATCH", "headers": { "Content-Type": "application/json" }, "body": "{\n \"drop\": true\n}"})const data = await response.json()import requests
response = requests.request( "PATCH", "https://api.firstdelivery.com/api/orders/REPLACE_WITH_ORDER_ID/proof", headers={ 'Content-Type': 'application/json'}, data="{\n \"drop\": true\n}",)response.raise_for_status()Saved responses
Section titled “Saved responses”Success
