Reference

Ecommerce Profit Governance Glossary

Key terms and concepts in per-order profit protection, margin enforcement, and ecommerce cost management for Shopify Plus merchants.

Commerce Architecture

6 terms

Commerce Architecture

Composable Commerce

An architecture pattern where ecommerce capabilities (checkout, search, content, payments, fulfillment, promotions) are assembled from independent best-of-breed services rather than provided by a monolithic platform.

Read definition

Commerce Architecture

Headless Commerce

An ecommerce architecture where the storefront (frontend) is decoupled from the commerce backend, communicating only via APIs, enabling custom UX, omnichannel delivery, and faster innovation cycles.

Read definition

Commerce Architecture

WASM Checkout (WebAssembly at Checkout)

The use of WebAssembly modules to run merchant-defined logic inside checkout. Shopify Functions, the replacement for Ruby-based Shopify Scripts, is the best-known implementation: logic is compiled to WebAssembly and executed in a sandbox within Shopify's checkout.

Read definition

Commerce Architecture

Shopify Functions

Shopify's platform for customizing backend commerce logic, such as discounts, cart and checkout validation, delivery and payment customization, cart transforms, and order routing. Functions are compiled to WebAssembly and run inside Shopify's infrastructure. They replaced Shopify Scripts, which stopped executing on June 30, 2026.

Read definition

Commerce Architecture

Shopify Scripts (Deprecated)

Shopify's legacy Ruby-based checkout customization platform for Shopify Plus, used for custom discount, shipping, and payment logic. Shopify froze Script editing on April 15, 2026 and stopped executing Scripts on June 30, 2026; Shopify Functions is the replacement.

Read definition

Commerce Architecture

Cart & Checkout Validation Function

A Shopify Function type that lets an app check the cart and checkout against merchant-defined conditions and return validation errors that keep the buyer from completing checkout until the problem is fixed. It replaced validation logic that some merchants previously ran in Shopify Scripts.

Read definition

Commerce Operations

6 terms

Commerce Operations

ERP Cost Sync

The automated, continuous synchronization of cost data (COGS, supplier pricing, landed cost components) between ERP systems and commerce or profit governance platforms.

Read definition

Commerce Operations

Cash Conversion Cycle

The number of days between paying for inventory and collecting cash from the customer -- a measure of how efficiently a merchant converts inventory investment into cash flow.

Read definition

Commerce Operations

SOX Compliance for Ecommerce

Sarbanes-Oxley Act requirements as they apply to ecommerce revenue recognition, cost tracking, and financial controls -- increasingly relevant for mid-market brands approaching IPO or acquisition.

Read definition

Commerce Operations

Golden Record

A single, authoritative version of a data entity (product, customer, cost) that serves as the trusted source across all systems -- critical for accurate real-time margin calculation.

Read definition

Commerce Operations

Edge Compute Checkout

Running checkout decision logic, such as discount validation or pricing rules, on servers at the network edge close to the buyer, to keep the added latency of each decision low. It is an architecture for in-checkout decisions; post-order margin checks, the approach Agentis takes, do not need it.

Read definition

Commerce Operations

Agentic Commerce

An ecommerce architecture in which AI agents execute transactions, negotiate terms, and make purchasing decisions autonomously on behalf of buyers or sellers — without requiring per-transaction human approval.

Read definition

Cost Management

8 terms

Cost Management

Landed Cost

The total cost of a product delivered to the customer, including COGS, freight, duties, tariffs, insurance, and handling fees.

Read definition

Cost Management

Dimensional Weight Pricing

A shipping pricing method that charges based on package volume rather than actual weight, often resulting in higher costs for bulky, lightweight products.

Read definition

Cost Management

Tariff Impact on Ecommerce

The effect of import duties and trade tariffs on ecommerce product costs, particularly the de minimis threshold changes affecting cross-border commerce.

Read definition

Cost Management

COGS Decay

The gradual divergence between the COGS data used in pricing/checkout systems and actual supplier costs, leading to margin miscalculation.

Read definition

Cost Management

Freight Zone Pricing

A carrier pricing model that divides destinations into numbered zones based on distance from the shipping origin, with costs increasing progressively for higher-numbered zones.

Read definition

Cost Management

FX Margin Risk

The risk that currency exchange rate movements between the time a product is priced and the time it is purchased or fulfilled will erode the expected profit margin.

Read definition

Cost Management

Real-Time COGS

Live cost of goods sold data synchronized from ERP or procurement systems and used at the moment a margin decision is made, replacing stale batch-updated cost figures.

Read definition

Cost Management

Duty Drawback

