Returns handling
L2–L4
Level range
8
Sprints
40
Tasks
Backend and frontend
Built as
What you’ll build
A returns system for a small online shop. Customers find what they bought, ask to send one item back and say why, and get an answer with a reason. The warehouse books in a parcel that arrived with no paperwork, records what really came back, not what was claimed, and either puts it back on the shelf or writes it off. The refund follows the inspection and is never paid twice.
A skill in every sprint
You show you have it in a pull request your team reviews, then explain it in a walkthrough.
Authentication
You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.
An order that moves through states
You can move an order through its states, refuse a transition that should not happen, and show the history of how it got where it is.
Roles and permissions
You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.
Tracking a delivery
You can record location updates against a shipment and show a customer its current state and history without them refreshing.
Proof of delivery
You can capture proof at the point of delivery, store it against the shipment, and produce it later in a dispute.
Stock that cannot go negative
You can decrement stock on a sale and prove that a hundred simultaneous orders for ten items produce ten sales and ninety refusals.
Going live
Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.
8 sprints, 40 tasks
Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.
- Sprint 01
Who is asking, and what they had
A customer signs in and sees their own delivered orders, warehouse staff can record those orders, nobody can sign up as warehouse staff, and signing out on the shared bench really ends the session.
5 tasks
- Let customers register, sign in and come back to their account
- Let staff record delivered orders with what was in them
- Show each customer their own delivered orders and nobody else's
- Create warehouse accounts that nobody can give themselves
- Make signing out of the shared bench tablet end the session
- Sprint 02
Asking for one thing back
A customer asks to send back part of an order and says why, and can never ask for more than they bought, ask twice for the same item, or ask after the return window has closed.
5 tasks
- Let customers ask to send back part of an order
- Make customers choose a reason from a list, with room for their own words
- Stop anyone asking to return more than they bought, even from two tabs
- Refuse requests after the return window, and tell the customer the dates
- Show customers the returns they have asked for and where each has got to
- Sprint 03
The other side of the counter
Warehouse staff work through a queue of requests and approve or decline each one with a reason, while customers cannot answer their own requests or read anyone else's.
5 tasks
- Give warehouse staff a queue of requests waiting for an answer
- Let warehouse staff approve a return and tell the customer what to send and where
- Let warehouse staff decline a return with a reason the customer can read
- Stop customers answering their own returns or reading anyone else's
- Let warehouse staff approve part of a request and decline the rest
- Sprint 04
The parcel nobody announced
A parcel on the bench is matched to its return, even with no paperwork, without guessing, and an approved return whose parcel never arrives is closed on its own.
5 tasks
- Let warehouse staff book in a parcel using the reference on it
- Let warehouse staff search for the return a parcel with no label belongs to
- Hold a parcel nobody can match, instead of guessing
- Close approved returns whose parcel never arrives
- Show warehouse staff what they are still waiting for
- Sprint 05
What actually came back
Someone at the bench records what is really in the parcel, with photos, and any disagreement with the customer's reason is kept next to it, never written over.
5 tasks
- Record what was really in the parcel, item by item
- Record a condition grade for every returned unit
- Mark an inspection unfinished while any of its photos has not uploaded
- Keep the customer's reason next to what the bench found
- Show customers what was received and in what state
- Sprint 06
Shelf or write-off
Every inspected unit goes back into sellable stock or is written off with its value and reason recorded, exactly once, by a named person.
5 tasks
- Keep a count of sellable stock for each item, with a history of every change
- Put a returned unit back in stock only after it has been inspected
- Record each written-off unit with the value lost and the reason
- Make sure the same unit can only be restocked or written off once
- Show the shop what came back in a period and what it was worth
- Sprint 07
Paying it back once
The refund follows the goods decision, is exactly what was paid for what really came back, and the same money is never paid twice, whichever route pays it.
5 tasks
- Create a refund only once the goods have been dealt with
- Work out the refund as what was paid for what really came back, to the penny
- Make pressing refund twice pay only once
- Pay each unit once when a return and a whole-order refund happen together
- Show refunds that are waiting, so nobody waits a month for their money
- Sprint 08
Somewhere a customer can reach
The app runs on the internet at its own address, keeps its photos through every release, and a bad release can be undone without losing returns or refunds that happened meanwhile.
5 tasks
- Put the returns desk online so a stranger can open the address and use it
- Read every setting the app needs from the server's environment
- Store inspection photos somewhere that survives every release
- Make a bad release possible to undo without losing returns or refunds
- Let someone other than you see whether the app is working
Read before you build
Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.
What you are building
The product, the two kinds of people who use it, and why a return is not an order run backwards.
How a returns desk actually works
How a returns desk works from behind the counter: approval, booking in, inspection, the goods decision and the refund, and why returns worry shop owners.
More logistics Blueprints
Tool and asset checkout
A tool store for a small builder's yard. Every drill, ladder and transformer is a single item with its own tag. The store can say who has each one and since when, and shows on one screen what has not come back, before someone needs it.
Fleet maintenance log
A servicing log for a small fleet of vans. Every van's history is in one place. The next service is worked out from how much that van is really being driven. The front page shows what is due soon and what is already overdue.
Warehouse picking list
Picking for one warehouse. An order becomes a route through the shelves, a picker walks it with a handheld, and everything that goes wrong halfway down the list is recorded instead of being quietly shipped.
Not the one for you?
Every Blueprint is planned the same way, across health, shopping, money, education and more.
Browse all BlueprintsBuild returns handling.
Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.
Start today, for free