GET
List bundles (optionally filtered by status / counterparty)

Authorizations

X-InStockRx-Api-Key
string
header
required

Scoped partner API key. Send the whole key, e.g. ik_live_a1b2c3…, on every request.

Headers

X-Pharmacy-Id
string<uuid>

Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then 400 missing-pharmacy-context. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.

Query Parameters

status
enum<string>[]

Lifecycle of a Bundle (shipment grouping).

  • Pending — created, not yet being worked
  • InProcess — being assembled for shipment
  • Shipped — a label was bought and the bundle is in transit
  • Delivered — the carrier reported delivery
  • Cancelled — the bundle will not ship
  • Merged — the bundle's items were folded into another bundle, which now owns them

Per-item receipt remains the source of truth for completion: an item is only settled once it is ShippingReceivedConfirmed, whatever the bundle says.

Available options:
Pending,
InProcess,
Shipped,
Cancelled,
Delivered,
Merged
buyingPharmacyId
string<uuid>
sellingPharmacyId
string<uuid>
limit
integer
default:50
Required range: 1 <= x <= 200
cursor
string

Opaque cursor returned in page.nextCursor.

Response

200 - application/json

OK

data
object[]
required
page
object
required