Pharmacy
Messaging
Send Pharmacy Notification

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

FieldTypeRequiredDetails
customerIdstringYes
orderIdstringNo
typeobjectYes
messagestringYes
priorityobjectYes
channelsarray<object>Yes
scheduledForstringNo

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"}'