{
"data": [
{
"id": "xYZkjABcde",
"type": "avalara_accounts",
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde"
},
"attributes": {
"commit_invoice": true,
"company_code": "MYCOMPANY",
"created_at": "2018-01-01T12:00:00.000Z",
"ddp": true,
"metadata": {
"foo": "bar"
},
"name": "Personal tax calculator",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"type": "avalara_accounts",
"updated_at": "2018-01-01T12:00:00.000Z",
"username": "user@mydomain.com"
},
"relationships": {
"attachments": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/relationships/attachments",
"related": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/attachments"
}
},
"events": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/relationships/events",
"related": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/events"
}
},
"markets": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/relationships/markets",
"related": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/markets"
}
},
"tax_categories": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/relationships/tax_categories",
"related": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/tax_categories"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/avalara_accounts/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 avalara_accounts (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/avalara_accounts?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/avalara_accounts?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/avalara_accounts?page[number]=14&page[size]=10"
}
}