Ecommerce Explained: Business model, transaction flow, and repeat-purchase economics

Ecommerce, or electronic commerce, is the buying and selling of goods, digital products, or services over the internet, including the money and data transfers needed to complete each transaction. It covers B2C, B2B, and C2C trade through websites, marketplaces, and mobile apps rather than only online retail.

What ecommerce includes—and what it does not

Ecommerce is the broad umbrella for online buying and selling. Online retail is the narrower B2C subset in which a seller serves an end consumer. Digital commerce is broader in another direction: it includes the pre-purchase and post-purchase journey across digital touchpoints, while ecommerce refers to the transaction itself. Paystone and BigCommerce describe those boundaries.

M-commerce is ecommerce conducted on phones or tablets through mobile sites, apps, or SMS; it is a subset of ecommerce, not a competing category. Stripe’s comparison makes the channel distinction explicit. Ecommerce is also narrower than e-business, which includes digitized operations beyond buying and selling.

Common business-model labels include B2C, B2B, C2C, C2B, D2C, and B2B2C, alongside structural choices such as marketplaces and dropshipping. Shopify’s model overview describes B2C as the most common. The labels identify who transacts with whom; they do not by themselves tell you who owns inventory, controls fulfillment, or earns profit.

There is no single formula for ecommerce itself. Equations such as revenue equals orders multiplied by average order value describe sub-metrics, not the concept, and should not be presented as a definition.

Market-size and profitability figures need the same caution. Shopify’s summary of eMarketer data places ecommerce at about 20.5% of global retail sales in 2025, projects about 21.1% in 2026 and 22.5% by 2028, and notes that the share excluding China is closer to 12.8%. The headline is therefore not a universal market benchmark. Ecommerce can be profitable, but published net-margin ranges conflict—roughly 10–20% in some sources and 10–50% in others—because niche, model, and methodology differ. Bluehost’s overview is directional evidence, not a single agreed margin standard.

Ecommerce begins with the order, not the storefront

A useful definition of ecommerce starts at the moment an order is placed. The OECD’s 2025 definition covers goods and services ordered through purpose-built systems over computer networks. Payment and delivery do not have to happen online. Web shops, apps, structured ordering features on social platforms, and electronic data interchange can qualify; a manually typed email does not qualify under this statistical definition.

The OECD defines an ecommerce transaction by the method used to place or receive the order, not by the product, payment method, or delivery channel. Its 2025 guidance also addresses digital intermediaries and digitally ordered subscriptions.

That boundary matters because ecommerce is neither a synonym for digital marketing nor a single business model. A direct-to-consumer brand, a marketplace, a wholesaler receiving EDI orders, and a subscription service can all conduct ecommerce. What changes is who controls the offer, owns inventory, serves the customer, collects the money, and absorbs failure.

Three operating choices allocate control differently

The most important model choice is not which storefront software to buy. It is where control and risk should sit. An inventory-owning merchant gives the operator more control over price, merchandising, and customer experience, but also more exposure to working capital, demand forecasting, fulfillment, and returns. A marketplace can expand selection without buying every item, but it must attract both supply and demand while governing third-party quality. A subscription can make a recurring need easier to serve, but it is an overlay on the merchant or intermediary relationship, not an automatic retention engine.

Operating choiceChoose it whenReal strengthReal weaknessPrimary economic lens
Inventory-owning merchantControl of assortment, price, presentation, and service is central to the propositionDirect control over the full customer experience and product marginCash is tied to inventory and the operator carries markdown, fulfillment, and return riskNet sales and contribution after product and variable order costs
Marketplace or intermediaryValuable supply is fragmented and buyers benefit from aggregated selection or matchingSelection can grow without the platform purchasing every itemLiquidity, seller quality, disputes, and role clarity become core operating problemsFees or take rate; gross merchandise value is not automatically platform revenue
Subscription overlayThe underlying need recurs at a cadence customers genuinely valueReordering becomes more convenient and future demand can be easier to planCancellation, skips, failed payments, and unwanted replenishment can erase the apparent predictabilityCohort contribution and retention by billing or delivery period

