Home Kit Orders
Create Home Kit Order
Request a DIY mail-home test kit for a profile
POST
Request a home kit order for a patient profile. A home kit order sends a DIY mail-home test kit — Aniva ships the kit to the delivery address, the patient self-collects a sample at home and mails it back. This is distinct from an appointment, which is a venous draw at a test location.
Exactly one panel is required. A home kit maps 1:1 onto a physical kit product — the panel is the kit — and the order reaches the fulfilment warehouse as soon as it is created, so the composition must be final up front. You can still swap the panel via Update Home Kit Order while the order is
pending.
A 201 means the order is committed and will be handed to fulfilment — you don’t need to do anything else for the kit to be packed and shipped.
Requires the home_kit_orders_manage scope.
Send an optional Idempotency-Key header to make this create safe to retry — a repeat of the same key returns the original response instead of creating a second one. See Idempotency.
Request
Body parameters
string
required
UUID of the patient profile to create the home kit order for.
string
required
UUID of the catalog panel to order. Exactly one — a home kit maps 1:1 onto a physical kit product,
so the panel is the kit. Panel IDs are provided by Aniva for your partner account; see List
Panels.
object
Your own key/value pairs, echoed back verbatim on every read and never interpreted by Aniva. Use
it to carry your order reference so you can correlate without storing our IDs. At most 20 keys;
keys match
[A-Za-z0-9_-] and are at most 40 characters; values are a string, number, or boolean,
with strings at most 500 characters; 16384 bytes serialized overall. Keys beginning aniva_ are
reserved. Never put personal or clinical data in metadata — it is not treated as patient data
and is surfaced to fulfilment partners.object
required
The address to mail the kit to — one of two shapes: either
{ location_id } referencing a known test location, or the inline address fields (name, street, city, postal_code, country_code; company_name / house_number / address_line_2 / state / phone / email optional — the same vocabulary as the locations API). Provide exactly one — a location reference or an inline address, not both.Response
On success, the API returns201 Created with the new home kit order.
string
required
Unique home kit order identifier (UUID).
string
required
UUID of the profile this home kit order belongs to.
string
required
Current home kit order status. One of
pending, dispatched, activated, or cancelled. A
newly created order starts in pending.object
required
The address to mail the kit to — one of two shapes: either
{ location_id } referencing a known test location, or the inline address fields (name, street, city, postal_code, country_code; company_name / house_number / address_line_2 / state / phone / email optional — the same vocabulary as the locations API). Provide exactly one — a location reference or an inline address, not both.object
required
The key/value pairs you supplied. Always present —
{} when you set none.string
Laboratory sample code the results report under — printed on the physical kit, and what the
patient reads off the box as the activation code.
null until fulfilment packs the kit.
Read-only.string
required
ISO 8601 timestamp of when the home kit order was created.
string
ISO 8601 timestamp of the last update. May be
null.object
required
The patient profile associated with this home kit order.
HomeKitOrderPanel[]
required
The panel attached to this home kit order — the one you supplied as
panel_id, stamped with the
order’s creation time. Always exactly one. Look up panel details (name, biomarkers) via
List Panels.HomeKitOrderIndividualBiomarker[]
required
À-la-carte biomarkers attached outside any panel. Always empty on creation — home kit orders are
ordered by panel, and modifying this list requires the
home_kit_orders_individual_biomarker_selection capability scope.