List Messages By Order
Returns messages for the specified order, including internal messages for admin UI.
Overview
- Method: GET
- Path:
/pharmacy/messaging/list-messages/<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
{
"messages": "string",
"body": "string",
"sentByID": "string",
"sentByType": "string",
"sendToID": "string",
"sendToType": "string",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}400
Bad Request
Content Type: application/json
{
"error": "string",
"details": [
{}
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
https://api.pillexa.com/pharmacy/messaging/list-messages/<orderId> \
-H "Content-Type: application/json" \