The order object contains a record of all completed or refunded orders that a patient has made.
This resource returns all orders for the clinic and can be filtered by the following attributes.
patient_idstring
Filter orders by patient_id.
treatment_plan_idstring
Filter orders by treatment_plan_id.
completed_atstring
Filter orders by completed_at. The date must be formatted as follows yyyy-mm-dd.
completed_at date is less than. <yyyy-mm-dd.completed_at date is greater than. >yyyy-mm-dd.completed_at date is with in a range. yyyy-mm-dd..yyyy-mm-dd.typestring
Filter orders by type. The default value is all, which includes all types of orders. To filter specifically for lab orders, use the value labs.
order_numberstring
Filter orders by order_number.
sort_bystring
Accepts one of the following arguments: patient_id, treatment_plan_id, completed_at and order_number.
order_bystring
Ordering defaults to ASC and can take an argument of ASC or DESC.
curl "https://api-us-snd.fullscript.io/api/clinic/orders" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Retrieves an existing Order.
idstring
Required
Unique identifier of the Order.
curl "https://api-us-snd.fullscript.io/api/clinic/orders/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'The patient order object contains a record of all completed or refunded orders that belong to a patient.
patient_idstring
Required
Unique ID for the Patient
curl "https://api-us-snd.fullscript.io/api/clinic/patients/{patient_id}/orders" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'