Skip to content
  1. Getting started
  2. Order lifecycle

Getting started

Order lifecycle

An order moves through a small number of states. Check the status field.

status Meaning What to do
processing We are looking up or preparing the report. Check again in a little while.
completed The report is ready. Download the PDF from report_url.
cancelled No report could be produced for this vehicle. Treat as "no records found".
  POST /orders
       │
       ▼
  processing ──────────────► completed   (report_url available)
       │
       └───────────────────► cancelled   (no records found)

The report_status field gives a little more detail about the automatic lookup while the order is processing:

report_status Meaning
pending The lookup has started or is waiting.
ready The report was found. The order completes straight after.
not_found The source has no records for this vehicle. A person reviews it, and the order ends as cancelled if no report can be provided.
failed The automatic lookup could not finish. We may prepare the report manually.
null This brand and product have no automatic lookup. A person prepares the report.

Polling

Check the order with GET /orders/{number}. Recommended approach:

  • Wait about 10 seconds after creating the order, then check every 30–60 seconds.
  • Stop after a timeout that suits your product (for example 30 minutes), and show "still processing". Do not assume the order is lost: it stays open until it completes or is cancelled.
  • Treat completed and cancelled as final.

Note: The end customer is not emailed for API orders. Delivery is entirely through this API.