If you're developing or testing, all work should be done in the sandbox environment. API keys for your sandbox environment can be found here. If you aren't setup for our sandbox environment yet, reach out to [email protected] and we can get your account created.
The Photon Web App can be used to fully manage patients, prescriptions and orders. Using this tool is the quickest way to get started, requiring no code or integration on your side.
If you are looking to integrate with our API, you'll want to take a look at the endpoints available in our API. There you will find instructions on how to format requests.
Webhooks are a crucial component of any optimized Photon integration. In order to confirm that an order has been delivered or if a prescription has expired you will need to listen for webhooks. Instructions for subscribing to webhooks can be found here.
Photon objects can be created and referenced with an
externalId making it easy to correlate Patient, Prescription or Order records with yours.
Storing the correct identifier for objects is a crucial part of an integration. There are two options:
- You can create an object and use the internal Photon ID for that object when referencing it in your system
- You can pass in an
externalIdon object creation that points to an object in your system
When referencing objects in our APIs you can use either our internal ID or your external ID. Both will also be given for any webhooks you receive.
Updated about 2 months ago