GET
/businesses/{bid}/partiesList parties
GET /businesses/{bid}/parties
Requires the businesses scope.
Path parameters
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
Query parameters
| Name | Type | Description | |
|---|---|---|---|
kind | string | Filter by party kind. Omit for all. One of: customer, supplier, both. |
Response
200: { "ok": true, … }
| Field | Type | Description | |
|---|---|---|---|
ok | boolean | required | |
parties | array of Party | required |
Errors: 400, 401, 403, 404, 429. Every failure answers { "error": …, "reason": … }. Branch on reason.