The shop's branches
GET /branches
Scope: programs:read. The key’s connection must hold it; see the reference’s introduction.
Example
Section titled “Example”Replace the CAPITALS, and set PASSKAAR_KEY to a key from the portal.
curl -X GET "https://api.passkaar.com/integrations/v1/branches?limit=25" \ -H "Authorization: Bearer $PASSKAAR_KEY"Parameters
Section titled “Parameters”| Name | In | Type | Required | What it is |
|---|---|---|---|---|
cursor |
query | string | next_cursor from the previous page. Opaque. |
|
limit |
query | integer | At most 100. |
Answers
Section titled “Answers”Every branch, open ones first.
| Field | Type | Required | What it is |
|---|---|---|---|
data |
array of object (Branch) | yes | |
next_cursor |
string or null | yes | Null on the last page. Opaque, and only good for this list. |
Errors
Section titled “Errors”Every error is a Problem Details answer with a stable code.
| Status | Code |
|---|---|
| 400 | invalid_request |
| 401 | unauthorized |
| 429 | rate_limited |
| 500 | internal_error |
| 503 | unavailable |