1. Get a test key
GO JOE sets up your integration account and sends you:- a test key (
gj_test_…) for the sandbox, later a live key (gj_live_…), - your webhook secret (
whsec_…), - the sandbox base URL:
https://sandbox-api.gojoe.de/api/pharm/v1.
2. Check the connection
3. Receive a new order
When a paid, doctor-approved order is ready for one of your pharmacies, GO JOE POSTs a webhook to your endpoint. In the sandbox you make one yourself (Sandbox):200 straight away, then fetch the order:
4. Accept it
5. Report progress
- Express orders (
fulfilment.courier = "gojoe"): reportpacked. GO JOE books the courier and moves the order toout_for_deliveryandcompleteditself. The courier needsfulfilment.return_pinif a package comes back. - Shipping orders (
courier = "pharmacy"): reportout_for_deliverywithtracking, thencompleted. - Pick-up orders: report
ready_for_pickup, thencompletedwhen the patient collected it.
6. The signed prescription
Orders arrive with the Vorab-Rezept. When the doctor’s QES is done you getorder.prescription_signed: download the prescription again and file the
signed version in place of the Vorab-Rezept. Handing over on the Vorab-Rezept
is allowed. GET /orders?prescription_stage=vorab lists orders still waiting
for the signed version.
7. Never miss anything
Webhooks are a nudge. The record is the event feed: store thenext_cursor
from GET /events and poll it every few minutes (and after any downtime):
id (equal to the webhook-id header) and on the
order id; accepting with the same erp_reference twice is harmless.
8. Stock and prices
Push your stock and prices withPUT /pharmacies/{pharmacy_id}/inventory
(see Stock and prices). GO JOE maps your article numbers to
its products once; after that the shop sells with your numbers.