Grocery Supply Company Proof-of-Delivery Application Programming Interface
Current version: … · Base URL: /api
/api
Sign up, sign in, sign out, and manage driver passwords. All other endpoints require an api_token obtained here.
api_token
POST /api/auth/signin
Retrieve the pending route for an authenticated driver, including stops, invoices, products, collections, and OSD data.
GET /api/route
Submit stop-level delivery updates — status, quantities, OSD entries, signatures, driver comments, and skip/refuse data.
PUT /api/route/stop
Retrieve OSD reason codes, skip/refuse codes, and other reference data used to populate app dropdowns.
GET /api/control
Upload and retrieve binary assets (photos, signatures) stored as chunked data URLs in GPODDATA on the AS/400.
GET /api/assets/:id
Upload and retrieve video content associated with route deliveries via the AS/400 IFS.
POST /api/video
Submit and retrieve load-condition reports captured by drivers during route loading.
GET /api/report/load-condition
Returns the current API version. Useful for client compatibility checks and confirming which build is deployed.
GET /api/version
Simple liveness check. Returns {"success":true} when the server is reachable and the DB connection is healthy.
{"success":true}
GET /api/health
Automatic update enforcement injected into every response. Send app_version header to receive none, soft, or hard update status.
app_version
none
soft
hard
Header: app_version