An AI agent found a cheaper supplier. Now measure it
A cheaper supplier found by an AI sourcing agent shows its saving on day one and its cost weeks later. Date the switch, read returns and repeat orders by cohort against products you did not switch, and run both suppliers side by side before you commit.
By Joris van Huët, Founder & CEOPublished 5 min read
A supplier switch has a price you see on day one and a cost you see weeks later. An AI sourcing agent is built to win the first number. The second one shows up in delivery times, returns, reviews and repeat orders, and by the time it arrives it is easy to blame your ads for it.
A recap of Alibaba.com's CoCreate 2026 event is doing well on ecommerce YouTube this week. It demos AI agents that find suppliers, check them and negotiate prices, and it contrasts that with the months of manual outreach sourcing used to take (the video). Faster sourcing means more switches. Each switch changes the product your ads, emails and search listings are selling, and it deserves to be measured as the change it is.
Where the cost shows up
A worse supplier shows up in roughly this order:
- Delivery time, if the new supplier ships slower or from further away.
- Returns and refund reasons: defects, sizing, and items not as described.
- Reviews, a few weeks after delivery.
- Repeat purchase: customers who would have come back do not.
- Channel mix: the channels that live on returning customers, such as email, direct and branded search, are where a worse product shows first in your marketing numbers.
The fifth line is where the misreading starts. When returning-customer revenue softens a month after the switch, the usual suspects are creative fatigue, the ad platform and the email calendar. The switch is easy to forget, because it happened a month ago and it saved money. That is a confounding problem in its plainest form: two changes, one visible suspect.
Who reports the saving
The agent that negotiated the price reports the price. That is its job, and the saving is real. It has no view of your returns desk and no reason to wait for one before it reports success. A sourcing tool is judged on the deals it finds, not on how the product holds up six weeks later. The incentive to measure the rest belongs to you alone.
How to tell, from your own data
Date the switch, then compare cohorts at a fixed horizon:
- Record the switch date for each product as a GA4 annotation (Analytics Help) and in your own changelog.
- Split orders by supplier: before the date and after it, for the switched products.
- Compare the same five numbers for each group: delivery days, return rate, refund reasons, review rating and repeat purchase rate, at a horizon you choose before you look. If you already run cohort analysis, most of this is a filter away.
- Add a comparison group: products you did not switch, over the same weeks. If both groups moved, the cause is something they share, such as the season, your carrier or your ads. If only the switched products moved, the supplier is the likely cause.
That last step, switched products against unswitched ones over the same period, is a difference in differences read. It is the cheapest honest check you have, and it needs nothing but your own order data.
| What moved | Switched products | Unswitched products | Likely reading |
|---|---|---|---|
| Returns up | Yes | No | The supplier |
| Returns up | Yes | Yes | Something shared: season, sizing chart, carrier |
| Repeat orders down | Yes | No | The supplier, probably quality |
| Repeat orders down | Yes | Yes | Look at retention and ads first |
A clean result is useful either way. If nothing moved on the switched products relative to the rest, the agent found you a real saving, and you now hold a dated record that says so the next time someone asks why margins changed. If returns rose only on the switched products, you caught it in one product line instead of across the whole catalog.
What to test before you commit
- Run both suppliers side by side for a period: alternate batches, or ship one region from each. Then compare the two groups of orders on the same numbers.
- Write down the decision rule first: which metrics, which horizon, and what result sends you back to the old supplier.
- Keep the listing, price and ads unchanged during the test, or you will not know which change did what.
- Switch one product line at a time. An agent that changes ten suppliers in a week leaves you nothing to compare against. The changelog is the asset, and a change you cannot undo is a test you cannot run.
If your agent can act on its own, give it the same limits you would give a new hire: one change at a time, a record of every change, and a holdout it is not allowed to touch. Designing a holdout an agent will respect covers how.
What the margin math should include
The saving the agent reports is unit cost times units. The number you care about is margin after everything the switch touched:
- Unit cost saving, the part you already know.
- Minus refunds and return shipping on the extra returns, if there are any.
- Minus the repeat orders you lose, valued at their margin, over your horizon.
- Minus any support time spent on complaints about the new batch.
If what remains is still positive, the switch paid. If you cannot fill in the lines yet, the horizon has not passed, and the switch is still a test, whatever the dashboard says. The same thinking sits behind returns-adjusted ROAS: a sale is not finished until the return window has closed.
Related answers
Frequently asked questions
What should I measure after switching suppliers?
Return rate, refund reasons, delivery time, review rating and repeat purchase rate for orders from the new supplier, against orders from the old one, at a horizon you fix in advance. The unit cost saving is the one number you already know.How long before a supplier switch shows up in the numbers?
Delivery time shows first, then returns within your return window, then reviews, then repeat orders. Repeat purchases take longest, so fix the horizon before you look rather than stopping when the numbers look good.How do I separate a supplier effect from everything else that changed?
Compare products you switched with products you did not, over the same weeks. If both groups moved, the cause is something they share, such as the season or your ads. If only the switched products moved, the supplier is the likely cause.Can I test a new supplier without switching completely?
Yes. Split supply for a period, by alternating batches or by shipping one region from each supplier, keep price, listing and ads unchanged, and compare the two groups of orders on the same numbers.
Go deeper: Causal attribution, explained.
Sixty-second versions of these ideas: Causality Engine on YouTube Shorts.
Keep reading
Terms in this article
- AnalyticsAnalytics is the systematic computational analysis of data. It reveals customer behavior and measures campaign performance.
- ConfoundingConfounding is a distortion of the estimated treatment effect when a third variable, a confounder, associates with both the treatment and the outcome. Causal inference methods control for confounding to isolate the true treatment effect.
- DashboardA dashboard is a visual display of key information required to achieve specific objectives. It consolidates data onto a single screen for quick review.
- Difference In DifferencesDifference In Differences is a quasi-experimental method that estimates the causal effect of an intervention. It compares outcome changes over time between a treatment group and a control group.
- MetricsMetrics are quantifiable measures that track and assess business process status. They evaluate campaign performance and inform attribution analysis.
- Repeat Purchase RateRepeat Purchase Rate is the percentage of customers who have made more than one purchase. It indicates customer loyalty and satisfaction.
- RevenueRevenue is the total income generated by the sale of goods or services related to a company's primary operations.
- ShopifyShopify is an ecommerce platform for creating online stores and selling products. Attribution modeling shows which marketing channels drive traffic and conversions within Shopify.