A customs mechanism that allows merchants to claim refunds on import duties paid for goods that are subsequently exported or re-exported, recovering up to 99% of duties paid.

Read definition

Cross-Border Commerce

3 terms

Data Architecture

2 terms

Margin Analysis

24 terms

Margin Analysis

Checkout Margin Erosion

The loss of profit margin that happens when an order is priced at checkout, caused by unmonitored discount stacking, freight cost miscalculation, FX fluctuations, and stale COGS data.

Read definition

Margin Analysis

Margin Intelligence

Real-time visibility into per-order, per-SKU, and per-channel profitability using live data from ERP, logistics, and FX systems.

Read definition

Margin Analysis

Margin Collision

When multiple cost factors simultaneously erode margin on a single order — e.g., a deep discount, high freight zone, and unfavorable FX rate combining to make an order unprofitable.

Read definition

Margin Analysis

Discount Stacking

When multiple discounts, such as a site-wide sale, a coupon code, and a loyalty reward, combine on a single order, compounding margin loss beyond what any individual promotion intended.

Read definition

Margin Analysis

Gross Margin

The percentage of revenue remaining after subtracting the cost of goods sold, a foundational profitability metric that excludes operating expenses, taxes, and interest.

Read definition

Margin Analysis

Contribution Margin

The revenue remaining after deducting all variable costs associated with fulfilling an order, including COGS, shipping, payment processing fees, and pick-and-pack labor.

Read definition

Margin Analysis

Order Profitability

The true net profit of a single order after deducting all variable costs: COGS, shipping, discounts, payment fees, fulfillment labor, and return allowances.

Read definition

Margin Analysis

Margin Leakage

The gradual, often undetected loss of profit across many orders, driven by small per-order cost overruns that compound into significant revenue erosion over time. Also called revenue leakage, a term more common in marketplace-seller (Amazon/Walmart) contexts for the same underlying pattern.

Read definition

Margin Analysis

SKU-Level Profitability

The analysis of profit margins at the individual product or variant level, revealing which specific items generate profit and which consistently erode it.

Read definition

Margin Analysis

Bundle Margin Analysis

The evaluation of profitability for product bundles, where the combined price and costs of individual items create a distinct margin profile from standalone sales.

Read definition

Margin Analysis

CM2 / Contribution Margin 2

What is CM2 in ecommerce? Contribution Margin 2 deducts marketing and ad spend per order from gross profit — the real profitability metric after CAC. Healthy DTC brands target 20-35% CM2.

Read definition

Margin Analysis

GMROI

Gross Margin Return on Investment measures how much gross profit a merchant earns for every dollar invested in inventory -- a critical metric for capital-efficient ecommerce.

Read definition

Margin Analysis

Net Profit Per Order (NPPO)

The actual dollar profit remaining on a single order after deducting all variable costs, fixed cost allocation, and marketing attribution -- the most granular unit of ecommerce profitability.

Read definition

Margin Analysis

Contra-Revenue

Revenue deductions that reduce gross revenue to net revenue -- including refunds, returns, chargebacks, discounts, and allowances -- often underestimated in ecommerce P&L reporting.

Read definition

Margin Analysis

Silent Profit Killer

Any margin-eroding pattern that operates below the threshold of standard reporting, typically discount stacking, COGS drift, freight underestimation, and FX leakage.

Read definition

Margin Analysis

Yield Gap

The gap between the margin a commerce business books and the margin it keeps, lost to preventable causes such as discount mispricing, inventory distortion, return abuse, and uncaptured cost-to-serve. Its best-measured component, inventory distortion, costs retailers about $1.77 trillion a year worldwide (IHL Group, 2023).

Read definition

Margin Analysis

Coupon Stacking

The practice, by customers or unintentionally permitted by checkout configuration, of applying multiple discount codes to a single order, typically dropping margin below intended thresholds.

Read definition

Margin Analysis

Ghost Shrinkage

Inventory loss that does not appear in standard shrinkage accounting because it stems from data errors, reconciliation gaps, or system-of-record drift rather than physical theft or damage.

Read definition

Margin Analysis

Refund Leakage

Margin loss from refund decisions made without per-order margin context, typically goodwill refunds, partial refunds, and refund-keeping-the-product policies.

Read definition

Margin Analysis

Propensity Modeling (Ecommerce)

The application of machine-learning classifiers to predict customer behaviors (to-purchase, to-return, to-stack-coupons, to-churn) and then differentiate margin policy by the predicted segment.

Read definition

Margin Analysis

Contribution Margin 3 (CM3)

