---
title: "Get data status"
method: GET
path: "/companies/{companyId}/dataStatus"
tags: ["Refresh data"]
---

# Get data status

`GET /companies/{companyId}/dataStatus`

Get the state of each data type for a company

## Response `200`

OK

- object
  - `accountTransactions` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `balanceSheet` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `bankAccounts` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `bankTransactions` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `billCreditNotes` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `billPayments` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `bills` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `cashFlowStatement` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `chartOfAccounts` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `company` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `creditNotes` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `customers` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `directCosts` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `directIncomes` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `invoices` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `itemReceipts` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `items` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `journalEntries` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `journals` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `paymentMethods` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `payments` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `profitAndLoss` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `purchaseOrders` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `salesOrders` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `suppliers` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `taxRates` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `trackingCategories` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `transfers` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `banking-accountBalances` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `banking-accounts` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `banking-transactionCategories` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `banking-transactions` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-companyInfo` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-customers` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-disputes` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-locations` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-orders` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-paymentMethods` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-payments` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-productCategories` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-products` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-taxComponents` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.
  - `commerce-transactions` DataStatus — Describes the state of data in the Codat cache for a company and data type
    - `dataType` DataType, required — unresolved $ref
    - `lastSuccessfulSync` Requested — unresolved $ref
    - `currentStatus` DatasetStatus, required — unresolved $ref
    - `latestSyncId` string, uuid — Unique identifier for most recent sync of data type.
    - `latestSuccessfulSyncId` string, uuid — Unique identifier for the most recent successful sync of data type.

## Other responses

- `401` — Your API request was not properly authorized.
- `402` — An account limit has been exceeded. The type of limit is described in the error property: - You have exceeded the 50-company limit that applies to a Free plan. Delete any companies you no longer need and retry the request. - The requested sync schedule is not allowed. You requested an hourly sync schedule but this functionality is not included in the Free plan. - Your Free account is older than 365 days and has expired. Contact support@codat.io.
- `403` — You are using an outdated API key or a key not associated with that resource.
- `404` — One or more of the resources you referenced could not be found. This might be because your company or data connection id is wrong, or was already deleted.
- `429` — Too many requests were made in a given amount of time. Wait a short period and then try again.
- `500` — There is a problem with our server. Please try again later.
- `503` — The Codat API is temporarily offline for maintenance. Please try again later.

---

[API](https://skmtc.net/codatio/apis/codat-sync-commerce.md) · [All operations](https://skmtc.net/codatio/apis/codat-sync-commerce/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codatio/codat-sync-commerce/revisions/22dbd11586e6/schema)
