Get List of Customers for Organization
Retrieves a list of customers for an org. Use filters to limit results.
You must remove parameters=
from the request before you send it, otherwise Payabli will ignore the filters.
Because of a technical limitation, you can’t make a request that includes filters from the API console on this page. The response won’t be filtered. Instead, copy the request, remove parameters=
and run the request in a different client.
For example:
should become:
—url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20
Authorizations
Most endpoints require an organization
token. Some endpoints require an application
token, and those endpoints are noted.
Path Parameters
The numeric identifier for organization, assigned by Payabli.
123
Query Parameters
Collection of field names, conditions, and values used to filter the query. See Filters and Conditions Reference for more details.
List of Accepted Field Names:
createdDate
(gt, ge, lt, le, eq, ne)customernumber
(ne, eq, ct, nct)firstname
(ne, eq, ct, nct)lastname
(ne, eq, ct, nct)name
(ct, nct)address
(ne, eq, ct, nct)city
(ne, eq, ct, nct)country
(ne, eq, ct, nct)zip
(ne, eq, ct, nct)state
(ne, eq, ct, nct)shippingaddress
(ne, eq, ct, nct)shippingcity
(ne, eq, ct, nct)shippingcountry
(ne, eq, ct, nct)shippingzip
(ne, eq, ct, nct)shippingstate
(ne, eq, ct, nct)phone
(ne, eq, ct, nct)email
(ne, eq, ct, nct)company
(ne, eq, ct, nct)username
(ne, eq, ct, nct)balance
(gt, ge, lt, le, eq, ne)status
(in, nin, eq, ne)additional-xxx
(ne, eq, ct, nct) where xxx is the additional field nameorgId
(eq) mandatory when entry=orgpaypointId
(ne, eq)paypointLegal
(ne, eq, ct, nct)paypointDba
(ne, eq, ct, nct)orgName
(ne, eq, ct, nct)
List of Accepted Comparisons:
eq
or empty => equalgt
=> greater thange
=> greater or equallt
=> less thanle
=> less or equalne
=> not equalct
=> containsnct
=> not containsin
=> inside array separated by "|"nin
=> not inside array separated by "|"
Accepted Parameters:
limitRecord
: Max number of records for query (default="20", "0" or negative value for all)fromRecord
: Initial record in query
Example Usage:
balance(gt)=20
will return all records with a balance greater than 20.00.
Max number of records to return for the query. Use 0
or negative value to return all records.
0
The number of records to skip before starting to collect the result set.
251
The field name to use for sorting results. Use desc(field_name)
to sort descending by field_name
, and use asc(field_name)
to sort ascending by field_name
.
"desc(field_name)"
Response
Success
The response is of type object
.