TopEdge Docs

Commerce

The commercial side: your catalogue, what each order actually earns after costs, and the discount codes your automations can hand out.

Commerce has three screens: Products (your synced Shopify catalogue), Economics (net margin after cost of goods, shipping, RTO and payment fees) and Discounts (live Shopify codes). Economics needs a one-time cost setup before its numbers mean anything.

Products

Your Shopify catalogue, synced. Sync refreshes it after store changes. This is what flows, templates and live-chat product cards search against, so a product missing here is missing from your automations too.

Economics

Revenue is the easy number. Economics works out what is left, which for Indian D2C is a very different figure once return-to-origin is in it.

  1. Run the cost setup Enter cost of goods, shipping cost, your RTO rate and payment gateway fees. Estimates are fine to start. A rough RTO rate beats leaving it at zero, which flatters every number downstream.
  2. Pick a period Choose a date range and read net margin rather than gross revenue.
  3. Find the loss-makers Sort by margin. Products with high RTO can be gross-profitable and net-negative, and they are invisible in Shopify’s own reporting.
InputWhy it changes the answer
Cost of goodsThe obvious one, and usually the only one stores track.
Shipping costForward shipping per order.
RTO rateThe expensive one. A returned COD order costs both shipping legs and earns nothing.
Payment feesGateway percentage on prepaid orders.

Discounts

Your live Shopify discount codes, so automations can reference a real code rather than one you typed into a template by hand. Journeys can also issue recovery and COD-conversion codes, which is why the Shopify connection asks for discount permissions.

Frequently asked questions

Why does store economics show a lower margin than Shopify?

Because it subtracts costs Shopify does not know about — cost of goods, shipping, payment fees and your return-to-origin rate. Shopify reports revenue and gross sales; economics reports what is actually left after an order has been delivered or returned.

Do I need exact costs to use economics?

No. Reasonable estimates are far better than leaving the fields empty, which silently treats every cost as zero. Start with approximate figures, especially for RTO, and refine them once you can see which products the report flags.

Updated 2026-10-04