You need a key — Sandbox onboarding gets you one, and your Home page lists the pharmacy ids to use below. These examples use the sandbox; swap the base URL and key for production.

1. Confirm the key works

GET /api/v2/pharmacies is the best first call: it proves the key is valid and shows you exactly which pharmacies you can act for.
A 401 means the key is wrong, missing, or from the other environment. Keep the X-Request-Id from the response if you need to ask us about it.

2. Say which pharmacy you are acting as

If your group has more than one pharmacy, most endpoints need to know which one — otherwise you get 400 missing-pharmacy-context.
Send X-Pharmacy-Id even when your group has only one pharmacy. The call works without it today and starts failing the day a second pharmacy is added — a change made in our admin, not in your code.

3. Read a page

Send nextCursor back to get the next page, and stop when it comes back null. Cursors are opaque — see Searching and paging.

4. Before you write anything

Three things will save you a round of debugging:

Money is a string

"199.99", not 199.99. A bare number is rejected.

Enums are names

PascalCase strings, not v1’s integers.

Send an Idempotency-Key

On every write, from the start. See Safe retries.

Where next

Authentication

Keys, scopes and the context headers.

Webhooks

Be told when something happens instead of polling.