Get All Customers
Retrieve all customer entities associated with your API key.
Endpoint: GET https://api.walkerstdata.com.au/v1/customer
Request:
- cURL
- JavaScript
- Python
curl -X GET "https://api.walkerstdata.com.au/v1/customer" \
-H "x-api-key: YOUR_API_KEY"
const response = await fetch('https://api.walkerstdata.com.au/v1/customer', {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY',
},
});
const result = await response.json();
const customers = result.data.customers;
import requests
response = requests.get(
'https://api.walkerstdata.com.au/v1/customer',
headers={
'x-api-key': 'YOUR_API_KEY'
}
)
result = response.json()
customers = result['data']['customers']
Response:
{
"data": {
"customers": [
{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"abn": "12345678901"
},
{
"customerId": "550e8400-e29b-41d4-a716-446655440001",
"abn": "98765432109"
},
{
"customerId": "550e8400-e29b-41d4-a716-446655440002",
"abn": "55555555555"
}
]
},
"message": null
}
Use Cases
- Audit existing customers: See which businesses you've already registered
- Dashboard display: Show all customers in your application
- Data validation: Verify customer records exist before processing transactions