Skip to main content

Notifications

RxScale sends notifications to keep pharmacies, doctors, and admins informed about important events. This page explains what types of notifications are available, what triggers them, and who receives them.

Notification Types

Pharmacy Order Notifications

These notifications are sent when something happens with a pharmacy order.
EventWhat Triggers ItWho Receives It
Pharmacy order createdA new order is assigned to the pharmacy.Pharmacy staff
Pharmacy order updatedAn existing order’s status or details change.Pharmacy staff
Why it matters: These notifications help pharmacies stay on top of incoming orders and status changes, so they can process orders promptly.

Stock Level Change Notifications

EventWhat Triggers ItWho Receives It
Stock level changedA product’s stock level at the pharmacy is updated (for example, after an order is fulfilled).Pharmacy staff, admins
Why it matters: Keeping track of stock levels helps pharmacies avoid running out of medication and ensures orders can be fulfilled without delays.

Prescription Notifications

EventWhat Triggers ItWho Receives It
Prescription createdA new prescription is created in the system.Doctors, admins
Prescription updatedA prescription’s status changes (for example, approved, signed, declined).Doctors, admins
Prescription printedA prescription is printed (for example, for records or delivery).Admins
Why it matters: Doctors need to know when new prescriptions are waiting for their review, and admins need visibility into the prescription lifecycle.

Order Notifications

EventWhat Triggers ItWho Receives It
Order createdA new order is placed.Admins
Order updatedAn order’s status or details change.Admins
Why it matters: Admins can monitor the overall order flow and intervene quickly if an order gets stuck or needs attention.

How to Subscribe to Notifications

Notifications are delivered via webhooks. A webhook is a URL on your system that RxScale calls whenever an event occurs. To receive notifications:
  1. Set up a webhook endpoint. Create a URL on your system that can receive HTTP POST requests from RxScale.
  2. Register the webhook. Use the RxScale admin panel or API to register your webhook URL and select the events you want to receive.
  3. Start receiving notifications. Whenever a subscribed event occurs, RxScale will send a POST request to your webhook URL with the event details.
Webhook setup requires technical configuration. If you need help, work with your development team or contact RxScale support.

What a Notification Looks Like

When an event occurs, RxScale sends a JSON payload to your webhook URL. The payload includes:
  • Event type — What happened (for example, pharmacy_order_created).
  • Timestamp — When the event occurred.
  • Data — The relevant details about the order, prescription, or other object involved.

Tips for Managing Notifications

  • Subscribe only to events you need. This keeps your system focused and avoids unnecessary processing.
  • Monitor your webhook endpoint. Make sure your endpoint is available and responding. RxScale may retry failed deliveries, but persistent failures could cause you to miss notifications.
  • Process notifications quickly. Acknowledge the webhook request promptly to avoid timeouts. Handle any heavy processing asynchronously.

Frequently Asked Questions

Currently, real-time notifications are delivered via webhooks. Some email notifications may be available depending on your account configuration. Contact the support team for details.
RxScale will retry the delivery. If the endpoint remains unavailable, the notification may be lost. It is important to keep your webhook endpoint running and monitored.
Yes, you can use the development environment to test webhook notifications. See the API documentation for development base URLs.