How apps work
What a Tanqory app is, how it gets access to a store, and what it can add to the store dashboard.
An app is software you run on your own servers that works with Tanqory stores. A merchant installs it, approves the access it asks for, and from then on the app calls the Admin API for that store.
The parts of an app
| Part | Where you set it | Guide |
|---|---|---|
| Client ID and client secret | Home, made when you create the app | Make your first API call |
| App URL, redirect URLs, access scopes | Configuration | Install and access tokens |
| Opening inside the store dashboard | Configuration, Open inside the store admin | Embedded apps and App Bridge |
| Events from stores | Configuration, Webhooks, or the Admin API | Webhooks |
| Charges to merchants | the Admin API | Charging merchants |
| App blocks and app embeds for themes | Extensions, or the tanqory-partner command line | Theme app extensions |
| Listing in the app store, review | Listing, Review, Distribution | Listing and review |
Versions
Saving Configuration makes a new version. Versions lists them: the newest is Live, and Roll back returns to an older one. An app that is not published yet releases each version at once.
Access scopes
A scope names what the app may read or change, such as read_products or write_orders. A write_ scope also allows the matching reads. Ask only for what the app uses: the merchant sees the list before installing, and every request is checked against it. The operation pages in the API reference show the scope each operation needs, and Access scopes lists them all.
Distribution
| Choice | Who can install | Review | Can charge |
|---|---|---|---|
| Public | any merchant, from the app store | yes | yes |
| Unlisted | merchants with the install link | yes | yes |
| Custom | named stores only | no | no, free to install |
Choosing Custom is final: such an app never goes to the app store. While you build, the app installs on your organization's development stores whatever you choose.
Keep these rules
- Keep the client secret and access tokens on your server only.
- Check every callback, session token and webhook before trusting it (each guide shows how).
- Keep each store's data apart: every row your app stores belongs to one store id.
- Answer the three privacy webhooks,
customers/data_request,customers/redactandshop/redact, within 30 days.