Archive Order
Archive an order to remove it from active operations.
Overview
- Method: POST
- Path:
/pharmacy/order/archive-order/<orderId> - Tags: pharmacy
Parameters
orderId (path)
- Type:
string - Required: Yes
- Description: orderId parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"order": "string",
"display_id": 123,
"status": "string",
"created_at": "string",
"updated_at": "string",
"archived_at": "string"
}400
Bad Request
Content Type: application/json
{
"error": "string",
"details": [
{}
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/pharmacy/order/archive-order/<orderId> \
-H "Content-Type: application/json" \