Lists all customers
Changed onReturns customers for accounts receivable with pagination and optional search or external-reference filters.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum number of rows to return in the page.
If defined, a cursor to retrieve the next page.
Pagination cursor to navigate through the full response.
Filter customer by name.
If this is provided, external_reference_type must also be provided.
If this is provided, external_reference_id must also be provided.
Filter customers updated after this timestamp
the field the customers should be sorted by descending (either created or updated)
Response
OK
Example response
{
"customers": [
{
"name": "Bob",
"name_on_invoice": "Bob Johnson",
"address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"shipping_address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"billing_addresses": [
{
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
}
],
"shipping_addresses": [
{
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
}
],
"emails": [
{
"id": "0193a6f2-4c1e-7b8a-9d3f-2e5c8a1b7f40",
"email": "bobjohnson@somedomain.com"
}
],
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"tax_ids": [
{
"value": "DE123456789"
}
]
}
],
"pagination": {
"next_cursor": "iLQvkEj3sh3UiweC"
}
}Changes
- breaking
the
//////response's property type changed fromobjectto no type for status - breaking
the
//////response's property type changed fromobjectto no type for status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added to the
//////response propertyallOflist for the response status - info
added to the
//////response propertyallOflist for the response status - info
response property
customers/items/allOf[CustomerRequest]/addressdeprecated - info
response property
customers/items/allOf[CustomerRequest]/shipping_addressdeprecated
- breaking