Send Pharmacy Notification
Send a targeted notification to a pharmacy via email, SMS, or push, with optional scheduling and priority.
Overview
- Method: POST
- Path:
/pharmacy/messaging/send-pharmacy-notification - Tags: pharmacy
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
Fields
| Field | Type | Required | Details |
|---|---|---|---|
| customerId | string | Yes | |
| orderId | string | No | |
| type | object | Yes | |
| message | string | Yes | |
| priority | object | Yes | |
| channels | array<object> | Yes | |
| scheduledFor | string | No |
channels
- Type:
object
Responses
200
Successful response
Content Type: application/json
{
"notificationId": "string",
"customerId": "string",
"orderId": "string",
"type": "string",
"status": {},
"channels": "string",
"sentAt": "string",
"scheduledFor": "string",
"created_at": "string"
}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/messaging/send-pharmacy-notification \
-H "Content-Type: application/json" \
-d '{"example": "data"}'