Customers
List accounts
Returns a list of accounts. The accounts are returned 20 results at a time and can be iterated over by using the page parameter.
get/accounts/public
Request
- Base URLhttps://api.paperlessparts.com/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
searchstring
Value used to search against the following fields: account name, erp code, notes, and id. Comparisons are not case sensitive and will match when the field value includes the search value as a substring.
pagestring
The page of results to return.
erp_codestring
The erp code of the accounts to return. Must be an exact match.
null_erp_codeboolean
Filters for accounts whose erp code is either null or an empty string.
Response
Successful response
Example response
[
{
"name": "Paperless Parts, Inc.",
"erp_code": "PPI",
"id": 17,
"phone": "6176354500",
"type": "customer"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.