Update Order Documents
Update documents for an existing order
Overview
- Method: POST
- Path:
/pharmacy/orders/orders/update-documents - Tags: pharmacy
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
Fields
| Field | Type | Required | Details |
|---|---|---|---|
| orderId | string | Yes | minLength: 1, maxLength: 200 |
| documents | array<object> | Yes |
documents
- Type:
object
Responses
200
Successful response
Content Type: application/json
{
"success": true,
"message": "string",
"orderId": "string",
"patientProfileId": "string",
"documents": [
{}
],
"prescriptions": 123,
"otherDocuments": 123
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/pharmacy/orders/orders/update-documents \
-H "Content-Type: application/json" \
-d '{"example": "data"}'