Create Order

This endpoint is for creating orders linked to either a patient or a site, with order content specified by item or kit IDs and an association with a patient or site ID. Optional attributes offer further customization, such as tracking through external order IDs.\n\nFor a comprehensive guide on utilizing this endpoint, including examples, required and optional attributes, and additional functionalities like listing and fetching orders, visit the Order Management Guide.

Headers

Impilo-API-KeystringRequired

Request

This endpoint expects an object.
externalOrderIdslist of stringsOptional
An array of order ids specified by the client
orderItemslist of objectsOptional
Array of items on the order. At least one of orderItems or orderKits must be not null.
orderKitslist of objectsOptional
Array of order kits on the order. At least one of orderItems or orderKits must be not null.
orderNoteslist of objectsOptional
Array of order notes. These are additional pieces of information attached to an order.
patientobjectOptional
The patient receiving the order. Exactly one of patient or site must be not null.
shippingOptionenumOptional
Allowed values:
siteobjectOptional
The site receiving the order. Exactly one of patient or site must be not null.

Response

Created
currentStatusenum or null
The current status of the order
deviceslist of objects or null
The order item devices
externalOrderIdslist of strings or null
An array of order ids specified by the client
idlong or null
Unique identifier for the order
orderEventslist of objects or null
Array of order events. These are the status updates for the order.
orderItemslist of objects or null
Array of items on the order. At least one of orderItems or orderKits must be not null.
orderKitslist of objects or null
Array of order kits on the order. At least one of orderItems or orderKits must be not null.
orderNoteslist of objects or null
Array of order notes. These are additional pieces of information attached to an order.
packedKitslist of objects or null
The kits packed in the order
patientobject or null
The patient receiving the order. Exactly one of patient or site must be not null.
shippingOptionenum or null
Allowed values:
siteobject or null
The site receiving the order. Exactly one of patient or site must be not null.
trackingNumberslist of objects or null
Array of tracking numbers for the order.