Partner APIReference
Orders (Partner API)
Create, retrieve and cancel orders.
Endpoints
GET
/v1/programs/{programId}/requirementsDiscover what an order must carryPOST
/v1/ordersCreate an orderGET
/v1/orders/{orderId}Retrieve order statusPOST
/v1/orders/{orderId}/cancelCancel while cancellation is still possibleGET
/v1/orders/{orderId}/exceptionsRead canonical specimen, sample and result exceptionsRead the program requirements first: they tell you exactly which fields, answers and subject references an order in that program must carry.
bash
curl -s -X POST https://app.soliadirect.com/api/public/partner/v1/orders \
-H "Authorization: Bearer $SOLIA_API_KEY" \
-H "Idempotency-Key: order-1001" \
-H "Content-Type: application/json" \
-d '{"external_order_id":"order-1001","program_id":"...","item_id":"...","external_subject_id":"subject-1001"}'