Send
POST endpoint for /pharmacy/messaging/send in pharmacy category
Overview
- Method: POST
- Path:
/pharmacy/messaging/send - Tags: pharmacy
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
- Schema: Defined
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"notificationId": {
"type": "string"
},
"customerId": {
"type": "string"
},
"orderId": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "object"
},
"channels": {
"type": "string"
},
"sentAt": {
"type": "string"
},
"scheduledFor": {
"type": "string"
},
"created_at": {
"type": "string"
}
},
"required": [
"notificationId",
"customerId",
"type",
"status",
"channels",
"created_at"
]
}400
Bad Request
Content Type: application/json
{
"$ref": "#/components/schemas/Error"
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
http://localhost:9000/pharmacy/messaging/send \
-H "Content-Type: application/json" \
-d '{"example": "data"}'Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).