App configuration
This page describes CLI 0.7.0 TOML configuration. Keep each App in an independent project; App Home and backend services deploy separately from UI modules.
Project structure
gowarehouse.app.toml
app-platform-contract.lock.json
contracts/app-platform/api_versions.json
extensions/order-action/
gowarehouse.extension.toml
src/Action.ts
locales/en.default.json
locales/zh-TW.json
out/app-platform-contract.lock.json and the registry record the build's contract baseline. A Portal link snapshot goes into .gowarehouse/contracts/ without overwriting provenance-pinned files. Do not edit the registry to pretend a deployment supports a target.
App settings
| Field | What to provide |
|---|---|
installation_owner | merchant or organization, matching the Portal App identity |
client_id | The real linked App's ID, not a generated placeholder |
name | Source project label; merchant-facing names are managed in the Listing |
application_url | A working HTTPS URL serving your App Home |
[access_scopes].scopes | Comma-separated permissions; the metadata example uses orders:read,orders:write |
[gowarehouse].partners_api_version | Partners date version for a merchant App |
[gowarehouse].connect_api_version | Connect date version for an organization App; choose this or the Partners field |
[gowarehouse].auth_origins | Your App's actual approved HTTPS origins |
The current manifest still requires URLs and non-empty scopes. A UI operation that needs no backend relay does not remove these configuration requirements.
Extension settings
api_version = "2026-10"
[[extensions]]
name = "t:name"
handle = "order-action"
uid = "ext-01900000-0000-7000-8000-000000000001"
type = "ui_extension"
[[extensions.targeting]]
target = "admin.order-details.action.render"
module = "./src/Action.ts"
[extensions.capabilities]
network_access = trueThis illustrates the shape: retain your CLI-generated UID instead of copying this example across Apps. Each extension has one target, which must match its installation owner. Preserve the UID on updates; generating a new UID is not a normal version upgrade.
A module must bundle into a self-contained ESM file with no runtime imports. Every locale must have matching translation keys, and t:name must resolve. The CLI converts en.default.json to the release format during packaging; do not rename it yourself.
Validation and next steps
Run pnpm exec gowarehouse app config validate and correct errors before packaging. Tool validation and Portal / destination validation must all pass. A newer CLI does not automatically add capabilities to an older deployment.
Continue with Targets and capabilities and Publish, install, and upgrade.