{
"data": [
{
"id": "1",
"type": "customer",
"attributes": {
"id": 1,
"enterprise_id": 2,
"first_name": "Alice",
"last_name": "Springs",
"code": "BUYER1",
"email": "alice@example.com",
"allow_charges": false,
"tags": [
"staff",
"discount"
],
"terms_and_conditions_accepted_at": "2022-03-12T15:55:00.000+11:00",
"shipping_address": {
"phone": "0404 333 222 111",
"latitude": -37.8173751,
"longitude": 144.964803195704,
"first_name": "Alice",
"last_name": "Springs",
"street_address_1": "1 Flinders Street",
"street_address_2": "",
"postal_code": "1234",
"locality": "Melbourne",
"region": {
"code": "Vic",
"name": "Victoria"
},
"country": {
"code": "AU",
"name": "Australia"
}
}
},
"relationships": {
"enterprise": {
"data": {
"id": "text",
"type": "enterprise"
},
"links": {
"related": "text"
}
}
}
}
],
"meta": {
"pagination": {
"results": 250,
"pages": 5,
"page": 2,
"per_page": 50
}
},
"links": {
"self": "text",
"first": "text",
"prev": "text",
"next": "text",
"last": "text"
}
}