Skip to main content

Concepts & Glossary

Understanding the key entities in OC App Store.

How it works​

A Connector creates a Connection with a Company to access their data via the API.

Entities​

Connector​

An external app or platform that integrates with OlaClick. It represents your system as a whole.

  • Has one set of OAuth credentials (client_id + client_secret)
  • Can connect to multiple Companies
  • Manages its connections via app-level scopes

Examples: a POS system, a fiscal notes provider, an analytics platform.

Company​

A restaurant or food business registered in OlaClick. Companies have their own orders, menu, clients, and settings.

  • Identified by a company_id (UUID)
  • Can be connected to multiple Connectors
  • The company owner approves or manages connections from the OlaClick panel

Connection​

The link between a Connector and a Company. It determines what data the Connector can access for that specific Company.

  • Has a status that reflects the onboarding/KYC state
  • Created when a company installs/connects your app
  • Scoped to one (Connector, Company) pair

Connection statuses​

StatusDescription
pendingConnection created, waiting for the provider to complete onboarding/KYC
activeConnection fully operational, the company is receiving events
in_provider_reviewProvider is reviewing the company's application
awaiting_company_confirmationProvider needs the company to take action (e.g. complete a KYC step)
rejectedProvider rejected the company's application
revokedCompany or admin disconnected, connection terminated
info

Connection status is informational — it describes the KYC/onboarding state, not API access. A Company Token can be obtained for any non-revoked connection.

Status transitions​

Only apps can transition statuses via PATCH /v1/conections/:id. Admin transitions are unrestricted.

Token types​

Connectors use two types of tokens depending on the operation. See Authentication for the full flow.

Tokencompany_id in requestUse case
App TokenNoManage connections (list, activate, reject)
Company TokenYesAccess company data (orders, menu, invoices)

Glossary​

TermDefinition
ConnectorYour app registered in OC App Store
CompanyA restaurant/business on OlaClick (identified by company_id)
ConnectionThe link between a Connector and a Company
App TokenOAuth token without company context — for managing connections
Company TokenOAuth token with company_id — for accessing a specific company's data
ScopePermission granted to a token (e.g. orders:read, conections:write)
client_idPublic identifier for your OAuth client
client_secretSecret credential for authenticating your OAuth client
application_idInternal UUID identifying your app

Relationship summary​

RelationshipCardinality
Connector → ConnectionsOne to many
Company → ConnectionsOne to many
Connector → Companies (via Connections)Many to many