AccountingAccounts ReceivableCustomers
List customers for a business
GET
Scopes: customer:read
OAuth2ClientCredentialsBearer customer:readheader
AuthorizationBearer <token>Scope: customer:read
business_id*Business IdThe id of the business
Format
biz_stringsearch?|Case-insensitive substring match against the customer's name. (value)
is_disabled?Is DisabledIf true, only disabled customers are returned. Defaults to false (only active).
Default
falsepage_token?|nullpage_size?Page SizeRange
1 <= value <= 100Default
100Successful Response
application/json- response
data*array<>List of customers
pagination*Pagination information
curl -X GET 'https://api.sandbox.getasset.com/v0/business/biz_GA6EG2qFxA97NZHtxeLPUy/customers'Example Response
{ "data": [ { "external_id": "string", "name": "string", "email": "string", "billing_address": { "street_1": "string", "street_2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "shipping_address": { "street_1": "string", "street_2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "phone_number": "string", "id": "string", "is_disabled": true } ], "pagination": { "next_page_token": "string", "previous_page_token": "string" }}