Partner API
Status sync
Keep your order UI in sync with GoQuick: webhooks first, then poll when you need to reconcile.
GoQuick is the source of truth for fulfillment status. You do not call a special “trigger” endpoint to invent a status change. When a runner accepts, moves, completes, or a job is cancelled, GoQuick updates the job and notifies you.
Recommended pattern for your integration:
- Primary: receive signed webhooks (job.assigned, job.status_changed, job.completed, job.cancelled) and update your order from data.job.status (and from_status / to_status).
- Reconcile: if a webhook may have been missed, or when a user opens an order detail screen, call GET /partner/jobs/{id}, GET /partner/jobs?external_id={your_id}, or GET /partner/track/{tracking_id}.
- Customer link: share tracking_id / tracking_url from the create response so buyers can open the public track page. That page is for your customer; do not treat it as your only system-of-record sync.
| Channel | Who uses it | What you should do |
|---|---|---|
| Webhooks → your HTTPS URL | Your backend | Verify X-GoQuick-Signature, upsert order status from the job payload, respond 2xx quickly |
| GET /partner/jobs/{id} | Your backend | Fetch current status by GoQuick job id |
| GET /partner/jobs?external_id=… | Your backend | Fetch by your own order / shipment reference |
| GET /partner/track/{tracking_id} | Your backend | Fetch by GQTRK_… when you store the tracking id |
| Public track page / GET /api/v1/track/{id} | Your end customer | Optional UX link only; limited payload, no API key |
Configure an active webhook URL and signing secret before going live. Without webhooks, poll GET job/track so your order screens stay accurate.
Typical customer-facing progress (you may map job.status into your own labels):
| Your label (example) | GoQuick status values |
|---|---|
| Order received | searching, pending |
| Runner assigned | accepted |
| On the way | on_my_way |
| Picked up | arrived, in_progress, waiting_for_buyer |
| Delivered | completed |
| Cancelled / failed | cancelled, cancelled_by_buyer, cancelled_by_runner, failed |
- Deduplicate webhook deliveries with event_id
- Prefer webhook updates for live UX; use GET as a safety net, not as your only channel if volume is high
- Always verify webhook signatures; reject skewed timestamps
- Store external_id and tracking_id on create so both webhook and poll paths can find the same order