Registration, installs and permissions
Coordinate catalog registration with Novinzo, then let sellers install your plugin and grant access.
A catalog entry describes an available plugin. Novinzo manages catalog registration, webhook subscriptions and capability changes.
There is no public self-service registration API or upload portal for plugins offered to every store. Contact Novinzo to coordinate registration and hosted deployment. A plugin only for your own store needs neither: its repository declares it in novinzo.plugin.json and deploys it from GitHub Actions or with a deploy token. See Your own plugins.
You do not need Novinzo's database credentials or source repository. A manifest in your project does not register a plugin.
Catalog tables
The platform tracks plugin identity, store installs, webhook subscriptions and store-issued API credentials separately.
| Record | Purpose |
|---|---|
| Plugin | Stores a unique code, display name, capability flags, requested permissions and retirement state. privateToStoreId marks a private plugin that only that store can install. |
| Store install | Associates a plugin with a store and records that seller's permission grants. |
| Webhook subscription | Associates a plugin with an event code that Novinzo delivers. |
| API access credential | Represents a key a store issued, with the plugins it is granted. Novinzo stores its SHA-256 digest, not its plaintext. |
See API keys for the credential flow.
Catalog flags
Send these values with your registration request. The defaults disable capabilities until the deployed Worker supports them.
| Field | Values and default | Meaning |
|---|---|---|
usesApiAccessCredentials | Boolean, false | Sellers issue API credentials for callers of your storefront public routes and your admin API. |
hasAdminScreens | Boolean, false | The dashboard embeds your plugin page from GET /admin/ui. |
hasPartnerScreens | Boolean, false | Accounts acting as partners of an installing store reach your /partner/** routes. Private plugins cannot set it. |
adminSlots | Array, [] | Additional dashboard slots: product, product-variant, product-variant-delivery, overview, order and customer. |
adminReadPaths | Array, [] | Admin API paths whose POST only reads, such as /admin/list. Analysts reach them; every other non-GET route refuses them. |
adminSections | Array, [] | Sections of your screens an owner can grant a teammate one by one: { id, label, paths, scope? }. See Admin screens. |
adminPermissions | Array, [] | Owner-only actions an owner can give a teammate one by one: { id, label, description }. See Admin screens. |
sidebarGroup | general, sales, store or null (default) | The dashboard sidebar group that lists your plugin page while a store has it installed. Requires hasAdminScreens. |
permissions | Array, [] | Permissions your plugin requests. Each seller grants a subset for their store. |
Changing requested permissions does not increase existing grants.
A plugin that serves a store-less area for partner accounts also requests hasPartnerScreens. See Partner screens.
Register a plugin
Prepare a standalone Worker using the quickstart. Send Novinzo the following coordination inputs:
| Input | Include |
|---|---|
| Identity | A unique code and display name. Codes contain letters, digits, underscores and hyphens, matching ^[\w-]+$. |
| Requested access | The permissions array and the feature that needs each permission. Include orders:read when reading seller order details. |
| Webhook subscriptions | Required event codes and the deployed handlers that accept them. |
| Dashboard integration | hasAdminScreens, adminSlots, and the routes used by each screen. |
| External credentials | usesApiAccessCredentials and the routes that require store-issued credentials. |
| Runtime | Worker code, build instructions, supported HTTP routes, GET /health behavior and required service bindings. |
| Storage | Required D1 databases or other resources, binding names, migrations and compatibility requirements. |
| Release | The staging test plan, production promotion plan and rollback-compatible version. |
This is coordination information, not a payload for a registration endpoint.
Webhook subscriptions include variant-purchased, variant-refunded, variant-deleted, variant-stock-changed, order-refunded, payment-disputed, payment-fraud-warned, payment-attempted, subscription-started, subscription-renewed, subscription-past-due, subscription-ended, checkout-completed, checkout-cancelled, checkout-expired, store-profile-changed, hourly-tick and seller-action. Use the webhook contract for each event's payload and delivery rules.
Most functions do not have separate catalog registrations. Novinzo calls supported functions when the relevant flow needs an installed plugin. Functions Novinzo offers to every subscribed plugin take a subscription like a webhook's: import-migrated-reviews, quote-payment-surcharges, quote-shipping (QuoteShipping), quote-tax (QuoteTax), admit-checkout, extend-order-email, render-order-email and sync-search-records; see Who gets called.
Novinzo provisions bindings, registers the catalog entry and coordinates deployment. Agree on activation order before enabling flags or subscriptions.
What "installed" means
An install is active while the store and plugin remain active and the store has an install record.
Uninstalling or retiring a plugin stops subsequent installation-gated requests. Webhook delivery, function calls and calls into core-for-plugins use the current install state.
The admin proxy, storefront proxy and Liquid PluginBridge also require an install. An unavailable plugin returns 401 through the admin proxy or 404 through the storefront proxy.
Retirement preserves install records but disables their access. A deleted store also loses plugin access.
Install, uninstall and permission RPCs
Sellers manage installs through authenticated RPC requests. These operations act on the active store selected by the seller session and x-store-id. Any store member can call StorePlugins; InstallPlugin, UninstallPlugin and SetPluginPermissions require the store owner.
Plugins cannot install themselves or grant themselves access.
| RPC | JSON payload | Result |
|---|---|---|
| StorePlugins | No payload | Installed entries, including retired entries, with identity, flags, requested permissions and grants. |
| InstallPlugin | { "code": "acme", "permissions": [] } | The installed plugin and its grants. |
| UninstallPlugin | { "code": "acme" } | No result value. |
| SetPluginPermissions | { "code": "acme", "permissions": ["orders:read"] } | The plugin with its new grants. |
The linked references describe the complete request framing and error responses.
- Installing an installed plugin preserves its existing grants. Use
SetPluginPermissionsto change them. - Uninstalling an already-uninstalled catalog plugin succeeds. Repeating install or uninstall requests is safe.
- Each grant appears once and belongs to the catalog's requested permissions. Other grants return
UnrequestedPluginPermissionError. - Unknown or retired plugins reject installs and grant changes with
UnknownPluginError. - Grant changes for an uninstalled plugin return
PluginNotInstalledError. - Uninstalling removes the plugin from every API key of the store and retires its payment methods on the store. A key keeps opening the other plugins it is granted. Reinstallation does not restore the removed grants.
- Uninstalling does not delete the plugin's own stored data. Define your retention policy separately.
- Install changes invalidate cached storefront content.
First-party auto-installs
A seller creating a store chooses which of Novinzo's first-party plugins it starts with. When they are not asked, the store starts with licenses, categories, coupons, affiliates, reviews and resellers. Any other first-party plugin is installed later, as a third-party one is.
Their starting grants match their requested first-party permissions. Third-party plugins require a seller install and are not automatically installed.
Private plugins
A catalog entry can belong to one store. The store is recorded as privateToStoreId. Entries without one are offered to every store.
Only the owning store can install a private plugin. For every other store, InstallPlugin, SetPluginPermissions and UninstallPlugin fail with UnknownPluginError, exactly as for a code the catalog has never had. This applies even when the same seller owns both stores.
Every other surface requires an install record, so a private plugin is unreachable from stores that cannot install it.
Private plugins cannot set hasPartnerScreens. The catalog database rejects that combination, because the partner proxy serves a plugin to accounts outside the owning store.
A store owner creates their own private entry from the plugin repository's novinzo.plugin.json. See Your own plugins.
Permissions
A permission authorizes a named platform capability. Request only the permissions your integration uses.
| Permission | Access |
|---|---|
orders:read | OrderDetails, including customer email, IP address, shipping address, phone number, payment identifiers and delivered keys. Also grants completed-order lookup by visitor identifiers and OrderById, one of the store's orders by id with its buyer and lines. |
orders:list | List: every order of the store a page at a time, with its status, buyer and email, total, lines and adjustments. orders:read does not grant it. |
orders:annotate | AddNote: a note in the plugin's name on one of the store's orders, shown in the order's timeline on the dashboard and never to the buyer. It reads nothing of the order. |
checkout:write | Prepare unpaid checkouts and publish outcomes for those prepared checkouts. It does not take payment or create a paid order. |
customers:email | Read the buyer email for the current order-viewer invocation. It does not grant general customer or order access. |
customers:read | CustomerById and CustomerByEmail: one of the store's customers by id or by email, with their email and whether it is verified. Also Current, the same about the customer a storefront visitor is signed in as. |
customers:list | List: every customer of the store a page at a time, with their email, its verification, when they joined and how many orders they paid for. customers:read does not grant it. |
emails:send | SendEmail and SendEmailToSellers: plain transactional emails in the store's name. See Sending email. |
products:read | ListVariants: the store's live product variants with their product name and price, at most 100, optionally filtered by name. |
payments:provide | Offer a hosted payment page as one of the store's payment methods and report how each payment ended, through PluginPaymentMethodActivate, PluginPaymentMethodDeactivate and PluginPaymentReport. A report completes only the checkout it was recorded for, in its recorded amount and currency. |
products:write | CreateProduct and PublishProduct: add a product with its variants to the store, hidden until the plugin publishes it once. It cannot change, publish or remove any other product. |
sales:write | RecordSales, RecordOrders and RecordPrepaidCreditLines: add sales and orders made outside the checkout to the store's revenue and orders, and leave order lines the plugin delivered as credit for them out of it. It cannot change what an order costs or contains. |
analytics:read | GetAnalytics: the store's revenue, order counts, products sold, checkout sessions and conversion rate over a date range, as the overview charts them, and GetVariantInsights, a product's sales by variant with how often its buyers buy again and what they buy next. Aggregates only: no order, buyer or payment. |
emails:customize | The sending domain RPCs: register the store's own sending domain, read and verify its DNS records, or remove it. Once the domain is verified, RenderOrderEmail writes the order confirmation email sent from it, which carries the order's delivered keys and its order link. See Sending email. |
storefront:inject | SetInjections and ClearInjections: HTML added before </head> and </body> of every storefront page except checkout, order, renewal pay and plugin-served pages, and the https origins those pages' Content Security Policy admits for it under script-src, connect-src, style-src, font-src, img-src and frame-src. The markup runs on the store's origin as the theme does. See Page injections. |
prices:adjust | UpdatePlan: sign the discounts and charges the plugin puts on a buyer's cart, which checkout then charges. |
products:deliver | DeliverVariant, StopDeliveringVariant and SetVariantStock: record that the plugin delivers a variant and set the stock checkout sells it against. |
payments:read | PaymentConnections.List: the payment methods the store has connected and enabled, each with its connection id, provider and name. No credentials or account details. |
keys:issue | VariantKeysIssue: license keys of any variant of the store that another plugin delivers keys for, issued for a sale your plugin makes outside the store's checkout. The keys leave that plugin's stock and no order of the store stands behind them. See IssueKeys. |
push:send | SellerOrderPushSend: tell the store's team about one of its paid orders on the phones they turned notifications on. Novinzo writes what the notification says, from the order, and picks the phones; your plugin learns neither. A second call for the same order sends nothing. |
deliveries:write | OrderLineDeliveryReport: report each part of an order line the plugin delivers and ships as sent, with the label and link the buyer reads. It reports no line another delivery sends, nor more units than a line has, and changes no price. |
replacements:write | OrderLineReplacementHold, Confirm, Release and Shipped: hold units of a variant the plugin ships as a replacement owed on a delivered line, then confirm, release or report them sent. A line's replacements never exceed the units reported delivered on it, and none charges the buyer. |
returns:write | OrderLineRestock: put units of a line the plugin delivers and ships back in stock once they come back, never more than were reported delivered. |
refunds:write | OrderLineRefund: refund units of a line the plugin delivers through the provider that took the payment. Core sets the amount, the line's price for those units and their share of what the order added, never more than is still refundable. |
orders:read, orders:list, customers:read and customers:list also permit buyer email access for the current order viewer.
payments:provide lets your plugin run one of the store's payment methods. See Payments.
Sending email
Novinzo reviews emails:send before adding it to a third-party catalog entry. Describe each email your plugin sends, who receives it and why.
Novinzo renders every email from the plain text your plugin supplies. Your plugin supplies no markup, and the sender is Novinzo's, in the store's name.
A plugin does not need emails:send to add to the order confirmation email through ExtendOrderEmail. It adds plain text under the order and cannot replace the email, its subject or its sender. Its blind copy needs orders:read, since the copy carries the order's delivered keys. A store-private plugin can only ask for the copy.
Only a plugin granted emails:customize may replace the order confirmation email, and only once the store sends it from a domain of its own that the mail provider verified. Every store's email otherwise goes from Novinzo's sending domain, whose reputation all stores share, so content Novinzo did not write never goes out from it. Novinzo reviews emails:customize before adding it to a third-party catalog entry: the plugin writes, and sees, the email that delivers the order's keys.
Without a reason, SendEmail accepts only the store's customers and team members. The invite and account-notice reasons accept any address, so use them only for the invitation or account notice they name.
Every store has an hourly budget of plugin emails, shared by all its plugins. Sends with a reason draw from a smaller part of that budget, and so do sends refused for an unknown recipient.
SendEmailToSellers reaches the store's team or owner. Novinzo resolves those addresses and never returns them.
The backend requires a current invocation, an active install and the seller's grant for each plugin-callable RPC.
Binding props and x-novinzo-plugin-name do not identify the caller. Forward the platform's x-novinzo-plugin-invocation token unchanged.
See Backend RPC for supported calls and Calling the platform for HTTP endpoints.
Adding a new permission
Plugin authors cannot define additional platform permissions. Coordinate new capabilities with Novinzo rather than sending an unknown permission string.
A new request in the catalog does not grant access retroactively. Sellers update existing grants through SetPluginPermissions.
Ordering hazard
Novinzo applies catalog and database changes before promoting candidate Workers. The previous Worker continues serving during this interval.
Deploy handlers before enabling their catalog flags or subscriptions. Enable hasAdminScreens only after the live and rollback versions serve GET /admin/ui.
Use the same order for admin slots and webhook subscriptions. Keep storage changes compatible with both live and rollback versions.
See Deployment for coordinated staging and safe promotion.
