List customers
Lists customers the caller can see. Results are filtered by the caller's accessible organizations; many routes paginate via page and limit.
Scope: customers:read
Endpoint: GET /api/customers
Example request
curl "https://guliel.com/api/customers?organizationId=value" \
-H "Authorization: Bearer $GULIEL_API_KEY"Query parameters
organizationIdreqstringpagereqintegerlimitreqintegersearchreqstringinSystemstring | string | stringkindenum<2>ORGANIZATION · INDIVIDUALsortByreqenum<4>name · email · createdAt · updatedAtsortOrderreqenum<2>asc · desc
Response (200/201)
customersreqarray<object>idreqstringnamereqstring | nullemailreqstring | nullphonereqstring | nulladdressreqstring | nullcountryreqstring | nullregistrationNumberreqstring | nulldefaultCurrenciesreqarray<string>organizationIdreqstringkindreqenum<2> | nullWhich party kind this counterparty edge points at.displayNamereqstringResolved through the consolidation morphism — from the linked Organization or Individual.displayAddressreqstring | nulldisplayCountryreqstring | nulldisplayRegistrationNumberreqstring | nullactiveOrderCountintegertotalOrderCountinteger_countobjectinvoicesreqinteger
createdAtreqstringupdatedAtreqstring
paginationreqobjectpagereqintegerlimitreqintegertotalreqintegertotalPagesreqinteger
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
500 | Internal |