Skip to main content
GET
Retrieve the items of a paid order as CRM-ready leads. By default each lead is a single flat row of scalars — no nested objects, no arrays — so it maps directly onto CSV columns or CRM fields. Lists are collapsed into one cell, joined with ; (descriptions use | because they may themselves contain commas).
The order must be paid. Because it is paid, contact details (email, mobile, address) are included in the rows.
The column set differs per item type. A gst row carries GST columns, a company row company columns, a director row director columns. Every row starts with the same three identifying columns: type, identifier, name.

Path Parameters

string
required
Order ID

Headers

string
required
Bearer token: Bearer <access_token>

Query Parameters

string
default:"flat"
flat returns one flat row of scalars per lead, ready for a CRM import or a spreadsheet. nested returns the previous {lead, full_data} shape.

Response

string
Order ID
string
Order name
string
Payment status of the order
string
Order status
number
Number of leads returned
array
One row per order item. See the column sets below.

Columns

Every row begins with these three columns regardless of type:

GST rows

31 columns in total (the three above plus the 28 below).

Company rows

36 columns in total (the three identifying columns plus the 33 below). The address is taken from the registered address, falling back to the first address on record.

Director rows

23 columns in total (the three identifying columns plus the 20 below).

Full company rows

fullcompany is no longer available as a new order item type. These rows appear only on existing orders that already contain such items, and they are always returned flat.
A full company row carries every company column above, plus:

Failed rows

If an individual item cannot be enriched, the rest of the order is still returned and that item appears as {type, identifier, name, error}.