The per-order profit metric after subtracting COGS, variable fulfillment costs, variable customer acquisition costs (CAC), and return-related costs from net revenue. CM3 is the CFO-grade profitability measure for DTC brands, replacing gross margin as the primary metric in the post-ZIRP era.

Read definition

Margin Analysis

Ecommerce P&L

A structured profit and loss statement for an ecommerce business that layers ecommerce-specific cost categories — CAC, platform fees, return reserves, and fulfillment tiers — on top of standard COGS to produce a true picture of per-channel and per-SKU profitability.

Read definition

Margin Analysis

Profit Per Visitor (PPV)

A unit-economic metric defined as gross profit divided by site visitors, measuring the profit each visitor generates rather than the revenue they generate or the rate at which they convert. It is the metric that exposes A/B tests that win on conversion but lose on margin.

Read definition

Margin Analysis

CM1 vs CM2 vs CM3

CM1, CM2, and CM3 are the three layers of the ecommerce contribution margin hierarchy. CM1 is revenue minus COGS and fulfillment (the direct cost to deliver a product). CM2 subtracts variable marketing and ad spend per order (true profit after customer acquisition). CM3 subtracts allocated fixed overhead such as software, rent, and salaries.

Read definition

Profit Governance

15 terms

Profit Governance

Profit Floor

The minimum margin an order must clear after discounts, COGS, freight, fees, and FX are counted. Orders that fall below the profit floor are flagged for review or automatically held before they ship.

Read definition

Profit Governance

Profit Governance

A systematic framework for applying profitability rules to every order, so no order ships below acceptable margin thresholds without review.

Read definition

Profit Governance

Promo Abuse

When customers exploit coupon codes, referral programs, or promotional mechanics beyond their intended use, generating orders that erode margin through illegitimate discounting.

Read definition

Profit Governance

Negative Margin Order

An order where the total variable costs (COGS, shipping, discounts, payment fees) exceed the revenue collected, resulting in a net loss on the transaction.

Read definition

Profit Governance

Checkout Enforcement

Applying business rules inside checkout itself, before an order is placed, so a cart that breaks a rule cannot be completed. On Shopify this is done with discount settings and Shopify Functions such as the Cart and Checkout Validation Function. It is distinct from post-order controls that act after the order is placed and before it ships.

Read definition

Profit Governance

Propensity Modeling

Using predictive analytics to estimate the likelihood of a customer behavior -- such as returning a product, redeeming a discount, or abandoning checkout -- to inform real-time pricing and enforcement decisions.

Read definition

Profit Governance

Profit Firewall

A decision layer between order placed and order shipped that checks every order against margin policy and flags or holds the ones that fail before fulfillment, analogous to how a network firewall stops traffic that violates security rules.

Read definition

Profit Governance

Margin Governance

The institutional discipline of defining, enforcing, and auditing margin rules across every transaction, the financial-controls counterpart to revenue operations.

Read definition

Profit Governance

Checkout Governance

The set of rules applied inside checkout that decide which discount combinations, shipping options, payment methods, and order configurations a buyer can complete. It acts before the order is placed, which makes it distinct from post-order margin controls that act before fulfillment.

Read definition

Profit Governance

Promo Margin Governance

Margin rules applied specifically to promotional orders, the fastest-moving and highest-risk category for margin erosion: each discounted order is checked against a margin floor, and below-floor orders are flagged or held before they ship.

Read definition

Profit Governance

Fiduciary Operating System

A unified data and policy infrastructure that gives finance teams enforceable control over how revenue, cost, and margin flow through every commerce decision.

Read definition

Profit Governance

Policy Engine

The configurable rules layer of a profit firewall, where finance teams declaratively define margin floors, discount limits, MAP rules, and other enforcement criteria.

Read definition

Profit Governance

Promotion Profitability

The net margin impact of a promotional campaign after accounting for discount depth, incremental COGS, fulfillment uplift, return rate changes, and cannibalization of full-price sales — the primary measure of whether a promotion created or destroyed value.

Read definition

Profit Governance

Safe Discount Stacking

Letting customers combine multiple discount codes on one order while making sure the resulting margin stays above a configured floor. Combination rules inside checkout decide what may stack; a per-order margin check after the order is placed catches any stack that still lands below floor before it ships.

Read definition

Profit Governance

Minimum Order Value Enforcement

The practice of enforcing order-level constraints — minimum order value (MOV), maximum quantity per line, and per-customer purchase caps — at checkout via a validation function, with the thresholds tied to margin economics rather than set as arbitrary round numbers.

Read definition

See it in action

Stop margin erosion before orders ship

Agentis enforces your profit floor on every Shopify Plus order, within 60 seconds of it being placed and before it ships.

Request a demo