Skip to main content

Orb

Setting up the Orb connector

NoItemRequiredExampleNotes
1Orb API KeyYesOrb API Key, issued from the Orb admin console.
2Start DateYes2022-03-01T00:00:00ZUTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at before this data will not be synced. For Subscription Usage, this becomes the timeframe_start API parameter.
3Lookback Window (in days)NoWhen set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced.
4Event properties keys (string values)NoProperty key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction.
5Event properties keys (numeric values)NoProperty key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction.

Tables in the Orb connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1credits_ledger_entries12idFull Refresh, Incrementalcreated_at
2subscriptions8idFull Refresh, Incrementalcreated_atAPI Reference
3plans6idFull Refresh, Incrementalcreated_atAPI Reference
4subscription_usage6subscription_id, billable_metric_id, timeframe_startFull Refresh, Incrementaltimeframe_start
5customers10idFull Refresh, Incrementalcreated_atAPI Reference

Table: credits_ledger_entries

NoColumn NameTypeNotes
1amountDOUBLE
2credit_block_idVARCHAR
3credit_block_per_unit_cost_basisVARCHAR
4created_atVARCHARIncremental sync key
5new_block_expiry_dateVARCHAR
6descriptionVARCHAR
7ending_balanceDOUBLE
8idVARCHARPrimary Key
9entry_typeVARCHAR
10customer_idVARCHAR
11starting_balanceDOUBLE
12block_expiry_dateVARCHAR

Table: subscriptions

NoColumn NameTypeNotes
1end_dateVARCHAR
2external_customer_idVARCHAR
3created_atVARCHARIncremental sync key
4idVARCHARPrimary Key
5customer_idVARCHAR
6plan_idVARCHAR
7start_dateVARCHAR
8statusVARCHAR

Table: plans

NoColumn NameTypeNotes
1productVARCHAR
2nameVARCHAR
3created_atVARCHARIncremental sync key
4descriptionVARCHAR
5idVARCHARPrimary Key
6pricesVARCHAR

Table: subscription_usage

NoColumn NameTypeNotes
1billable_metric_nameVARCHAR
2subscription_idVARCHARPrimary Key
3timeframe_startVARCHARIncremental sync key, Primary Key
4quantityDOUBLE
5timeframe_endVARCHAR
6billable_metric_idVARCHARPrimary Key

Table: customers

NoColumn NameTypeNotes
1payment_provider_idVARCHAR
2timezoneVARCHAR
3external_customer_idVARCHAR
4payment_providerVARCHAR
5nameVARCHAR
6created_atVARCHARIncremental sync key
7billing_addressVARCHAR
8idVARCHARPrimary Key
9shipping_addressVARCHAR
10emailVARCHAR

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.