Accounting follows the actual contract, not the label placed on the website. Under IFRS 15’s principal-versus-agent framework, the central question is whether the entity controls the specified good or service before it reaches the customer. Primary fulfillment responsibility, inventory risk, and pricing discretion are indicators, but their weight depends on the arrangement.

IFRS guidance distinguishes a principal that controls the specified good or service before transfer from an agent that arranges for another party to provide it. The assessment is contract-specific rather than a generic rule that every marketplace reports revenue the same way.

Amazon’s 2024 Form 10-K is a concrete hybrid example. It says Amazon generally records gross revenue for items sold from its own inventory, while recording its net share from third-party seller items as service sales. It also says Amazon is not the seller of record in its seller-program transactions and earns combinations of fees, percentages of sales, per-unit fees, or interest.

Amazon’s disclosure shows why merchandise volume and reported revenue must remain separate in a hybrid model: the same storefront can contain inventory-owned retail and third-party intermediation with different revenue treatment.

One order moves through several state machines

A checkout confirmation is not the end of the transaction. Treat the order, payment, fulfillment, return, and cash ledgers as connected but distinct records, joined by durable identifiers.

StageWhat changesWhat the operator must preserve
OrderThe buyer accepts an offer and the commerce system creates an orderOrder ID, items, prices, discounts, taxes, customer, channel, and timestamp
PaymentThe payment is authenticated, authorized, captured, processing, successful, or failedPayment ID, amount, currency, status history, fees, and link to the order
FulfillmentInventory is allocated and goods or services are delivered, partially delivered, canceled, or otherwise resolvedFulfillment ID, quantity, carrier or delivery evidence, cost, and order link
AdjustmentReturns, exchanges, refunds, and disputes change the customer’s outcome and the merchant’s economicsReason, amount, item, restock state, variable cost, and original order link
SettlementProcessor balances become available and payouts reach the bankBalance transaction, payout batch, fees, timing, and reconciliation status

Payment authorization and capture are separate in some flows. Stripe’s PaymentIntent lifecycle can move through states requiring a payment method, confirmation, customer action, processing, capture, or success. Asynchronous methods may remain in processing before success is known.

In Stripe’s documented flow, a separately authorized payment can enter requires_capture, while a completed PaymentIntent enters succeeded. A failed attempt can return to requires_payment_method for another attempt.

Order operations need their own status model. Shopify’s order-status documentation separates order, payment, fulfillment, and return statuses. A voided authorization, canceled order, refunded payment, and completed return are therefore different events, even when a customer experiences them as one purchase.

Shopify documents payment states independently from fulfillment and return states; an open order can still require payment processing, fulfillment, or return work.

Cash arrival is another boundary. Stripe defines settlement time as the interval between a payment or funding transaction and the funds becoming available in the Stripe balance. Pending funds cannot be withdrawn or spent until they become available. A payout then needs to be reconciled to the transactions it contains.

Stripe’s balance documentation distinguishes pending from available funds. Payment success in the checkout flow should therefore not be used as a substitute for bank-payout reconciliation.

These systems answer different questions. Payment status says whether money collection progressed. Fulfillment status says whether the promise was delivered. Return and dispute records say how the outcome changed. Settlement says when processor funds became usable. Revenue recognition, tax, and legal obligations require the applicable contracts and jurisdiction; the operational state machine alone cannot decide them.

Repeat purchase matters only after variable economics

Revenue-based retention can make a weak ecommerce model look healthy. The useful unit is contribution: the money left from an order after costs that change with that order. A fuller customer lifetime value model then connects those cohort contributions to retention and acquisition payback.

Order contribution = net order revenue - product cost - payment cost - fulfillment cost - shipping subsidy - expected return/refund cost - other variable service cost

Define every term before comparing channels or cohorts. Net order revenue should already reflect discounts and refunds under the team’s stated reporting policy. Expected return cost should include more than the refunded price when the business also pays return shipping, inspection, repackaging, write-downs, or disposal. Fixed payroll and platform overhead belong in a later profitability view; mixing them selectively into some orders makes channel comparisons unstable.

Then group customers by first purchase and give every cohort the same observation window. Shopify’s customer cohort analysis uses the date of first order to form cohorts and can display customer retention, gross sales, net sales, or average order value across later periods.

