Orders
Body
Request body for creating a new diagnostic test order
client_order_reference_idstring · min: 1 · max: 100RequiredExample:
Your unique order identifier that you generate (for idempotency and tracking)
ORDER-2024-001collection_typestringRequired
Responses
201
Order created successfully
application/json
400
Bad request - invalid JSON or validation errors
application/json
500
Internal server error
application/json
post
/ordersAuthorizations
AuthorizationstringRequired
Path parameters
orderIDinteger · min: 1Required
Order ID
Responses
200
Successfully retrieved order
application/json
Full order information including items, recipient, address, and financials
client_idstringOptionalExample:
terra_client_abc123client_order_reference_idstringOptionalExample:
ORDER-2024-001collection_typestringOptionalExample:
AT_HOMEorder_idstringOptionalExample:
123456789order_statusstringOptionalExample:
shippedsupplier_idstringOptionalExample:
1400
Invalid order ID format
application/json
401
Unauthorized - invalid credentials
application/json
404
Order not found
application/json
500
Internal server error
application/json
get
/orders/{orderID}Last updated
Was this helpful?