List parties
GET
/api/v1/tenants/{tenant_id}/workspaces/{workspace_id}/parties
List all parties (suppliers/customers) with pagination and filtering.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” page
Page
integer
page_size
Page Size
integer
Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Successful Response
Examples
Customer directory response
{ "items": [ { "id": "8a1c7f6c-61a1-4d89-8d96-3f7e7747f0c0", "legal_name": "Optimum Business Solution Ltd", "trading_name": "OBS", "party_type": "customer", "tax_id": "TIN-12345678", "email": "ap@obs.ng", "phone": "+2348012345678", "is_peppol_participant": true } ], "total": 1, "page": 1, "page_size": 50}Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examples
422 response example
{ "detail": [ { "loc": [], "msg": "string", "type": "string" } ]}