Shopify’s report illustrates the essential cohort method: each row contains customers acquired in the same first-purchase period, while later columns show their activity at comparable elapsed intervals.

For a fixed horizon T, calculate:

Repeat purchase rate = customers with a second completed order by T / first-time customers in the cohort
Cumulative contribution per acquired customer = total realized order contribution through T / acquired customers in the cohort
Contribution after acquisition = cumulative contribution per acquired customer - customer acquisition cost

The acquisition investment has paid back within that horizon only when cumulative contribution per acquired customer reaches the acquisition cost. A high repeat rate does not guarantee this: later orders may be small, heavily discounted, expensive to ship, or frequently returned. Conversely, a lower-frequency category can still work if each repeat order contributes enough.

Three common shortcuts distort the picture. Returning-customer share can rise simply because new-customer acquisition fell. Average order value says nothing about purchase frequency or cost to serve. Revenue retention preserves neither gross margin nor acquisition payback. Keep all three as descriptive metrics, then make the decision with cohort contribution and time.

The model decision in one sentence

The decision
Choose an inventory-owning merchant model when control is worth the working-capital and fulfillment burden; choose a marketplace when aggregated supply creates value without ownership; add subscription only when the need recurs naturally—and approve growth spend only when fixed-horizon cohort contribution shows how acquisition is repaid.

Sources

  1. OECD, “The 2025 OECD definition of e-commerce and guidelines for interpretationSupports: Ecommerce is defined by a purpose-built digital ordering method rather than online payment or delivery; Web, app, structured social ordering, EDI, digital intermediary, and digitally ordered subscription boundaries; Intermediary fees should be distinguished from total transaction value in ecommerce measurement. Checked 2026-08-22.Limitation: This is an international statistical definition and measurement guide, not jurisdiction-specific legal, tax, or accounting advice.
  2. IFRS Foundation, “IFRIC Update November 2021: Principal versus agent considerationsSupports: A principal controls the specified good or service before transfer, while an agent arranges for another party to provide it; Fulfillment responsibility, inventory risk, and pricing discretion are indicators in the contract-specific control assessment. Checked 2026-08-22.Limitation: The article uses this only to explain the principal-agent distinction; applying IFRS 15 to a specific arrangement requires professional analysis of its contracts and facts.
  3. U.S. Securities and Exchange Commission, “Amazon.com, Inc. 2024 Annual Report (Form 10-K)Supports: Amazon generally reports gross revenue for items sold from its inventory and its net share from third-party seller items as service sales; Amazon states it is not the seller of record in seller-program transactions and earns several forms of seller fees. Checked 2026-08-22.Limitation: Amazon is one disclosed hybrid business and does not establish the accounting or operating treatment of every merchant or marketplace.
  4. Stripe Documentation, “How PaymentIntents and SetupIntents workSupports: PaymentIntent states distinguish missing payment methods, confirmation, required customer action, processing, capture, success, failure, and cancellation; Asynchronous payment methods can remain in processing and separately authorized payments can require capture. Checked 2026-08-22.Limitation: These lifecycle states describe Stripe's products and should not be assumed to match every payment provider.
  5. Shopify Help Center, “Understanding your order statusesSupports: Order, payment, fulfillment, and return statuses are distinct operational states; Voided authorization, cancellation, refund, fulfillment, and completed return represent different events. Checked 2026-08-22.Limitation: The status names and workflows are Shopify-specific; other commerce systems may model them differently.
  6. Stripe Documentation, “Balances and settlement timeSupports: Settlement time separates the payment event from funds becoming available in a Stripe balance; Pending funds cannot be withdrawn or spent until they become available. Checked 2026-08-22.Limitation: Settlement timing and balance behavior vary by location, payment method, and provider; the article uses Stripe only as a concrete workflow example.
  7. Shopify Help Center, “Customers reports: Customer cohort analysisSupports: Customer cohorts can be grouped by first-purchase period and observed across comparable elapsed periods; Cohort reporting can display retention, gross sales, net sales, and average order value. Checked 2026-08-22.Limitation: This source documents Shopify's report structure; the contribution formulas and decision rules in the article are editorial calculations, not Shopify metrics.

Continue the evidence path

Run your growth team from one screen.

Invite only