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 | string
Response (200/201)
customersreqarray<object>idreqstringnamereqstring | nullemailreqstring | nullphonereqstring | nulladdressreqstring | nullcountryreqstring | nullregistrationNumberreqstring | nulldefaultCurrenciesreqarray<string>organizationIdreqstringrepresentsOrganizationIdreqstring | nullSet when the customer corresponds to a Guliel-registered organization.displayNamereqstringResolved through the consolidation morphism — represented-org's name when in-system, local name otherwise.displayAddressreqstring | nulldisplayCountryreqstring | nulldisplayRegistrationNumberreqstring | nullactiveOrderCountintegertotalOrderCountintegerrepresentsOrganizationreqobject | null_countobjectinvoicesreqinteger
createdAtreqstringupdatedAtreqstring
paginationreqobjectpagereqintegerlimitreqintegertotalreqintegertotalPagesreqinteger
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
500 | Internal |