Before you ask
- Build and test it in the sandbox. Production behaves the same as the sandbox, with real consequences: a listing is a genuine offer to sell and a cash offer is a genuine offer to buy.
- Each pharmacy you sell or buy for must have finished payment setup on InStockRx. Until it has, writes made for that pharmacy are refused.
Ask for access
Press the button to see our address. Write the email opens your email app with the subject and these headings filled in:- Who you are: your company, and the person who will hold the key.
- What you’re building: what the integration does, and whether it uses V1, V2 or both.
What happens next
1
We reply
Someone at InStockRx replies to agree the details of your integration with you.
2
We create your group
Your group is the set of pharmacies your key can act for.
3
We issue your key
We either send the key to your technical contact, or invite them to your group as an
administrator so they can reveal and copy it on InStockRx themselves.
4
You switch over
Point your integration at
https://api.instockrx.com with the production key, add your
pharmacies to your group by NPI through the API, and confirm that the pharmacies returned
are the ones you expect.Your key
Your V1 key belongs to your group and can act for every pharmacy in it. Store it as a secret. V1 keys have no scopes: a key can do everything the API offers. To replace a production key, or if you believe one has been exposed, email the same address and say so in the subject line.Next
Start in the sandbox
Sign up, get two test pharmacies and a key, and build your integration.
Environments
Base URLs, and what changes between the sandbox and production.