Pharmacy Integration Guide
This guide walks you through the steps to integrate your pharmacy or pharmacy management system with RxScale, from receiving your API key to processing your first order.Step 1: Get Your API Key
Contact your RxScale account manager to receive your API credentials. You will get:- An API key for authentication
- A pharmacy UID (or group-level access if you manage multiple pharmacies)
- Access to the development environment for testing
Test your key with a health check:
Step 2: Sync Your SKUs
Retrieve your pharmacy’s SKU catalog and sync it with your internal product system.- Set your price (in euro cents)
- Update stock levels to reflect your current inventory
- Link an external ID from your pharmacy management system
Step 3: Register Webhooks
Set up webhooks so your system receives real-time notifications when new orders come in or stock levels change.
See Webhook Security for how to verify webhook signatures.
Step 4: Process Orders
When you receive apharmacy_order_created webhook (or poll the orders endpoint), process the order through your pharmacy workflow:
4a. View Order Details
doctor_data and prescription_file are null for over-the-counter (OTC) orders that have no prescription attached.
4b. Update Order Status
As you process the order, update its status:Integration Checklist
API key and connectivity
API key and connectivity
- Received API key from RxScale
- Verified connectivity with health check endpoint
- Tested on development environment before production
SKU synchronization
SKU synchronization
- Fetched full SKU catalog
- Mapped external IDs to your pharmacy management system
- Set initial prices and stock levels
- Scheduled regular stock sync (or use webhooks)
Webhook setup
Webhook setup
- Registered webhooks for
pharmacy_order_createdandpharmacy_order_updated - Stored signing secrets securely
- Implemented signature verification
- Endpoint responds with
2xxwithin 5 seconds
Order processing
Order processing
- Handling incoming orders (via webhook or polling)
- Updating order status as you process and ship orders
- Completing orders through the dedicated
complete_orderendpoint - Handling edge cases (cancellations, stock issues)