Agentis integrates with Loop Returns to incorporate return probability, restocking costs, and exchange-vs-refund behavior into per-order margin calculations.
Agentis reads return data from Loop — return rates by SKU, restocking costs, exchange rates, and refund processing fees. For each product in the cart, Agentis applies a risk-adjusted return cost based on historical return rates for that SKU and category. A dress with a 30% return rate has a very different expected margin than a consumable with a 2% return rate. Agentis factors this into the checkout margin calculation so your profit floor reflects the true expected profitability.
Agentis integrates via Loop's REST API using API key authentication. We pull return data from the /returns endpoint with filters for date range, SKU, and return type (exchange vs refund). Return rate calculations use a rolling 90-day window per SKU, updated daily. Restocking costs are configured per category in Agentis and cross-referenced with Loop's return reason codes. Webhooks on return.created and return.completed provide real-time updates for post-order margin reconciliation.
For new SKUs, Agentis uses the category-level average return rate as a default. As return data accumulates, Agentis transitions to the SKU-specific rate. You can also manually set expected return rates for new product launches.
Yes. Exchanges retain revenue (and often upsell), so Agentis weights them differently. A SKU with a 25% return rate but 60% exchange rate has a much better expected margin than one with 25% returns and 90% refunds.
Yes. If a high-return-rate SKU is in the cart with a discount applied, the risk-adjusted margin may fall below your floor — triggering enforcement even though the pre-return margin looked acceptable.
Solution
Stop invisible margin erosion from stacked promos, influencer codes, and free shipping thresholds. Agentis enforces profit floors at checkout for DTC brands on Shopify Plus.
Solution
Go beyond Shopify’s native reporting with real-time margin intelligence that factors in live COGS from NetSuite, freight zone costs, and FX rates.
Margin Analysis
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.
Margin Analysis
The true net profit of a single order after deducting all variable costs — COGS, shipping, discounts, payment fees, fulfillment labor, and return allowances.
Margin Analysis
The analysis of profit margins at the individual product or variant level, revealing which specific items generate profit and which consistently erode it.
Free Audit — No Commitment
See exactly how much margin Agentis can recover for your store in 7 days — no commitment required.