Read an order snapshot
The same snapshot the order.updated event carries. Drafts and other practices' orders are not found.
The same snapshot the order.updated event carries. Drafts and other practices' orders are not found.
Authorization
smilelineBearer Smileline cell credential gl_sl_v1_<cell>_<secret>, one per Smileline cell; accepted only on /smileline/v1. A practice belongs to one cell and is not found from any other.
In: header
Path Parameters
1 <= length <= 200Query Parameters
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/uResponse Body
application/json
application/json
curl -X GET "https://example.com/smileline/v1/orders/string?practiceRef=string"{ "orderId": "string", "orderNumber": "string", "revision": 0, "practiceRef": "string", "labId": "string", "labName": "string", "patientRef": "string", "externalRefs": { "procedureId": "string", "planId": "string", "appointmentId": "string" }, "createdByRef": "string", "status": "string", "stage": { "code": "string", "label": "string", "tone": "start" }, "needsAction": { "kind": "surgical_report", "label": "string" }, "dueDate": "string", "submittedAt": "string", "completedAt": "string", "cancelledAt": "string", "shipment": { "status": "string", "trackingUrl": "string" }, "summary": "string", "total": { "amountMinor": 0, "currency": "string" }, "invoice": { "status": "string", "amountDueMinor": 0, "currency": "string", "dueDate": "string" }, "lastLabMessageAt": "string", "unreadLabMessages": 0, "remakeOfOrderId": "string", "updatedAt": "string"}{ "error": "string", "code": "string"}Complete a patient file transfer POST
Verifies the uploaded bytes against the reservation and stores the file on the patient, where the order wizard suggests it. Replays answer the stored file.
Read the changes feed GET
Every order, connection and invitation change for the calling cell, oldest first by (xid, kind, entityId), as the same envelopes the webhooks carry, built from current state. Only changes of transactions older than every running one are listed, so a late commit always appears after the cursor. Pass the previous page's next as after=<xid>,<kind>,<entityId> and persist it once the page is applied; a coalesced change reappears with a new xid, and applying by revision makes repeats no-ops.