/api/v1/sites read:inventory The warehouses taking packages right now, each by the code you pass as site when you announce a package (POST /inbound-shipments). Only these are accepted: a warehouse can stop receiving packages (it still holds and ships your cards), and it drops off this list when it does. Today that is oregon-1 only. Read this list rather than hard-coding it, and announce each box to the site its label is addressed to. Your account manager gives you each site’s shipping address; this list names the sites, it does not replace that.
GET /api/v1/sites Not run yet. Press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).
curl -X GET 'https://service.rip.fun/api/v1/sites' \ -H 'X-API-Key: rip_…'
data)| Field | Description |
|---|---|
sites[].code / name | e.g. { code: "oregon-1", name: "Oregon" } |
| Status | Code | When |
|---|---|---|
| 403 | Tenant API key required | key is not tenant-scoped, or lacks read:inventory |
See Errors for the response envelope and the full code list.