# Docs - [Introduction](/docs): Build plugins, Liquid themes, and integrations through supported HTTP and browser interfaces. - **Guides** - Getting started - [Platform overview](/docs/getting-started): The HTTP interfaces that plugins, themes, and external integrations can use. - [Core concepts](/docs/getting-started/concepts): Stores, plugin surfaces, invocation tokens, permissions, credentials, and JSON values. - [Local development](/docs/getting-started/local-development): Develop a standalone plugin, test its HTTP behavior, and prepare a hosted integration with Novinzo. - Your store's API - [Your store's API](/docs/store-api): Read and change your store's products, orders, customers, deliveries and webhook endpoints from your own server with a store API key. - [Connect an AI assistant](/docs/store-api/mcp): Let Claude, Cursor or another MCP client read and change your store with a store API key. - Apps reference - Affiliates - [Archive Link](/docs/store-api/reference/affiliates/AdminAffiliates.ArchiveLink): Archives a link for good: nothing unarchives it. Its URL still sends visitors to its page, but their arrivals are no longer recorded, so they earn it no clicks and no orders. What earlier arrivals earned stays credited to it. - [Create Affiliate](/docs/store-api/reference/affiliates/AdminAffiliates.CreateAffiliate) - [Create Link](/docs/store-api/reference/affiliates/AdminAffiliates.CreateLink): A new link of an affiliate. Its code is case-sensitive and stays taken in the store for good, archived links included. A link is shared on the store's own domain as /r/, and as /r/?to=, URL-encoded, when its destination is not /: a visitor lands on the page the URL names, or on / when it names none, whatever the link's destinationPath. - [Link Stats](/docs/store-api/reference/affiliates/AdminAffiliates.LinkStats): Every link of the store, archived ones included, with what visitors' arrivals on it in clickedBetween did. clicks counts arrivals, one visitor's less than a minute apart once; uniqueClicks counts visitors. A visitor's arrivals on a link over one UTC day count in the window that holds the last of them. attributedOrders counts the completed orders those arrivals earned: an order is credited to its visitor's last arrival on any of the store's links in the 30 days before it, so one order counts for one link only, and it may complete up to 30 days after the window ends. It counts orders, not their revenue. - [List Affiliates](/docs/store-api/reference/affiliates/AdminAffiliates.ListAffiliates) - [List Links](/docs/store-api/reference/affiliates/AdminAffiliates.ListLinks): Every link of the store, archived ones included: those with an archivedAt. A link is shared on the store's own domain as /r/, and as /r/?to=, URL-encoded, when its destination is not /: a visitor lands on the page the URL names, or on / when it names none, whatever the link's destinationPath. - [Record Click](/docs/store-api/reference/affiliates/AdminAffiliates.RecordClick): Records that visitorId arrived on the store's link code, as a visit to /r/ on the store's domain does, for a merchant whose own site the visitor arrived on. Arrivals of one visitor on a link less than a minute apart count once. recorded is false when code names no live link of the store: an unknown or archived one. To credit the visitor's order, name the same visitorId when creating its headless checkout session. - Coupons - [Add Coupon](/docs/store-api/reference/coupons/AdminCoupons.AddCoupon): A new coupon. A "percentage" discount's amount is a percent from 0 to 100, so 15 takes 15% off, not 0.15. A "fixed" discount's amountInMinorUnits comes off the cart's subtotal, and never more than it. Its code must be one no other live coupon of the store has. scope {"_tag":"store"} takes the discount off the whole cart; {"_tag":"chosen","productIds":[...],"variantIds":[...]} (ids from ListStoreVariants, at least one and at most 100 together) takes it off only the cart lines of those products and variants: a percentage off each such line, a fixed amount shared between them and never more than they cost, and a cart holding none of them is refused the coupon. - [Archive Coupon](/docs/store-api/reference/coupons/AdminCoupons.ArchiveCoupon): Archives a coupon for good: checkouts no longer accept its code, and it cannot be restored. Orders it already discounted keep their discount. - [Get Coupon](/docs/store-api/reference/coupons/AdminCoupons.GetCoupon): One of the store's live coupons, by its id. - [List Archived Coupons](/docs/store-api/reference/coupons/AdminCoupons.ListArchivedCoupons): The store's archived coupons, a page at a time. An archived coupon is over for good: it applies to no checkout, cannot be read, modified or restored, and its code is free for a new coupon. - [List Coupons](/docs/store-api/reference/coupons/AdminCoupons.ListCoupons): The store's live coupons, a page at a time. Only those active now unless includeInactive is "true": without it, coupons scheduled to start or already ended are left out. The dashboard's list sends "true". - [List Store Variants](/docs/store-api/reference/coupons/AdminCoupons.ListStoreVariants): The store's live product variants, by product name, at most 100, those whose product or variant name holds `search` when it is given: what a coupon limited to chosen products is limited to. - [Modify Coupon](/docs/store-api/reference/coupons/AdminCoupons.ModifyCoupon): Replaces a live coupon's terms with these: one left out is cleared, so without active the coupon is live until archived. Refused once an order or a checkout still in progress has claimed the coupon; a claim of a checkout that ends unpaid stops counting. To change a coupon in use, archive it and add a new one. A "percentage" discount's amount is a percent from 0 to 100, so 15 takes 15% off, not 0.15. A "fixed" discount's amountInMinorUnits comes off the cart's subtotal, and never more than it. Its code must be one no other live coupon of the store has. scope {"_tag":"store"} takes the discount off the whole cart; {"_tag":"chosen","productIds":[...],"variantIds":[...]} (ids from ListStoreVariants, at least one and at most 100 together) takes it off only the cart lines of those products and variants: a percentage off each such line, a fixed amount shared between them and never more than they cost, and a cart holding none of them is refused the coupon. - Issued keys - [Get License](/docs/store-api/reference/issued-keys/IssuedLicenses.GetLicense) - [List Licenses](/docs/store-api/reference/issued-keys/IssuedLicenses.ListLicenses): The keys the store issued, newest first, a numbered page at a time with the count of all that match. status keeps keys of one status. q finds by an exact key, an order id or a customer's email address. - [Replace License](/docs/store-api/reference/issued-keys/IssuedLicenses.ReplaceLicense): Revokes an issued key and issues another in its place, for the same order or the same sale of an app, with the same terms and the validity the first had left. The new key is generated, or taken from the product's unsold keys when the store supplies them; with none left, nothing changes. Answers the new key. - [Revoke License](/docs/store-api/reference/issued-keys/IssuedLicenses.RevokeLicense): Revokes an issued key for good: it no longer activates, and the buyer sees it as revoked on their order. A key an app sold has no order: it stops activating, and the app is not told. A key already revoked is answered as it is. - Licenses - [Disable Variant](/docs/store-api/reference/licenses/Variants.DisableVariant): Turns license keys off for a product variant: its later buyers get no key. It deletes the variant's terms and its unsold supplied keys for good, and turning keys on again does not bring them back. Licenses already sold keep working with their own terms. - [Get Variant](/docs/store-api/reference/licenses/Variants.GetVariant) - [Update Variant](/docs/store-api/reference/licenses/Variants.UpdateVariant): Turns license keys on for a product variant, or sets the terms of its licenses. validForMs is how long a license lasts from its sale, in milliseconds, and 0 means it never expires; maxUses is how many times its key may be activated, and 0 means unlimited. Licenses already sold keep the terms they were sold with. A "generated" keySource makes a key for each sale; a "supplied" one sells its keys, and either replaces the variant's unsold keys, so saving "generated" drops them. You never see those keys: the form keeps them, whereas with "review": "approval" this payload runs as it is and replaces them, so use the form for a variant whose keys the store supplies. - Reseller catalog - [Archive Product](/docs/store-api/reference/reseller-catalog/AdminCatalog.ArchiveProduct): Archives every duration of a product for good: resellers can no longer buy it, and nothing unarchives it. Keys already bought keep working. ListProducts still lists it, with its archivedAt. - [Create Price Rule](/docs/store-api/reference/reseller-catalog/AdminCatalog.CreatePriceRule): A new price rule. Per unit, one of the store's own resellers pays its own FixedPrice of the SKU, else its tier's, else the SKU's listPriceMinor less its tier's discountBps; then the largest promotion running for it comes off that, never several together, and then the largest volume bracket its line's quantity reaches. Brackets apply to every reseller. Percentages are basis points: 1000 is 10%. A sub-reseller pays its upline's unit cost plus the markup its upline set instead. PreviewPricing answers what a reseller would pay. - [Create Product](/docs/store-api/reference/reseller-catalog/AdminCatalog.CreateProduct): A new product resellers may buy keys of, at one or more durations. Each duration is a SKU: durationMinutes is how long its keys last once activated, and null makes lifetime keys. listPriceMinor is the price before tier discounts and price rules. The provider product cannot change afterwards. With connectionId "store" the product sells the store's own keys: providerProductId is one of ListStoreKeyProducts, and it sells at one duration, which you state as its keys last. - [Create Tier](/docs/store-api/reference/reseller-catalog/AdminCatalog.CreateTier): A new tier, with no resellers yet. discountBps comes off every SKU's list price unless a fixed price applies. A tier's policy says what its resellers may do: a support action not in allowedActions is refused; a quota limits an allowed action per UTC day, ISO week or calendar month, and an allowed action without a quota has no limit. Past an hwid_reset quota, a reset costs hwidResetOverageMinor, or is refused when that is null. A reseller's overrides replace single fields of its tier's policy (GetReseller). - [Delete Price Rule](/docs/store-api/reference/reseller-catalog/AdminCatalog.DeletePriceRule) - [Delete Tier](/docs/store-api/reference/reseller-catalog/AdminCatalog.DeleteTier): Refused while any membership or invite still names the tier. - [Get Product Changelog](/docs/store-api/reference/reseller-catalog/AdminCatalog.GetProductChangelog): The release notes the provider published for the product, newest first, at most 50: none when its provider does not declare products.changelog. - [List Price Rules](/docs/store-api/reference/reseller-catalog/AdminCatalog.ListPriceRules): The store's price rules, promotions ended or not yet started included. Per unit, one of the store's own resellers pays its own FixedPrice of the SKU, else its tier's, else the SKU's listPriceMinor less its tier's discountBps; then the largest promotion running for it comes off that, never several together, and then the largest volume bracket its line's quantity reaches. Brackets apply to every reseller. Percentages are basis points: 1000 is 10%. A sub-reseller pays its upline's unit cost plus the markup its upline set instead. PreviewPricing answers what a reseller would pay. - [List Products](/docs/store-api/reference/reseller-catalog/AdminCatalog.ListProducts): The store's products, archived ones included, each with the durations it sells at. - [List Skus](/docs/store-api/reference/reseller-catalog/AdminCatalog.ListSkus): Every duration of every product, archived ones included, as price rules and purchases name them. - [List Tiers](/docs/store-api/reference/reseller-catalog/AdminCatalog.ListTiers): The store's reseller tiers. A tier's policy says what its resellers may do: a support action not in allowedActions is refused; a quota limits an allowed action per UTC day, ISO week or calendar month, and an allowed action without a quota has no limit. Past an hwid_reset quota, a reset costs hwidResetOverageMinor, or is refused when that is null. A reseller's overrides replace single fields of its tier's policy (GetReseller). - [Preview Pricing](/docs/store-api/reference/reseller-catalog/AdminCatalog.PreviewPricing): What one reseller would pay for these lines right now. - [Update Product](/docs/store-api/reference/reseller-catalog/AdminCatalog.UpdateProduct): Replaces the product's name, visibility and durations. A duration naming its skuId keeps its SKU, at its own length, with this price and minimum; one without a skuId is a new SKU; a duration on sale that is left out is archived, and keys already bought of it keep working. - [Update Tier](/docs/store-api/reference/reseller-catalog/AdminCatalog.UpdateTier): Replaces the tier's name, discount and whole policy with these, for every reseller of the tier at once: a field left as it was must be sent as it was. A tier's policy says what its resellers may do: a support action not in allowedActions is refused; a quota limits an allowed action per UTC day, ISO week or calendar month, and an allowed action without a quota has no limit. Past an hwid_reset quota, a reset costs hwidResetOverageMinor, or is refused when that is null. A reseller's overrides replace single fields of its tier's policy (GetReseller). - Reseller connections - [Check Connection](/docs/store-api/reference/reseller-connections/AdminConnections.CheckConnection) - [Create Connection](/docs/store-api/reference/reseller-connections/AdminConnections.CreateConnection): Saves the connection and asks the provider for its manifest. A connection whose provider does not answer is saved as failing, so the seller can fix the credentials and check again. - [List Connections](/docs/store-api/reference/reseller-connections/AdminConnections.ListConnections) - [List Provider Products](/docs/store-api/reference/reseller-connections/AdminConnections.ListProviderProducts) - [List Store Key Products](/docs/store-api/reference/reseller-connections/AdminConnections.ListStoreKeyProducts): The store's own products that deliver a license key, each variant as a product resellers can be sold: what CreateProduct takes with connectionId "store". The first 100 by product name, as core lists them. Empty when the store sells no keys of its own. - [Rotate Connection Credentials](/docs/store-api/reference/reseller-connections/AdminConnections.RotateConnectionCredentials) - [Update Connection](/docs/store-api/reference/reseller-connections/AdminConnections.UpdateConnection) - Reseller emails - [Get Email Status](/docs/store-api/reference/reseller-emails/AdminEmails.GetEmailStatus): The store's latest emails to resellers and invitees, and whether the last one was skipped because the store has not granted the plugin emails:send. - Reseller finance - [Adjust Balance](/docs/store-api/reference/reseller-finance/AdminFinance.AdjustBalance): Credits or debits the reseller's balance with the store. A sub-reseller's balance is with their upline, which records what they pay it: refused with 400 `InvalidRequestError`. - [Assign Top Up](/docs/store-api/reference/reseller-finance/AdminFinance.AssignTopUp): Credits an unclaimed top-up to a reseller: its amountMinor and its bonusMinor on top. For a sub-reseller, every upline above it is credited the same, since the store took the payment that each level owes the one above. Only an unclaimed top-up can be assigned. - [Create Credit Product](/docs/store-api/reference/reseller-finance/AdminFinance.CreateCreditProduct): Creates a product on the store with one variant priced at minorPerUnit and sells that variant as reseller credit, as PutCreditVariant does: a unit costs what it credits. The product stays hidden until it is sold as credit, and stays hidden when selling or publishing it fails; a retry then creates another product. - [Dismiss Top Up](/docs/store-api/reference/reseller-finance/AdminFinance.DismissTopUp): Closes an unclaimed top-up without crediting anyone, once the seller refunded its order in core. - [Extend Statement Due](/docs/store-api/reference/reseller-finance/AdminFinance.ExtendStatementDue): Moves an unpaid statement's due date to dueAt, which may be any time after its period ends, earlier included. Whether the statement is overdue, blocks purchases or suspends the reseller is read off the new date, and a reseller suspended for it is reinstated when its statements are next settled, unless another is still that late. Refused for a paid statement and for a sub-reseller's, which its upline bills. - [Get Currency History](/docs/store-api/reference/reseller-finance/AdminFinance.GetCurrencyHistory): The store's changes of currency, oldest first, each with the rate the plugin carried balances and owed statements over at: a unit of `from` was worth `rate` of `to`. What was charged, paid or earned before a change keeps the currency it was in; converting it across every change from the latest one out of its currency gives what it is worth in the store's currency now. Empty for a store that never changed its currency. - [Get Reseller Ledger](/docs/store-api/reference/reseller-finance/AdminFinance.GetResellerLedger): The entries that moved the reseller's balance, newest first. amountMinor is positive for a credit and negative for a debit, and the balance is their sum. A purchase_hold is what a purchase cost, kept for good unless a purchase_release gives back what was not minted; action_charge is a paid support action; topup and bonus are payments in; topup_reversal takes one back after a refund in core. A sub-reseller's balance is with its upline, not the store. Each entry's amount is in its own `currency`, the store's when it was written: entries from before the store changed its currency keep the one they were written in, so never add amounts of different currencies. - [Get Reseller Statement Document](/docs/store-api/reference/reseller-finance/AdminFinance.GetResellerStatementDocument): The statement as a print-ready HTML document, the same one the reseller gets. Print it to PDF from a browser. - [Get Settings](/docs/store-api/reference/reseller-finance/AdminFinance.GetSettings): The store's reseller settings. refundPolicy is what a reseller gets back for an unused key it revokes. defaultTerms are the terms an invite offers as it is sent: changing them changes no existing reseller's terms (SetResellerTerms). subResellerLevels is how many levels of sub-resellers may buy below the store's own resellers. - [List Credit Variants](/docs/store-api/reference/reseller-finance/AdminFinance.ListCreditVariants) - [List Overdue](/docs/store-api/reference/reseller-finance/AdminFinance.ListOverdue): The overdue statements of the store's own resellers; sub-resellers owe their uplines, not the store, and are left out. daysOverdue counts from the due date. A reseller cannot buy only once a statement is overdue by more than its terms' graceDays (GetReseller). - [List Reseller Statements](/docs/store-api/reference/reseller-finance/AdminFinance.ListResellerStatements): The reseller's statements. A statement's amountDueMinor is the debt new in its period, not the balance: statements do not add up to what the reseller owes. A payment pays the oldest unpaid statement whose period ended before it, so one made during a period pays none of that period's statement. overdue is unpaid past dueAt; purchases are blocked only once one is overdue by more than the terms' graceDays. - [List Store Variants](/docs/store-api/reference/reseller-finance/AdminFinance.ListStoreVariants): The store's live product variants, by product name, at most 100, those whose product or variant name holds `search` when it is given: what the seller picks a variant to sell credit through from. - [List Top Ups](/docs/store-api/reference/reseller-finance/AdminFinance.ListTopUps) - [Put Credit Variant](/docs/store-api/reference/reseller-finance/AdminFinance.PutCreditVariant): Sells this variant as reseller credit: core is told this plugin delivers it, and each unit bought credits minorPerUnit to the buyer's balance. A unit is credited at minorPerUnit as it stands when core delivers the order, which may be after a change made since it was paid. - [Remove Credit Variant](/docs/store-api/reference/reseller-finance/AdminFinance.RemoveCreditVariant): Stops selling the variant as reseller credit: units bought from then on credit no balance. The product and its variant stay in the store as they are, so they keep selling unless the seller hides or archives them. - [Update Settings](/docs/store-api/reference/reseller-finance/AdminFinance.UpdateSettings): Replaces the store's reseller settings. refundPolicy is what a reseller gets back for an unused key it revokes. defaultTerms are the terms an invite offers as it is sent: changing them changes no existing reseller's terms (SetResellerTerms). subResellerLevels is how many levels of sub-resellers may buy below the store's own resellers. - [Write Off Statement](/docs/store-api/reference/reseller-finance/AdminFinance.WriteOffStatement): Credits what the statement still owes as a write-off and closes it, which lifts any purchase block it caused. - Reseller insight - [Granted Product Revenue](/docs/store-api/reference/reseller-insight/AdminInsight.GrantedProductRevenue): What the products the store's owner granted the caller earned the store in the window, by name: for each duration, keys sold, what the store refunded, and what its resellers paid it less those refunds. No other product, and nothing of who bought them. Only a teammate granted products reads it; anyone else is refused and reads SellerProductRevenue. Each row's money is in its own `currency`: what was sold before the store changed its currency is converted into the store's currency now at the rate of each change since (GetCurrencyHistory), so a product has a row of its own in another currency only for what no recorded change converts. - [List Audit](/docs/store-api/reference/reseller-insight/AdminInsight.ListAudit) - [List Product Options](/docs/store-api/reference/reseller-insight/AdminInsight.ListProductOptions): The store's products by name, archived ones included, for the store's owner to pick which of them a teammate reads the figures of (GrantedProductRevenue). - [Seller Analytics](/docs/store-api/reference/reseller-insight/AdminInsight.SellerAnalytics): How the store's resellers did from `from` up to `to`, a window of at most 366 days: each reseller's sales, keys sold and activated, what they paid in it, and what they owe now. Every money figure is in `currency`, the store's currency now, and so are the rows' `currency`: what was charged, paid or earned before the store changed its currency is converted into it at the rate of each change since (GetCurrencyHistory) and added; only what no recorded change converts is left out and summed per currency in `otherCurrencies`. `outstandingMinor` and `overdueMinor` are worked out from balances and statements, which a change of the store's currency carries over at the day's rate, so they are in `currency` too. - [Seller Product Revenue](/docs/store-api/reference/reseller-insight/AdminInsight.SellerProductRevenue): Every product the store's resellers bought or were refunded in the window, most net revenue first: keys sold, what the store refunded, and what they paid it less those refunds. With `membershipId`, only keys bought by or through that reseller, its whole downline included. Each row's money is in its own `currency`: what was sold before the store changed its currency is converted into the store's currency now at the rate of each change since (GetCurrencyHistory), so a product has a row of its own in another currency only for what no recorded change converts. - Reseller purchases and keys - [Admin Get Key](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminGetKey) - [Admin Get Purchase](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminGetPurchase) - [Admin List Actions](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminListActions) - [Admin List Keys](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminListKeys): Every key of the store, or the keys of the reseller named by membershipId, each with the reseller who holds it. - [Admin List Purchases](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminListPurchases): The store's reseller purchases, newest first. Without membershipId, only those of the store's own resellers, which pay the store: a sub-reseller's order shows as its upline's resale purchase, at the upline's price. With status pending_approval, only those waiting for the store, not those waiting for an upline. totalMinor is what was ordered; chargedMinor is what it cost after releases of keys not minted. - [Admin List Trials](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminListTrials): The provider products the seller may mint trial keys of: each one a live product listing sells, with the longest a trial may last. With none, the first step of the store's trial setup that is missing. Fails with the provider's error when a connection's provider cannot list its products. A reseller may mint trials of those a live product listing they can see sells, while every policy of their chain allows trial and its quota is not used up; a trial lasts up to the product's maxMinutes, whatever the durations its listings sell. - [Admin Mint Trial](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminMintTrial): Mints one free trial key of a product AdminListTrials lists for an active reseller, whose keys it joins, lasting `minutes` or, left out, the product's trial limit. The seller's own trial: the reseller's role, policy and trial quota do not apply, and nothing is charged. - [Admin Retry Purchase](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminRetryPurchase): Retries minting a purchase still processing, the way the reseller's retry does. - [Admin Run Key Action](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminRunKeyAction): Runs a support action on any key of the store, for the seller. It goes through the same pipeline as a reseller's action but skips the reseller's role, policy and quotas, and is never charged; the provider must still declare the capability. Revoking an unused key refunds its reseller per the store's refund policy. - [Admin Run Key Actions](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.AdminRunKeyActions): Runs one support action on several keys of the store, each as AdminRunKeyAction would, one after another, and answers what became of each. - [Approve Purchase](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.ApprovePurchase): Mints a purchase that waited for approval. A provider that cannot be reached leaves it processing; it is retried when read. - [Approve Purchases](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.ApprovePurchases): Approves several purchases, each as ApprovePurchase would, one after another, and answers what became of each. - [Reject Purchase](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.RejectPurchase) - [Reject Purchases](/docs/store-api/reference/reseller-purchases-and-keys/AdminKeys.RejectPurchases): Rejects several purchases, each as RejectPurchase would, one after another, and answers what became of each. - Reseller suppliers - [List Supplier Deliveries](/docs/store-api/reference/reseller-suppliers/AdminSuppliers.ListSupplierDeliveries) - [List Supplier Downlines](/docs/store-api/reference/reseller-suppliers/AdminSuppliers.ListSupplierDownlines): For each reseller account the store buys a supplier's keys as, how many resellers sell under it at that supplier: every level below it, and those it invited itself. None when the store sells no supplier's product. - [List Supplier Links](/docs/store-api/reference/reseller-suppliers/AdminSuppliers.ListSupplierLinks): The store's variants delivered from a supplier the seller resells for. unitPriceMinor is what a key costs from the supplier, in supplier.currency; variantPriceMinor is what the store sells the variant for, in the store's currency. Compare them only in one currency. - [Remove Supplier Link](/docs/store-api/reference/reseller-suppliers/AdminSuppliers.RemoveSupplierLink): Stops delivering the variant from its supplier. Orders already being delivered finish through the supplier they started with. - Resellers - [Cancel Invite](/docs/store-api/reference/resellers/AdminResellers.CancelInvite) - [Cancel Invites](/docs/store-api/reference/resellers/AdminResellers.CancelInvites): Cancels several invites, each as CancelInvite would, one after another, and answers what became of each. - [Create Invite](/docs/store-api/reference/resellers/AdminResellers.CreateInvite): Invites an email to resell for the store and emails it a link to the partner area when the store granted emails:send; `email` says what became of that email. The token and `link`, the dashboard URL that opens the invite, are also shown once for the seller to share, and the invite appears in the partner area of the account that verified this email. - [Get Reseller](/docs/store-api/reference/resellers/AdminResellers.GetReseller): One reseller, with effectivePolicy: what it trades under, its tier's policy (or its upline's, for a sub-reseller) with its overrides on top, each override replacing that one field. An action an upline's policy refuses is refused to it too. - [List Invites](/docs/store-api/reference/resellers/AdminResellers.ListInvites) - [List Resellers](/docs/store-api/reference/resellers/AdminResellers.ListResellers): Every reseller of the store, its sub-resellers included: one with an upline buys through it. tierId names the tier of one of the store's own resellers, as ListTiers lists them; without one, it buys with no limits but may take no support action, trials included, unless its overrides allow it. A sub-reseller has no tier: it trades under its upline's policy, less the upline's monthly cap and approval threshold, with the overrides its upline set it, and every level above it must allow an action too. GetReseller answers the policy each one trades under. - [Reinstate Reseller](/docs/store-api/reference/resellers/AdminResellers.ReinstateReseller): Lifts the reseller's suspension. One suspended for an overdue statement is suspended again when its statements are next settled, while one is still unpaid past its terms' autoSuspendAfterDays: extend or write off that statement first. A removed reseller stays removed, answered as it is. - [Reinstate Resellers](/docs/store-api/reference/resellers/AdminResellers.ReinstateResellers): Reinstates several resellers, each as ReinstateReseller would, one after another, and answers what became of each. - [Remove Reseller](/docs/store-api/reference/resellers/AdminResellers.RemoveReseller): Removes the reseller; they keep their keys and history, and the invites they sent sub-resellers are cancelled. Refused with 409 `ConflictError` (`has-sub-resellers`) while sub-resellers still buy through them. - [Remove Resellers](/docs/store-api/reference/resellers/AdminResellers.RemoveResellers): Removes several resellers, each as RemoveReseller would, one after another, and answers what became of each. - [Resend Invite](/docs/store-api/reference/resellers/AdminResellers.ResendInvite): Issues a new token for a pending or expired invite, restarts its 7 days and emails the new link. The old token stops working. - [Set Reseller Commission](/docs/store-api/reference/resellers/AdminResellers.SetResellerCommission): Sets the share of its sub-resellers' purchases the reseller keeps. With a commission, a sub-reseller's purchase costs the reseller what the sub-reseller right below it pays less the commission, rather than the reseller's own price; null goes back to its own price. - [Set Reseller Notes](/docs/store-api/reference/resellers/AdminResellers.SetResellerNotes) - [Set Reseller Overrides](/docs/store-api/reference/resellers/AdminResellers.SetResellerOverrides): Replaces all of the reseller's overrides with these: one left out goes back to its tier's value, or, for a reseller without a tier, to no support action. An override replaces its whole field, so overriding allowedActions or quotas replaces the tier's whole list: to add one action, send the tier's list with it. Refused for a sub-reseller, whose policy is its upline's to set. - [Set Reseller Terms](/docs/store-api/reference/resellers/AdminResellers.SetResellerTerms) - [Set Reseller Tier](/docs/store-api/reference/resellers/AdminResellers.SetResellerTier) - [Suspend Reseller](/docs/store-api/reference/resellers/AdminResellers.SuspendReseller): Blocks the reseller's partner area and API in this store. With revokeUnusedKeys, their unused keys are revoked at the provider and refunded per the store's refund policy. - [Suspend Resellers](/docs/store-api/reference/resellers/AdminResellers.SuspendResellers): Suspends several resellers, each as SuspendReseller would, one after another, and answers what became of each. With revokeUnusedKeys every unused key of theirs is revoked too, which costs a request as much as a reseller does; the dashboard sends those one reseller at a time. - Reviews - [Create Order Review](/docs/store-api/reference/reviews/AdminReviews.CreateOrderReview): Publishes the buyer's review of one line of one of the store's paid orders, such as one paid through your own checkout, as if they had left it on their order page: source "buyer", status "published", under the order's customer. orderItemId names the line. An empty message leaves a rating without words. A line takes one review, from either surface: a second is ReviewAlreadySubmittedError. An order of another store, or none the store has, is OrderNotFoundError; one not yet paid for is OrderNotPaidError. Only the store's owner, or an app API key, may call it: a team member is StoreOwnerRequiredError. - [Get Review](/docs/store-api/reference/reviews/AdminReviews.GetReview) - [Import Reviews](/docs/store-api/reference/reviews/AdminReviews.ImportReviews): Imports up to 100 reviews from another platform, published, with no order: source "migration", as a store migration brings them. Answers one outcome per review, in order: Imported with the review's id and notes on what was changed to fit (a message or reply shortened), or Skipped with the reason, such as a rating that is not one to five stars or a product (or variant) that is not one of the store's live ones. A key imported before, here or by a store migration, is answered Imported again with the same id, and changes nothing: retry a call freely. Only the store's owner, or an app API key, may call it: a team member is StoreOwnerRequiredError. - [List Reviews](/docs/store-api/reference/reviews/AdminReviews.ListReviews): One page of the reviews of all the store's products, newest first, and the total of those that match; given ratings or statuses, only those. Without statuses it holds hidden reviews too. Only "published" ones show on the storefront and count toward a product's rating, those copied from another platform (source "migration") included. It takes no product: to answer about one product, read every page. - [Reply To Review](/docs/store-api/reference/reviews/AdminReviews.ReplyToReview): Sets the seller's reply to a review, replacing any earlier one. Shoppers see it under the review on the storefront while the review is published. An empty reply takes it down. - [Set Review Status](/docs/store-api/reference/reviews/AdminReviews.SetReviewStatus): Publishes a review on the storefront or hides it from there. A "hidden" review stays on the dashboard only and leaves its product's rating; publishing it again puts it back in. - Volume discounts - [List Volume Discounts](/docs/store-api/reference/volume-discounts/AdminVolumeDiscounts.ListVolumeDiscounts): Every volume discount of the store, the store-wide one first, at most 100, with the names of the product and variant each covers. A cart line with at least a tier's minQuantity units takes that tier's percentOff (a percent from 0 to 100, so 15 takes 15% off) off the line, the highest tier it reaches. A line takes the volume discount of its variant, else of its product, else the store's. At most 10 tiers, each starting at more units and taking more off than the one before. - [Remove Volume Discount](/docs/store-api/reference/volume-discounts/AdminVolumeDiscounts.RemoveVolumeDiscount): Removes the volume discount for scope, if there is one: its lines fall back to the next scope's. Orders it already discounted keep their discount. - [Set Volume Discount](/docs/store-api/reference/volume-discounts/AdminVolumeDiscounts.SetVolumeDiscount): Sets the tiers of the volume discount for scope, replacing any it had. Checkouts priced with the old tiers are asked to price the cart again. A cart line with at least a tier's minQuantity units takes that tier's percentOff (a percent from 0 to 100, so 15 takes 15% off) off the line, the highest tier it reaches. A line takes the volume discount of its variant, else of its product, else the store's. At most 10 tiers, each starting at more units and taking more off than the one before. - Plugins - [Plugin system](/docs/plugins): Build standalone HTTP Workers, integrate with Novinzo's public contracts and coordinate hosted registration. - [Build your first plugin](/docs/plugins/quickstart): Build a standalone Cloudflare Worker with persistent purchase recording, tenant-scoped reads, and local HTTP exercises. - [Registration, installs and permissions](/docs/plugins/registration): Coordinate catalog registration with Novinzo, then let sellers install your plugin and grant access. - [Your own plugins](/docs/plugins/store-private-plugins): Build a plugin for your own store in your own repository, and deploy it to Novinzo from your terminal or CI. - [Webhooks](/docs/plugins/webhooks): Event payloads, delivery status codes, retries, and durable deduplication for standalone plugin Workers. - [Functions](/docs/plugins/functions): Synchronous plugin HTTP contracts, tenant identity, checkout failure behavior, and persistent D1 handler examples. - [Calling the platform](/docs/plugins/core-api): Call Novinzo through service-binding HTTP requests for products, orders, customers, email, discounts, stock and storefront caches. - [Payments](/docs/plugins/payments): Run a store's hosted payment method from a plugin, report each payment's outcome and receive provider notifications. - [Storefront surfaces](/docs/plugins/storefront): Serve browser routes, Liquid data, theme blocks, and static assets through a store's domain. - [Admin screens](/docs/plugins/admin-screens): Build a self-contained dashboard screen with native browser APIs and the Novinzo message-port protocol. - [Partner screens](/docs/plugins/partner-screens): Serve a store-less dashboard area to accounts that act for other sellers' stores, and identify those accounts safely. - [API access credentials](/docs/plugins/api-keys): Authenticate merchant servers on plugin routes using Novinzo-issued plugin API keys and the current store invocation. - [Reading dashboard data](/docs/plugins/backend-rpc): Call permission-gated backend RPCs through a service binding with the current invocation token. - [Testing plugins](/docs/plugins/testing): Exercise standalone Worker handlers and persistent local storage, then make sure that platform staging integration works. - [Deployment](/docs/plugins/deployment): Build locally with Wrangler and coordinate hosted staging, bindings and production promotion with Novinzo. - [Security checklist](/docs/plugins/security): Understand invocation identity, isolate store data and fail closed when authentication or required permissions fail. - [Reference plugins](/docs/plugins/reference-plugins): Learn delivery, checkout, storefront, partner and payment integration patterns from Novinzo's first-party plugins. - Storefront & themes - [Storefront API](/docs/storefront): Use same-origin JSON routes, plugin endpoints, hosted web components, and Liquid themes on a store domain. - [Your own frontend](/docs/storefront/headless): Build your store's frontend yourself, such as a Next.js site, on the store's JSON API. - [Choosing a theme](/docs/storefront/themes): Pick one of Novinzo's themes for a store on Settings → Theme, change its settings, and see how a theme of your own fits in. - [Liquid themes](/docs/storefront/liquid): Create theme files, use the public render context, and call plugin data and blocks from Liquid. - [Deploying a theme](/docs/storefront/theme-deploy): Keep a store's theme in a GitHub repository and deploy it with GitHub Actions on every push, checked the way the storefront will render it. - [Previewing a theme while you edit it](/docs/storefront/theme-dev): Upload a theme to a preview of your store on every save with the theme CLI, without committing or deploying, and share the preview link. - Checkout from your site - [Checkout from your own site](/docs/checkout): Sell from your own website or app and take payment with your store's checkout, through checkout sessions your server creates. - Reference - Headless checkout API - [Create Checkout Session](/docs/checkout/reference/headless-checkout-api/CheckoutSessions.CreateCheckoutSession) - [Get Checkout Session](/docs/checkout/reference/headless-checkout-api/CheckoutSessions.GetCheckoutSession) - Store webhooks - [Store webhooks](/docs/store-webhooks): Receive a store's events and deliver products from your own server, with signed HTTPS requests. - [Event webhooks](/docs/store-webhooks/events): Subscribe an HTTPS endpoint to a store's order, checkout and subscription events, with signed requests and automatic retries. - [Product delivery webhooks](/docs/store-webhooks/product-delivery): Issue a variant's deliverables, such as license keys, from your own server when an order is paid. - Resellers - [Sell from your own website](/docs/resellers): Mint a key from the store you resell for at the moment your own customer pays, with no stock and nothing paid upfront. - Reference - Reseller API - [Annotate Key](/docs/resellers/reference/reseller-api/ResellerApiV1.AnnotateKey) - [Create Purchase](/docs/resellers/reference/reseller-api/ResellerApiV1.CreatePurchase): Prices the lines, holds the total against balance plus credit limit, and mints the keys. With expectedTotalMinor, a total that differs from it refuses the purchase with QuoteChangedError, carrying the new total. A purchase over the approval threshold waits for the seller with its funds held. A provider that cannot be reached leaves it processing; reading it retries. - [Get Api Me](/docs/resellers/reference/reseller-api/ResellerApiV1.GetApiMe): The account the key belongs to and its standing in this store. - [Get Balance](/docs/resellers/reference/reseller-api/ResellerApiV1.GetBalance) - [Get Catalog](/docs/resellers/reference/reseller-api/ResellerApiV1.GetCatalog): The SKUs the caller can buy, priced for it at their minimum quantity. Each carries its product's productStatus as the provider describes it: a key of the provider's own making, a label, a tone (success, warning, danger, info or neutral) and an optional message; null when the provider gives none. A status is information only: it changes nothing the caller may buy. publishesChangelog tells whether GetCatalogChangelog has release notes to answer for it. - [Get Catalog Changelog](/docs/resellers/reference/reseller-api/ResellerApiV1.GetCatalogChangelog): The release notes the provider published for a product of the catalog, newest first, at most 50. body is GitHub-flavoured Markdown. A product the caller cannot buy is not found. - [Get Key](/docs/resellers/reference/reseller-api/ResellerApiV1.GetKey): The key with its status refreshed from the provider. `liveStatus` says how fresh it is: `live` when the provider answered just now, `unavailable` when it could not be reached and the last snapshot is returned, `unknown_to_provider` when the provider does not know the key (no action that calls it is offered). `quotaRefusals` names the offered actions a used-up quota refuses now, of the caller or of a reseller they buy through, with when each is allowed again; past a quota with an overage price the action is charged instead. - [Get Ledger](/docs/resellers/reference/reseller-api/ResellerApiV1.GetLedger): Each entry's amount is in its own `currency`, the store's when it was written: entries from before the store changed its currency keep the one they were written in, so never add amounts of different currencies. - [Get Purchase](/docs/resellers/reference/reseller-api/ResellerApiV1.GetPurchase) - [Get Quote](/docs/resellers/reference/reseller-api/ResellerApiV1.GetQuote) - [Get Statement Document](/docs/resellers/reference/reseller-api/ResellerApiV1.GetStatementDocument): The statement as a print-ready HTML document: the period's ledger entries, the totals, the due date and the status. Print it to PDF from a browser. - [List Keys](/docs/resellers/reference/reseller-api/ResellerApiV1.ListKeys) - [List Key Tags](/docs/resellers/reference/reseller-api/ResellerApiV1.ListKeyTags): The distinct tags on the caller's own keys in this store, each with how many keys carry it, most used first: at most 500. Pass one as ListKeys' `tag` to list those keys. - [List Purchases](/docs/resellers/reference/reseller-api/ResellerApiV1.ListPurchases): The caller's purchases, newest first: its own orders and what it pays for its sub-resellers' orders. `q` matches the start of a purchase id, or part of its note or of a product name. `subResellerId` names one of the caller's direct sub-resellers; any other membership is not found. - [List Trials](/docs/resellers/reference/reseller-api/ResellerApiV1.ListTrials): The provider products the caller may mint trial keys of, each with the longest a trial may last. Empty when the store's policy does not allow trials. Fails with the provider's error when a connection's provider cannot list its products, rather than answer a list missing that connection's trials. - [Mint Trial](/docs/resellers/reference/reseller-api/ResellerApiV1.MintTrial): Mints one free trial key of a provider product listed by ListTrials, lasting `minutes` or, left out, the product's trial limit. Counts against the trial quota. - [Quote Key Action](/docs/resellers/reference/reseller-api/ResellerApiV1.QuoteKeyAction): Prices a support action on a key without running it: what RunKeyAction would charge now, and what revoking the key would refund. Refused for the same reasons RunKeyAction would be, short of funds and the provider call. - [Retry Purchase](/docs/resellers/reference/reseller-api/ResellerApiV1.RetryPurchase) - [Run Key Action](/docs/resellers/reference/reseller-api/ResellerApiV1.RunKeyAction): Runs a support action on a key the reseller owns. A key of another reseller or store is not found, and the provider is never called for it. The key is read from the provider first, and the action refused unless the key is in a state it applies to. A priced action is charged before the provider is called and released if the provider refuses it; a provider that does not answer leaves the action pending with its charge held, asked again under the same id when the key is next opened, and the key takes no other action meanwhile. - [Tag Keys](/docs/resellers/reference/reseller-api/ResellerApiV1.TagKeys): Adds and removes tags on up to 200 of the caller's own keys at once, and answers those keys as tagged. Their notes are left as they are. It is not a support action and costs nothing. Every key changes or none does: a key of anyone else, or of another store, is not found, and a key that would carry more than 20 tags fails the request with TagLimitExceededError naming every such key. A request that adds and removes the same tag, or names no tag, is refused with InvalidRequestError. - Money and custody - [How Novinzo handles your money](/docs/custody): Where a buyer's payment goes, what Novinzo stores, and why Novinzo cannot move, freeze or lose a store's funds. - [The crypto wallet's rules](/docs/custody/crypto-wallet): The rules Novinzo's non-custodial wallet is built to, what the servers store, and how a withdrawal is signed. - [Verify it yourself](/docs/custody/verify): What a seller can check in their own browser about Novinzo's wallet pages, and what that does and does not prove. - **Reference** - API reference - [API reference](/docs/api-reference): HTTP schemas for platform requests to plugins and plugin requests to core for plugins. - Plugin contract - Functions - [Admit Checkout](/docs/api-reference/plugin-contract/functions/functions.AdmitCheckout) - [Cancel Hosted Payment](/docs/api-reference/plugin-contract/functions/functions.CancelHostedPayment) - [Charge Saved Method](/docs/api-reference/plugin-contract/functions/functions.ChargeSavedMethod) - [Check Variant Stock](/docs/api-reference/plugin-contract/functions/functions.CheckVariantStock) - [Create Hosted Payment](/docs/api-reference/plugin-contract/functions/functions.CreateHostedPayment) - [Extend Order Email](/docs/api-reference/plugin-contract/functions/functions.ExtendOrderEmail) - [Import Migrated Reviews](/docs/api-reference/plugin-contract/functions/functions.ImportMigratedReviews) - [Issue Keys](/docs/api-reference/plugin-contract/functions/functions.IssueKeys) - [Quote Payment Surcharges](/docs/api-reference/plugin-contract/functions/functions.QuotePaymentSurcharges) - [Quote Shipping](/docs/api-reference/plugin-contract/functions/functions.QuoteShipping) - [Quote Tax](/docs/api-reference/plugin-contract/functions/functions.QuoteTax) - [Reconcile Hosted Payments](/docs/api-reference/plugin-contract/functions/functions.ReconcileHostedPayments) - [Remove Saved Method](/docs/api-reference/plugin-contract/functions/functions.RemoveSavedMethod) - [Render Order Email](/docs/api-reference/plugin-contract/functions/functions.RenderOrderEmail) - [Resolve Delivered Keys](/docs/api-reference/plugin-contract/functions/functions.ResolveDeliveredKeys) - [Sync Search Records](/docs/api-reference/plugin-contract/functions/functions.SyncSearchRecords) - [Test Function](/docs/api-reference/plugin-contract/functions/functions.TestFunction) - [Verify Price Adjustment](/docs/api-reference/plugin-contract/functions/functions.VerifyPriceAdjustment) - Webhooks - [Checkout Cancelled](/docs/api-reference/plugin-contract/webhooks/webhooks.CheckoutCancelled) - [Checkout Completed](/docs/api-reference/plugin-contract/webhooks/webhooks.CheckoutCompleted) - [Checkout Expired](/docs/api-reference/plugin-contract/webhooks/webhooks.CheckoutExpired) - [Hourly Tick](/docs/api-reference/plugin-contract/webhooks/webhooks.HourlyTick) - [Order Refunded](/docs/api-reference/plugin-contract/webhooks/webhooks.OrderRefunded) - [Payment Attempted](/docs/api-reference/plugin-contract/webhooks/webhooks.PaymentAttempted) - [Payment Disputed](/docs/api-reference/plugin-contract/webhooks/webhooks.PaymentDisputed) - [Payment Fraud Warned](/docs/api-reference/plugin-contract/webhooks/webhooks.PaymentFraudWarned) - [Seller Action](/docs/api-reference/plugin-contract/webhooks/webhooks.SellerAction) - [Store Profile Changed](/docs/api-reference/plugin-contract/webhooks/webhooks.StoreProfileChanged) - [Subscription Ended](/docs/api-reference/plugin-contract/webhooks/webhooks.SubscriptionEnded) - [Subscription Past Due](/docs/api-reference/plugin-contract/webhooks/webhooks.SubscriptionPastDue) - [Subscription Renewed](/docs/api-reference/plugin-contract/webhooks/webhooks.SubscriptionRenewed) - [Subscription Started](/docs/api-reference/plugin-contract/webhooks/webhooks.SubscriptionStarted) - [Test Webhook](/docs/api-reference/plugin-contract/webhooks/webhooks.TestWebhook) - [Variant Deleted](/docs/api-reference/plugin-contract/webhooks/webhooks.VariantDeleted) - [Variant Purchased](/docs/api-reference/plugin-contract/webhooks/webhooks.VariantPurchased) - [Variant Refunded](/docs/api-reference/plugin-contract/webhooks/webhooks.VariantRefunded) - [Variant Stock Changed](/docs/api-reference/plugin-contract/webhooks/webhooks.VariantStockChanged) - Core for plugins - API access credentials - [Verify Api Access Credential](/docs/api-reference/core-for-plugins/api-access-credentials/ApiAccessCredentials.VerifyApiAccessCredential): Resolve the store a bearer token presented to the calling plugin was issued for. The request that presented it reached the plugin through the storefront, which invoked the plugin for that same store. - Catalog - [Create Product](/docs/api-reference/core-for-plugins/catalog/Catalog.CreateProduct): Adds a product with its variants to the store, with unlimited stock and no images, archived: hidden from the storefront until PublishProduct, so the plugin can first set up what selling it needs (such as its delivery) and no buyer pays for it before that. Its URL slug comes from its name. Answers the new variants in the order given. Requires the store to have granted the plugin products:write. - [List Variants](/docs/api-reference/core-for-plugins/catalog/Catalog.ListVariants): Lists the store's live product variants, archived and deleted ones left out, by product name then the seller's variant order; at most 100. Each names the plugin that delivers it, and deliveredBy keeps only one plugin's. Requires the store to have granted the plugin products:read. - [Publish Product](/docs/api-reference/core-for-plugins/catalog/Catalog.PublishProduct): Makes a product the calling plugin created live on the storefront, like one the seller made, and tells the storefront its content changed. Only the first call publishes it: once live the product is the seller's, so one they archive afterwards stays archived and later calls change nothing. A product the plugin did not create, another store's, or a deleted one is not found. Requires the store to have granted the plugin products:write. - Customers - [Customer By Email](/docs/api-reference/core-for-plugins/customers/Customers.CustomerByEmail): One of the store's customers by email, compared without regard to case: their id, email and whether they verified it. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for; an address that is only another store's customer is not found. Requires the store to have granted the plugin customers:read. - [Customer By Id](/docs/api-reference/core-for-plugins/customers/Customers.CustomerById): One of the store's customers by id: their email and whether they verified it. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for; another store's customer is not found. Requires the store to have granted the plugin customers:read. - [List](/docs/api-reference/core-for-plugins/customers/Customers.List): The store's customers, newest first, at most 100 a page: each with their email, whether they verified it, when they joined and how many of their orders were paid for. `createdAfter` (inclusive) and `createdBefore` (exclusive) bound when they joined. Pass a page's `nextCursor` back as `cursor`, with the same filters, for the page after it; it is null on the last page. Customers who join while you page through are newer than the first page, so the pages after it neither skip nor repeat a customer. Requires the store to have granted the plugin customers:list. - Emails - [Send Email](/docs/api-reference/core-for-plugins/emails/Emails.SendEmail): Queues a plain transactional email in the store's name. Core renders the subject, heading, paragraphs, optional https button and footer into its own template, escaping every field; the plugin supplies no markup. Without a reason, the recipient must be the store's customer or team member; with reason invite or account-notice, any address. Rate-limited per store, with a smaller budget shared by emails sent with a reason and refused sends. A repeated idempotencyKey answers the first send's id when the email is the same and is refused when it differs. Delivered by core's outbox, normally within minutes. Requires the store to have granted the plugin emails:send. - [Send Email To Sellers](/docs/api-reference/core-for-plugins/emails/Emails.SendEmailToSellers): Queues a plain transactional notice to the store's own sellers, rendered like SendEmail. Core resolves the recipients from the store's team (audience team, the default) or its owner (audience owner), only verified addresses, and never returns them. The team is the owner and the members who may open the plugin's app; a member kept out of the app, or out of an area its granted permissions reach, such as orders, gets nothing: the answer is one email id per recipient and their count. Each recipient counts against the store's hourly budget, and the whole send is refused if it does not fit. A repeated idempotencyKey with different content is refused. Requires the store to have granted the plugin emails:send. - Orders - [Add Note](/docs/api-reference/core-for-plugins/orders/Orders.AddNote): Adds a note in the calling plugin's name to one of the store's orders, which the seller reads in the order's timeline: plain text of 1 to 500 characters, line breaks allowed, at level info, warning, success or error. The buyer never sees it. An order of another store, or one the store removed, is OrderNotInStore. A plugin adds at most 100 notes to one order; past that the call is OrderNotesLimitReached and writes nothing. Requires the store to have granted the plugin orders:annotate. - [Completed By Visitor Ids](/docs/api-reference/core-for-plugins/orders/Orders.CompletedByVisitorIds): Which of the store's completed orders carry the given visitor ids, oldest charge first. Core does not interpret a visitor id; the caller joins it to whatever wrote it. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Requires the store to have granted the plugin orders:read. - [List](/docs/api-reference/core-for-plugins/orders/Orders.List): The store's orders, newest first, at most 100 a page: each with its status, its customer's id and email, its total, when it was placed and paid, its lines, and the discounts, charge lines and surcharges that take the lines to a charged total. `createdAfter` (inclusive) and `createdBefore` (exclusive) bound when they were placed, and `status` keeps one status. Pass a page's `nextCursor` back as `cursor`, with the same filters, for the page after it; only a null `nextCursor` means the last page, since a page can hold fewer orders than `limit`. Orders placed while you page through are newer than the first page, so the pages after it neither skip nor repeat an order. Requires the store to have granted the plugin orders:list. - [Order By Id](/docs/api-reference/core-for-plugins/orders/Orders.OrderById): One of the store's orders by id: whether it has been paid for, its customer's id and email, and its lines, oldest first, each with its order item id and the product and variant it was bought as. An order of another store, or one the store removed, is OrderNotInStore. Requires the store to have granted the plugin orders:read. - Payment connections - [List](/docs/api-reference/core-for-plugins/payment-connections/PaymentConnections.List): The ways to pay the store has connected and enabled, oldest first: each connection's id, its provider and the name the seller knows it by. A disabled or removed connection is left out, and so is store credit, which a buyer pays with only from a balance of their own. No credential or account detail of any connection. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Requires the store to have granted the plugin payments:read. - Price adjustment - [Update Plan](/docs/api-reference/core-for-plugins/price-adjustment/PriceAdjustment.UpdatePlan): Update the Price Adjustment Plan: replace caller's items, re-sign, return new PAPL JWT. - Product deliveries - [Deliver Variant](/docs/api-reference/core-for-plugins/product-deliveries/ProductDeliveries.DeliverVariant): Records that the calling plugin delivers this variant of the store, and whether it ships it to the buyer's address. Idempotent: the record exists once however often it is called, and holds the latest `ships`. Refused while the seller delivers the variant by webhook, which delivers it alone, and, for a delivery that ships, while a plugin owns the variant's stock. - [Set Variant Stock](/docs/api-reference/core-for-plugins/product-deliveries/ProductDeliveries.SetVariantStock): Sets the stock core sells a variant against, taking ownership of it for the calling plugin when no other delivering plugin owns it. The count is the plugin's absolute count; core subtracts the units still held by open checkouts and by paid orders the plugin has not delivered. A report naming `deliveredOrderId` releases that order's hold on this variant only; an order of several variants needs one report per variant. - [Stop Delivering Variant](/docs/api-reference/core-for-plugins/product-deliveries/ProductDeliveries.StopDeliveringVariant): Removes the calling plugin's delivery records for this variant of the store; other deliveries stay. - Products - [Products By Id](/docs/api-reference/core-for-plugins/products/Products.ProductsById): Hydrate products by id. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for; another store's product is omitted. - Sales - [Record Orders](/docs/api-reference/core-for-plugins/sales/Sales.RecordOrders): Records orders the calling plugin took for the store outside its checkout as they stand now, at most 100 a call, which the dashboard counts among the store's orders on the day each was placed: open and completed ones as orders, their units as products sold, their amounts in the average order value. Their money reaches revenue through RecordSales, not here. An order's optional `title` names what it sold, which the dashboard lists it by, and its optional `products` (at most 100, each `ref` once) the units of each product of the plugin's own catalogue it sold, which the dashboard compares with the store's products; the latest report naming a product renames it. A product's optional `amountMinor` is the part of the order's amount its units were charged, which the dashboard counts as the product's revenue wherever it shows revenue by product; without one the product counts its units and no revenue. Report an order again whenever it changes; core keeps the latest report of each `ref` by `asOf`, ignoring an older one, so a report can be retried whole. An order placed more than a day ahead, or read (`asOf`) more than five minutes ahead, is refused with SaleDatedAhead, recording nothing of the report. Requires the store to have granted the plugin sales:write. - [Record Prepaid Credit Lines](/docs/api-reference/core-for-plugins/sales/Sales.RecordPrepaidCreditLines): Records order lines the calling plugin took in as credit its buyers spend through it, at most 100 a call: each is the lines of an order of the store that bought a variant, which the plugin reports the spending of with RecordSales. The dashboard leaves those lines out of revenue, orders and products sold, so the money counts once, when it is spent. Only a line the calling plugin delivered, as its order recorded when it was paid, is taken; the others come back as unmatched. A recorded line stays recorded. Idempotent. Requires the store to have granted the plugin sales:write. - [Record Sales](/docs/api-reference/core-for-plugins/sales/Sales.RecordSales): Records sales the calling plugin made for the store outside its checkout, at most 100 a call, which the dashboard adds to the store's revenue on the day each occurred. A sale in another currency than the store's is kept but, like an order in an earlier store currency, not added. Idempotent per `ref`, so a report can be retried whole; a `ref` already recorded as another sale is refused with SaleRefReused, and a sale dated more than a day ahead with SaleDatedAhead, each recording nothing of the report. Requires the store to have granted the plugin sales:write. - Search - [Remove Records](/docs/api-reference/core-for-plugins/search/Search.RemoveRecords): Removes records of the calling plugin from the store's dashboard search, at most 500 a call. An id that is not searchable is skipped, so a call can be retried whole. - [Save Records](/docs/api-reference/core-for-plugins/search/Search.SaveRecords): Makes records of the calling plugin searchable in the store's dashboard search, or updates them, at most 500 a call. Write a record when it is created or changes; the dashboard shows what was written last, so a call can be retried whole. Titles and subtitles are shown as plain text: whitespace runs collapse to one space, control and direction-override characters are dropped, and text past 120 (title) or 160 (subtitle) characters is cut with "…". A record targeting a product or order the store does not have is refused with SearchTargetNotInStore, writing nothing. - [Sync Records](/docs/api-reference/core-for-plugins/search/Search.SyncRecords): Replaces all the calling plugin's searchable records of the store, a page of at most 500 at a time: send every page with the same `generation`, and `done: true` with the last. Records written since the first page of the generation, by it or by SaveRecords, stay; the rest are removed once it is done. A page can be retried, and a resync abandoned midway removes nothing; a new `generation` starts over, and a page of an earlier one sent after it only writes its records. Use it to fill search with records written before the plugin wrote them as they changed, or to repair it. - Signed in customer - [Current](/docs/api-reference/core-for-plugins/signed-in-customer/SignedInCustomer.Current): The customer the storefront visitor whose request the calling plugin handles is signed in as: their id, their email and whether they verified it. Null for a guest, an expired session, a customer the store no longer has, and every invocation the storefront did not mint for a visitor's request to the plugin's public routes, such as a webhook's. The customer comes from the invocation token, never from the request. Requires the store to have granted the plugin customers:read. - Store content - [Announce Change](/docs/api-reference/core-for-plugins/store-content/StoreContent.AnnounceChange): Tells core that the calling plugin changed data the store's storefront renders, so pages cached before the change stop being served. Call it after the change is committed: announced earlier, a page rendered from the old data can be cached as current. - Store profile - [Get Store Profile](/docs/api-reference/core-for-plugins/store-profile/StoreProfile.GetStoreProfile): The store's public identity: its name, its currency, every change of its currency with the rate it was made at, and its storefront's URL. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Needs no permission: nothing of it is private to the seller. - Storefront injections - [Clear Injections](/docs/api-reference/core-for-plugins/storefront-injections/StorefrontInjections.ClearInjections): Removes the HTML the calling plugin adds to the store's storefront pages, and the origins it had admitted. Idempotent. Requires the store to have granted the plugin storefront:inject. - [Set Injections](/docs/api-reference/core-for-plugins/storefront-injections/StorefrontInjections.SetInjections): Replaces the HTML the calling plugin adds to the store's storefront pages: `head` right before each page's , `body` right before its , each at most 16384 bytes, placed as given, unescaped. Every storefront page gets it except the checkout, order and subscription renewal pay pages and the pages plugins serve. Each origin list, at most 16 https origins, is added to one directive of those pages' Content Security Policy: `scriptOrigins` to script-src, `connectOrigins` (which also takes wss origins) to connect-src, and the optional `styleOrigins`, `fontOrigins`, `imgOrigins` and `frameOrigins` to style-src, font-src, img-src and frame-src. Pages show the change once core has announced it, which this call does. Idempotent. Uninstalling the plugin, or withdrawing storefront:inject, removes the injection from the pages. Requires the store to have granted the plugin storefront:inject. - Viewed order - [Viewed](/docs/api-reference/core-for-plugins/viewed-order/ViewedOrder.Viewed): The order whose viewer the storefront proved the calling plugin acts for. The order comes from the invocation token, never from the request, so a plugin cannot read any other. - RPC - [RPC](/docs/rpc): Call the backend over HTTP without private packages and understand its authentication and JSON messages. - Reference - Analytics - [GetAnalytics](/docs/rpc/reference/analytics/GetAnalytics): The store's sales measures for sellers and plugins with its analytics:read grant. A store API key can call it, a read-only one included. Plugins can call this RPC with the invocation token after the store grants `analytics:read`. - Cart - [StorefrontSynchronizeCart](/docs/rpc/reference/cart/StorefrontSynchronizeCart): Re-prices a client-held cart against the current catalogue. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/cart/synchronize`, which forwards the shopper's cookies. - Checkout - [CheckoutCancel](/docs/rpc/reference/checkout/CheckoutCancel): Checkout sessions. The checkout session id is the capability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/cancel`, which forwards the shopper's cookies. - [CheckoutChangePaymentMethod](/docs/rpc/reference/checkout/CheckoutChangePaymentMethod): Checkout sessions. The checkout session id is the capability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/change-payment-method`, which forwards the shopper's cookies. - [CheckoutComplete](/docs/rpc/reference/checkout/CheckoutComplete): Checkout sessions. The checkout session id is the capability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/complete`, which forwards the shopper's cookies. - [CheckoutInitiate](/docs/rpc/reference/checkout/CheckoutInitiate): Checkout sessions. The checkout session id is the capability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/initiate`, which forwards the shopper's cookies. - [CheckoutInitiatePrepared](/docs/rpc/reference/checkout/CheckoutInitiatePrepared): Checkout sessions. The checkout session id is the capability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/initiate-prepared`, which forwards the shopper's cookies. - Customer auth - [CustomerLogout](/docs/rpc/reference/customer-auth/CustomerLogout): Email one-time-code sign in for shoppers. The store comes from the Host. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/auth/logout`, which forwards the shopper's cookies. - [CustomerOtpRequest](/docs/rpc/reference/customer-auth/CustomerOtpRequest): Email one-time-code sign in for shoppers. The store comes from the Host. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/auth/otp-request`, which forwards the shopper's cookies. - [CustomerOtpVerify](/docs/rpc/reference/customer-auth/CustomerOtpVerify): Email one-time-code sign in for shoppers. The store comes from the Host. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/auth/otp-verify`, which forwards the shopper's cookies. - Customer orders - [StorefrontListOrders](/docs/rpc/reference/customer-orders/StorefrontListOrders): Orders of the signed-in shopper. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/orders`, which forwards the shopper's cookies. - Customer subscriptions - [StorefrontCancelSubscription](/docs/rpc/reference/customer-subscriptions/StorefrontCancelSubscription): Subscriptions of the signed-in shopper, and cancelling one at the end of its period. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/subscriptions/cancel`, which forwards the shopper's cookies. - [StorefrontListSubscriptions](/docs/rpc/reference/customer-subscriptions/StorefrontListSubscriptions): Subscriptions of the signed-in shopper, and cancelling one at the end of its period. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/subscriptions`, which forwards the shopper's cookies. - Customers - [StoreUserGetById](/docs/rpc/reference/customers/StoreUserGetById): The store's customers and what they ordered. A store API key can call it, a read-only one included. - [StoreUserList](/docs/rpc/reference/customers/StoreUserList): The store's customers and what they ordered. A store API key can call it, a read-only one included. - Invoices - [StorefrontDownloadInvoice](/docs/rpc/reference/invoices/StorefrontDownloadInvoice): Signed invoice downloads for an order's viewer. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/orders/invoice`, which forwards the shopper's cookies. The viewer is the signed-in shopper or a guest holding an order access grant cookie. - Order access - [StorefrontGetOrder](/docs/rpc/reference/order-access/StorefrontGetOrder): Order pages for guests (signed access links) and signed-in shoppers. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/orders/get`, which forwards the shopper's cookies. The viewer is the signed-in shopper or a guest holding an order access grant cookie. - Order line deliveries - [OrderLineDeliveryReport](/docs/rpc/reference/order-line-deliveries/OrderLineDeliveryReport): How a plugin with the store's deliveries:write grant reports what it delivered on a line. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `deliveries:write`. - Order line refunds - [OrderLineRefund](/docs/rpc/reference/order-line-refunds/OrderLineRefund): Refunds of the lines a plugin with the store's refunds:write grant delivers. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `refunds:write`. - Order line replacements and returns - [OrderLineReplacementConfirm](/docs/rpc/reference/order-line-replacements-and-returns/OrderLineReplacementConfirm): Replacement units a plugin that ships a line holds and sends, and units it puts back in stock once they return. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `replacements:write`. - [OrderLineReplacementHold](/docs/rpc/reference/order-line-replacements-and-returns/OrderLineReplacementHold): Replacement units a plugin that ships a line holds and sends, and units it puts back in stock once they return. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `replacements:write`. - [OrderLineReplacementRelease](/docs/rpc/reference/order-line-replacements-and-returns/OrderLineReplacementRelease): Replacement units a plugin that ships a line holds and sends, and units it puts back in stock once they return. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `replacements:write`. - [OrderLineReplacementShipped](/docs/rpc/reference/order-line-replacements-and-returns/OrderLineReplacementShipped): Replacement units a plugin that ships a line holds and sends, and units it puts back in stock once they return. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `replacements:write`. - [OrderLineRestock](/docs/rpc/reference/order-line-replacements-and-returns/OrderLineRestock): Replacement units a plugin that ships a line holds and sends, and units it puts back in stock once they return. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `returns:write`. - Order logs - [OrderLogListByOrder](/docs/rpc/reference/order-logs/OrderLogListByOrder): What happened to an order, in order. A store API key can call it, a read-only one included. - Order payments - [OrderAcceptLatePayment](/docs/rpc/reference/order-payments/OrderAcceptLatePayment): Marking an order paid that its payment provider has not confirmed. Only a seller signed in to the dashboard can call it; store API keys are refused. - [OrderAcceptPayment](/docs/rpc/reference/order-payments/OrderAcceptPayment): Marking an order paid that its payment provider has not confirmed. Only a seller signed in to the dashboard can call it; store API keys are refused. - Orders - [OrderDetails](/docs/rpc/reference/orders/OrderDetails): The store's orders. Plugins with the store's orders:read grant can read an order's details. A store API key can call it, a read-only one included. Plugins can call this RPC with the invocation token after the store grants `orders:read`. - [OrderDownloadInvoice](/docs/rpc/reference/orders/OrderDownloadInvoice): The store's orders. Plugins with the store's orders:read grant can read an order's details. A store API key can call it, a read-only one included. - [OrderMarkCompleted](/docs/rpc/reference/orders/OrderMarkCompleted): The store's orders. Plugins with the store's orders:read grant can read an order's details. Only a seller signed in to the dashboard can call it; store API keys are refused. - [OrderRetryPluginDelivery](/docs/rpc/reference/orders/OrderRetryPluginDelivery): The store's orders. Plugins with the store's orders:read grant can read an order's details. A store API key can call it, unless the key is read-only. - [OrdersList](/docs/rpc/reference/orders/OrdersList): The store's orders. Plugins with the store's orders:read grant can read an order's details. A store API key can call it, a read-only one included. - [OrdersStats](/docs/rpc/reference/orders/OrdersStats): The store's orders. Plugins with the store's orders:read grant can read an order's details. A store API key can call it, a read-only one included. - Payment surcharges - [StorefrontQuotePaymentSurcharges](/docs/rpc/reference/payment-surcharges/StorefrontQuotePaymentSurcharges): What each payment method adds at checkout, before the buyer picks one. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/payment-methods/surcharges`, which forwards the shopper's cookies. - Plugin api keys - [IssuePluginApiKey](/docs/rpc/reference/plugin-api-keys/IssuePluginApiKey): The keys servers outside Novinzo call the public routes of the store's plugins with, each opening the plugins it is granted. Only a seller signed in to the dashboard can call it; store API keys are refused. - [PluginApiKeys](/docs/rpc/reference/plugin-api-keys/PluginApiKeys): The keys servers outside Novinzo call the public routes of the store's plugins with, each opening the plugins it is granted. A store API key can call it, a read-only one included. - [RevokePluginApiKey](/docs/rpc/reference/plugin-api-keys/RevokePluginApiKey): The keys servers outside Novinzo call the public routes of the store's plugins with, each opening the plugins it is granted. A store API key can call it, unless the key is read-only. - Plugin installs - [AvailablePlugins](/docs/rpc/reference/plugin-installs/AvailablePlugins): How a store installs a plugin and grants it permissions. A store API key can call it, a read-only one included. - [InstallPlugin](/docs/rpc/reference/plugin-installs/InstallPlugin): How a store installs a plugin and grants it permissions. A store API key can call it, unless the key is read-only. - [SetPluginPermissions](/docs/rpc/reference/plugin-installs/SetPluginPermissions): How a store installs a plugin and grants it permissions. A store API key can call it, unless the key is read-only. - [StorePlugins](/docs/rpc/reference/plugin-installs/StorePlugins): How a store installs a plugin and grants it permissions. A store API key can call it, a read-only one included. - [UninstallPlugin](/docs/rpc/reference/plugin-installs/UninstallPlugin): How a store installs a plugin and grants it permissions. A store API key can call it, unless the key is read-only. - Plugin payments - [PluginPaymentMethodActivate](/docs/rpc/reference/plugin-payments/PluginPaymentMethodActivate): How a plugin with the store's payments:provide grant runs a payment method. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `payments:provide`. - [PluginPaymentMethodDeactivate](/docs/rpc/reference/plugin-payments/PluginPaymentMethodDeactivate): How a plugin with the store's payments:provide grant runs a payment method. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `payments:provide`. - [PluginPaymentReport](/docs/rpc/reference/plugin-payments/PluginPaymentReport): How a plugin with the store's payments:provide grant runs a payment method. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `payments:provide`. - Prepared checkouts - [PreparedCheckoutCreate](/docs/rpc/reference/prepared-checkouts/PreparedCheckoutCreate): Unpaid checkouts that a seller or authorized plugin prepares for a buyer. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `checkout:write`. - Product deliveries - [DeliveriesGetByProductId](/docs/rpc/reference/product-deliveries/DeliveriesGetByProductId): What each variant delivers: its keys and stock, a file, or a delivery webhook. A store API key can call it, a read-only one included. - [DeliveriesUpdateForVariantId](/docs/rpc/reference/product-deliveries/DeliveriesUpdateForVariantId): What each variant delivers: its keys and stock, a file, or a delivery webhook. A store API key can call it, unless the key is read-only. - Products - [ProductArchive](/docs/rpc/reference/products/ProductArchive): The store's products and their variants. A store API key can call it, unless the key is read-only. - [ProductCreate](/docs/rpc/reference/products/ProductCreate): The store's products and their variants. A store API key can call it, unless the key is read-only. - [ProductGetById](/docs/rpc/reference/products/ProductGetById): The store's products and their variants. A store API key can call it, a read-only one included. - [ProductList](/docs/rpc/reference/products/ProductList): The store's products and their variants. A store API key can call it, a read-only one included. - [ProductRestore](/docs/rpc/reference/products/ProductRestore): The store's products and their variants. A store API key can call it, unless the key is read-only. - [ProductUpdate](/docs/rpc/reference/products/ProductUpdate): The store's products and their variants. A store API key can call it, unless the key is read-only. - Refunds - [RefundCreate](/docs/rpc/reference/refunds/RefundCreate): Refunds of an order's payment through the provider that took it. A store API key can call it, unless the key is read-only. - [RefundGet](/docs/rpc/reference/refunds/RefundGet): Refunds of an order's payment through the provider that took it. A store API key can call it, a read-only one included. - [RefundListForPayment](/docs/rpc/reference/refunds/RefundListForPayment): Refunds of an order's payment through the provider that took it. A store API key can call it, a read-only one included. - [RefundToStoreCredit](/docs/rpc/reference/refunds/RefundToStoreCredit): Refunds of an order's payment through the provider that took it. A store API key can call it, unless the key is read-only. - Seller order push - [SellerOrderPushSend](/docs/rpc/reference/seller-order-push/SellerOrderPushSend): A paid order's notification on the store team's phones, sent by a plugin with the store's push:send grant. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `push:send`. - Sending domains - [SendingDomainGet](/docs/rpc/reference/sending-domains/SendingDomainGet): The store's own sending domain, which an owner or a plugin with the store's emails:customize grant sets up. A store API key can call it, a read-only one included. Plugins can call this RPC with the invocation token after the store grants `emails:customize`. - [SendingDomainRegister](/docs/rpc/reference/sending-domains/SendingDomainRegister): The store's own sending domain, which an owner or a plugin with the store's emails:customize grant sets up. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `emails:customize`. - [SendingDomainRemove](/docs/rpc/reference/sending-domains/SendingDomainRemove): The store's own sending domain, which an owner or a plugin with the store's emails:customize grant sets up. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `emails:customize`. - [SendingDomainVerify](/docs/rpc/reference/sending-domains/SendingDomainVerify): The store's own sending domain, which an owner or a plugin with the store's emails:customize grant sets up. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `emails:customize`. - Store - [StoreChangeCurrency](/docs/rpc/reference/store/StoreChangeCurrency): The store itself: its settings, currency and custom domain. A store API key can call it, unless the key is read-only. - [StoreCurrencyPreview](/docs/rpc/reference/store/StoreCurrencyPreview): The store itself: its settings, currency and custom domain. A store API key can call it, a read-only one included. - [StoreCustomDomainStatus](/docs/rpc/reference/store/StoreCustomDomainStatus): The store itself: its settings, currency and custom domain. A store API key can call it, a read-only one included. - [StoreCustomDomainVerify](/docs/rpc/reference/store/StoreCustomDomainVerify): The store itself: its settings, currency and custom domain. A store API key can call it, unless the key is read-only. - [StoreDelete](/docs/rpc/reference/store/StoreDelete): The store itself: its settings, currency and custom domain. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StoreGetActive](/docs/rpc/reference/store/StoreGetActive): The store itself: its settings, currency and custom domain. A store API key can call it, a read-only one included. - [StoreUpdate](/docs/rpc/reference/store/StoreUpdate): The store itself: its settings, currency and custom domain. A store API key can call it, unless the key is read-only. - Store api keys - [ApproveAssistantConnection](/docs/rpc/reference/store-api-keys/ApproveAssistantConnection): The keys the store's own servers call these RPCs with. Only a seller signed in to the dashboard can call it; store API keys are refused. - [IssueStoreApiKey](/docs/rpc/reference/store-api-keys/IssueStoreApiKey): The keys the store's own servers call these RPCs with. Only a seller signed in to the dashboard can call it; store API keys are refused. - [RevokeStoreApiKey](/docs/rpc/reference/store-api-keys/RevokeStoreApiKey): The keys the store's own servers call these RPCs with. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StoreApiKeys](/docs/rpc/reference/store-api-keys/StoreApiKeys): The keys the store's own servers call these RPCs with. A store API key can call it, a read-only one included. - Store credit - [StorefrontStoreCredit](/docs/rpc/reference/store-credit/StorefrontStoreCredit): The store credit the signed-in shopper has at the store, and how they pay with it. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/store-credit`, which forwards the shopper's cookies. - Store private plugin deploy tokens - [IssueStorePrivatePluginDeployToken](/docs/rpc/reference/store-private-plugin-deploy-tokens/IssueStorePrivatePluginDeployToken): Tokens that deploy a store-private plugin from its repository's CI. Only a seller signed in to the dashboard can call it; store API keys are refused. - [RevokeStorePrivatePluginDeployToken](/docs/rpc/reference/store-private-plugin-deploy-tokens/RevokeStorePrivatePluginDeployToken): Tokens that deploy a store-private plugin from its repository's CI. A store API key can call it, unless the key is read-only. - [StorePrivatePluginDeployTokens](/docs/rpc/reference/store-private-plugin-deploy-tokens/StorePrivatePluginDeployTokens): Tokens that deploy a store-private plugin from its repository's CI. A store API key can call it, a read-only one included. - Store private plugin deployments - [StorePrivatePluginDeployments](/docs/rpc/reference/store-private-plugin-deployments/StorePrivatePluginDeployments): The deployments of a store-private plugin, which its repository makes with GitHub Actions or a deploy token. A store API key can call it, a read-only one included. - Store private plugin previews - [EndStorePrivatePluginPreview](/docs/rpc/reference/store-private-plugin-previews/EndStorePrivatePluginPreview): The preview of a store-private plugin that `novinzo-plugin dev` uploads, which only the store owner's browser reaches. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StartStorePrivatePluginStorefrontPreview](/docs/rpc/reference/store-private-plugin-previews/StartStorePrivatePluginStorefrontPreview): The preview of a store-private plugin that `novinzo-plugin dev` uploads, which only the store owner's browser reaches. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StorePrivatePluginPreview](/docs/rpc/reference/store-private-plugin-previews/StorePrivatePluginPreview): The preview of a store-private plugin that `novinzo-plugin dev` uploads, which only the store owner's browser reaches. Only a seller signed in to the dashboard can call it; store API keys are refused. - Store private plugin repository - [ApproveStorePrivatePluginRepository](/docs/rpc/reference/store-private-plugin-repository/ApproveStorePrivatePluginRepository): The GitHub repository and branch a store-private plugin deploys from with GitHub Actions, without a token. Only a seller signed in to the dashboard can call it; store API keys are refused. - [LinkStorePrivatePluginRepository](/docs/rpc/reference/store-private-plugin-repository/LinkStorePrivatePluginRepository): The GitHub repository and branch a store-private plugin deploys from with GitHub Actions, without a token. A store API key can call it, unless the key is read-only. - [StorePrivatePluginRepositoryLink](/docs/rpc/reference/store-private-plugin-repository/StorePrivatePluginRepositoryLink): The GitHub repository and branch a store-private plugin deploys from with GitHub Actions, without a token. A store API key can call it, a read-only one included. - [UnlinkStorePrivatePluginRepository](/docs/rpc/reference/store-private-plugin-repository/UnlinkStorePrivatePluginRepository): The GitHub repository and branch a store-private plugin deploys from with GitHub Actions, without a token. A store API key can call it, unless the key is read-only. - Store private plugin secrets - [DeleteStorePrivatePluginSecret](/docs/rpc/reference/store-private-plugin-secrets/DeleteStorePrivatePluginSecret): How a store owner gives their store-private plugin's Worker secrets, such as an API key. A store API key can call it, unless the key is read-only. - [SetStorePrivatePluginSecret](/docs/rpc/reference/store-private-plugin-secrets/SetStorePrivatePluginSecret): How a store owner gives their store-private plugin's Worker secrets, such as an API key. A store API key can call it, unless the key is read-only. - [StorePrivatePluginSecrets](/docs/rpc/reference/store-private-plugin-secrets/StorePrivatePluginSecrets): How a store owner gives their store-private plugin's Worker secrets, such as an API key. A store API key can call it, a read-only one included. - Store private plugin sources - [ChangeStorePrivatePluginSource](/docs/rpc/reference/store-private-plugin-sources/ChangeStorePrivatePluginSource): Store-private plugins whose source Novinzo hosts, which the dashboard's agent writes, checks and deploys. A store API key can call it, unless the key is read-only. - [CreateStorePrivatePluginSource](/docs/rpc/reference/store-private-plugin-sources/CreateStorePrivatePluginSource): Store-private plugins whose source Novinzo hosts, which the dashboard's agent writes, checks and deploys. A store API key can call it, unless the key is read-only. - [DeployStorePrivatePluginSource](/docs/rpc/reference/store-private-plugin-sources/DeployStorePrivatePluginSource): Store-private plugins whose source Novinzo hosts, which the dashboard's agent writes, checks and deploys. A store API key can call it, unless the key is read-only. - [StorePrivatePluginSource](/docs/rpc/reference/store-private-plugin-sources/StorePrivatePluginSource): Store-private plugins whose source Novinzo hosts, which the dashboard's agent writes, checks and deploys. A store API key can call it, a read-only one included. - [StorePrivatePluginSourceFile](/docs/rpc/reference/store-private-plugin-sources/StorePrivatePluginSourceFile): Store-private plugins whose source Novinzo hosts, which the dashboard's agent writes, checks and deploys. A store API key can call it, a read-only one included. - Store private plugins - [CreateStorePrivatePlugin](/docs/rpc/reference/store-private-plugins/CreateStorePrivatePlugin): How a store owner registers plugins of their own, which only their store can install. A store API key can call it, unless the key is read-only. - [RetireStorePrivatePlugin](/docs/rpc/reference/store-private-plugins/RetireStorePrivatePlugin): How a store owner registers plugins of their own, which only their store can install. A store API key can call it, unless the key is read-only. - [StorePrivatePlugins](/docs/rpc/reference/store-private-plugins/StorePrivatePlugins): How a store owner registers plugins of their own, which only their store can install. A store API key can call it, a read-only one included. - Store theme sources - [ChangeStoreThemeSource](/docs/rpc/reference/store-theme-sources/ChangeStoreThemeSource): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. Only a seller signed in to the dashboard can call it; store API keys are refused. - [CreateStoreThemeSource](/docs/rpc/reference/store-theme-sources/CreateStoreThemeSource): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. Only a seller signed in to the dashboard can call it; store API keys are refused. - [DeployStoreThemeSource](/docs/rpc/reference/store-theme-sources/DeployStoreThemeSource): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. A store API key can call it, unless the key is read-only. - [RotateStoreThemePreviewLink](/docs/rpc/reference/store-theme-sources/RotateStoreThemePreviewLink): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StoreThemePreviewPage](/docs/rpc/reference/store-theme-sources/StoreThemePreviewPage): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. Only a seller signed in to the dashboard can call it; store API keys are refused. - [StoreThemeSource](/docs/rpc/reference/store-theme-sources/StoreThemeSource): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. A store API key can call it, a read-only one included. - [StoreThemeSourceFile](/docs/rpc/reference/store-theme-sources/StoreThemeSourceFile): A store theme whose source Novinzo hosts, which the dashboard's agent writes and checks. A store API key can call it, a read-only one included. - Storefront - [StorefrontGetStore](/docs/rpc/reference/storefront/StorefrontGetStore): Store, theme and catalogue read models a storefront renders from. Routed to the storefront RPC server by the `x-storefront-request: true` header. - [StorefrontGetThemeAssignment](/docs/rpc/reference/storefront/StorefrontGetThemeAssignment): Store, theme and catalogue read models a storefront renders from. Routed to the storefront RPC server by the `x-storefront-request: true` header. - [StorefrontListPaymentMethods](/docs/rpc/reference/storefront/StorefrontListPaymentMethods): Store, theme and catalogue read models a storefront renders from. Routed to the storefront RPC server by the `x-storefront-request: true` header. - [StorefrontProductList](/docs/rpc/reference/storefront/StorefrontProductList): Store, theme and catalogue read models a storefront renders from. Routed to the storefront RPC server by the `x-storefront-request: true` header. - Storefront prepared checkouts - [StorefrontGetPreparedCheckout](/docs/rpc/reference/storefront-prepared-checkouts/StorefrontGetPreparedCheckout): Prepared checkout pages on the store domain. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/checkout/prepared`, which forwards the shopper's cookies. - Storefront products - [StorefrontGetProductByUrlSlug](/docs/rpc/reference/storefront-products/StorefrontGetProductByUrlSlug): Product detail and live variant availability. Routed to the storefront RPC server by the `x-storefront-request: true` header. - [StorefrontGetProductRedirect](/docs/rpc/reference/storefront-products/StorefrontGetProductRedirect): Product detail and live variant availability. Routed to the storefront RPC server by the `x-storefront-request: true` header. - [StorefrontGetVariantAvailability](/docs/rpc/reference/storefront-products/StorefrontGetVariantAvailability): Product detail and live variant availability. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https:///api/products/availability`, which forwards the shopper's cookies. - Subscriptions - [SubscriptionCancel](/docs/rpc/reference/subscriptions/SubscriptionCancel): Customers' subscriptions, their renewals, and cancelling one. A store API key can call it, unless the key is read-only. - [SubscriptionGet](/docs/rpc/reference/subscriptions/SubscriptionGet): Customers' subscriptions, their renewals, and cancelling one. A store API key can call it, a read-only one included. - [SubscriptionsList](/docs/rpc/reference/subscriptions/SubscriptionsList): Customers' subscriptions, their renewals, and cancelling one. A store API key can call it, a read-only one included. - Theme preview - [ThemePreviewGetContext](/docs/rpc/reference/theme-preview/ThemePreviewGetContext): The exact Liquid render context and theme files the storefront uses. A store API key can call it, a read-only one included. - [ThemePreviewGetFiles](/docs/rpc/reference/theme-preview/ThemePreviewGetFiles): The exact Liquid render context and theme files the storefront uses. A store API key can call it, a read-only one included. - Variant insights - [GetVariantInsights](/docs/rpc/reference/variant-insights/GetVariantInsights): How each of a product's variants sells, brings buyers back and what those buyers spend, for sellers and plugins with its analytics:read grant. A store API key can call it, a read-only one included. Plugins can call this RPC with the invocation token after the store grants `analytics:read`. - Variant keys - [VariantKeysIssue](/docs/rpc/reference/variant-keys/VariantKeysIssue): License keys a plugin with the store's keys:issue grant sells outside the store's checkout. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `keys:issue`. - Webhook endpoints - [WebhookDeliveries](/docs/rpc/reference/webhook-endpoints/WebhookDeliveries): Where the store's events are sent, and every delivery attempt. A store API key can call it, a read-only one included. - [WebhookEndpointCreate](/docs/rpc/reference/webhook-endpoints/WebhookEndpointCreate): Where the store's events are sent, and every delivery attempt. Only a seller signed in to the dashboard can call it; store API keys are refused. - [WebhookEndpointDelete](/docs/rpc/reference/webhook-endpoints/WebhookEndpointDelete): Where the store's events are sent, and every delivery attempt. A store API key can call it, unless the key is read-only. - [WebhookEndpointRotateSecret](/docs/rpc/reference/webhook-endpoints/WebhookEndpointRotateSecret): Where the store's events are sent, and every delivery attempt. A store API key can call it, unless the key is read-only. - [WebhookEndpoints](/docs/rpc/reference/webhook-endpoints/WebhookEndpoints): Where the store's events are sent, and every delivery attempt. A store API key can call it, a read-only one included. - [WebhookEndpointSendTest](/docs/rpc/reference/webhook-endpoints/WebhookEndpointSendTest): Where the store's events are sent, and every delivery attempt. A store API key can call it, unless the key is read-only. - [WebhookEndpointUpdate](/docs/rpc/reference/webhook-endpoints/WebhookEndpointUpdate): Where the store's events are sent, and every delivery attempt. A store API key can call it, unless the key is read-only. - Webhook events - [WebhookEventPublish](/docs/rpc/reference/webhook-events/WebhookEventPublish): Events that an authorized plugin publishes for the event types it owns. Only a seller signed in to the dashboard can call it; store API keys are refused. Plugins can call this RPC with the invocation token after the store grants `checkout:write`.