You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: synccommerce/docs/models/shared/company.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# Company
2
2
3
-
A company in Codat represent a small or medium sized business, whose data you wish to share
3
+
In Codat, a company represents a business sharing access to their data. Each company can have multiple [connections](https://docs.codat.io/codat-api#/schemas/Connection) to different data sources such as one connection to [Xero](https://docs.codat.io/integrations/accounting/xero/accounting-xero) for accounting data, two connections to [Plaid](https://docs.codat.io/integrations/banking/plaid/banking-plaid) for two bank accounts and a connection to [Zettle](https://docs.codat.io/integrations/commerce/zettle/commerce-zettle) for POS data.
4
+
5
+
Typically each company is one of your customers.
6
+
7
+
When you create a company, you can specify a `name` and we will automatically generate a unique `id` for the company. You can also add a `description` to store any additional information about the company.
Copy file name to clipboardExpand all lines: synccommerce/docs/models/shared/connection.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,15 @@
1
1
# Connection
2
2
3
-
A connection represents the link between a `company` and a source of data.
3
+
A connection represents a [company's](https://docs.codat.io/codat-api#/schemas/Company) connection to a data source and allows you to synchronize data (pull and/or push) with that source.
4
+
5
+
A company can have multiple data connections depending on the type of data source it is connecting to. For example, a single company can link to:
6
+
7
+
-[Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
8
+
-[Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
9
+
-[Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
10
+
Any combination of accounting, banking, and commerce data connections is allowed.
11
+
12
+
Before you can use a data connection to pull or push data, the company must grant you access to their business data by [linking the connection](https://docs.codat.io/auth-flow/overview).
0 commit comments