Product return rate
“calculate the return rate by product and reason: units returned divided by units sold”
Calculate the return rate by product and reason: units returned divided by units sold in Shopify returns and Shopify order line items, counting closed returns only.
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify returnsCSV export · 18 rows
- FileShopify order line itemsCSV export · 20 rows
- StepTotal closed returns by product and reasonStep 1
- StepTotal units sold by productStep 2
- JoinAdd units sold10 of 10 paired
- StepCalculate return rateStep 4
- ResultProduct Return Rates10 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 10 rows came out, and the join paired 10 of 10 rows.
- Download Shopify returns sample (18 rows)Shopify Admin: Orders > Returns > Export
- Download Shopify order line items sample (20 rows)Shopify Admin: Orders > Export > Current page / All orders, then use the line-item columns in the CSV
What you get back
The result of that run, the rows to look at first.
| Product | Reason | Units returned | Units sold | Return rate |
|---|---|---|---|---|
| Harbor Mug - Sea Glass | Arrived damaged | 2 | 9 | 0.2 |
| Ridge Socks - Pine / L | Wrong size | 3 | 9 | 0.3 |
| Luna Candle - Cedar | Changed mind | 2 | 3 | 0.7 |
| Moss Knit Beanie - Black / OS | Changed mind | 2 | 5 | 0.4 |
| Trail Runner Jacket - Navy / M | Too small | 2 | 4 | 0.5 |
| Studio Tee - White / S | Defective item | 2 | 6 | 0.3 |
| Coast Scarf - Clay | Color mismatch | 1 | 3 | 0.3 |
| Dune Notebook - Sand | Not as described | 3 | 5 | 0.6 |
| Moss Knit Beanie - Black / OS | Too small | 1 | 5 | 0.2 |
| Trail Runner Jacket - Navy / M | Changed mind | 1 | 4 | 0.3 |
How do you calculate return rate by product and reason?
Export your Shopify returns and Shopify order line items, then upload them to Mammoth. It totals closed returns by product and reason, totals units sold by product, adds the sales data, and calculates return rate as units returned divided by units sold.
How it works
How to use the Product Return Rates workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Product Return Rates: questions
Which export should you use?
What happens to rows that do not match?
How do you change the rules?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Find the few products that make most of your sales, what sells together, and the stock that sits too long.
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template
- Inventory turnover and days on handEach product's turnover and days of stock on hand, month by monthSee the workflow Template
- Demand forecast by SKUForecast next month’s demand for each SKU from your Shopify order line export using recent monthly averages and trend.See the workflow Built by the agent
- Economic order quantityCalculate economic order quantity for each item from a NetSuite item cost and demand export.See the workflow Built by the agent