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-Key
Request
This endpoint expects an object.
externalOrderIds
An array of order ids specified by the client
orderItems
Array of items on the order. At least one of orderItems or orderKits must be not null.
orderKits
Array of order kits on the order. At least one of orderItems or orderKits must be not null.
orderNotes
Array of order notes. These are additional pieces of information attached to an order.
patient
The patient receiving the order. Exactly one of patient or site must be not null.
shippingOption
Allowed values:
site
The site receiving the order. Exactly one of patient or site must be not null.
Response
Created
currentStatus
The current status of the order
devices
The order item devices
externalOrderIds
An array of order ids specified by the client
id
Unique identifier for the order
orderEvents
Array of order events. These are the status updates for the order.
orderItems
Array of items on the order. At least one of orderItems or orderKits must be not null.
orderKits
Array of order kits on the order. At least one of orderItems or orderKits must be not null.
orderNotes
Array of order notes. These are additional pieces of information attached to an order.
packedKits
The kits packed in the order
patient
The patient receiving the order. Exactly one of patient or site must be not null.
shippingOption
Allowed values:
site
The site receiving the order. Exactly one of patient or site must be not null.
trackingNumbers
Array of tracking numbers for the order.