How a return usually runs, and where it leaks money
In many stores a return still starts as an email. An agent finds the order in Shopify, checks the policy, asks for photos, makes a label in the carrier's portal and sends it. Days later a parcel reaches the warehouse with nothing that links it to the order, so someone searches by the customer's name, checks the item and messages support, and support issues the refund by hand.
Every handover in that chain costs something:
- Agent time spent on lookups and copy-and-paste, at its worst after a sale or a seasonal peak such as Eid.
- Stock that waits. A returned jacket left in its box for two weeks misses the weeks it could have sold in.
- Refund errors, such as a refund paid twice, or paid for an item that never came back.
- Disputes. A customer who waits too long for a refund may go to their bank instead, which turns a return into a chargeback.
- Lost lessons. Reasons typed into an inbox as free text never reach the people who could fix the product.
The returns system we build
The parts depend on your policy and your systems, but most returns projects include:
- A returns portal in Arabic and English, built for a phone first. The customer enters an order number and email or phone, picks the items, chooses a reason and adds photos where the rules ask for them.
- A rules engine that decides each request from the reason, the product, the order date and the customer's history: approve, approve after photos, send to review, or decline with a clear explanation.
- Labels and drop-off. Labels or drop-off codes from your carriers' APIs, or instructions when the customer ships the item back themselves. For low-value items, a refund without a return can cost less than the shipping.
- An inspection screen for the warehouse: scan the label, see what should be in the box, grade it (resell, refurbish or write off), add a photo, and send sellable stock back into inventory sync.
- Refunds, exchanges and store credit, issued through your store platform and payment provider at the moment your rules set.
- Return-reason reports by product, variant, size and channel.
Both screens are small web apps beside your store; ecommerce development covers the storefront itself.
Rules by reason and product, written down first
Most stores have a returns policy on a web page and a second, unwritten one in the support team's heads. We write both down together, in a table the team can read and change, before anything is coded. A typical starting point:
| Reason | A typical rule | Goes to a person when |
|---|---|---|
| Wrong size or fit | Approve inside the return window and offer an exchange first | The item was final sale or shows wear |
| Arrived damaged | Ask for a photo, then replace or refund; skip return shipping on low-value items | Damage keeps repeating for one carrier or warehouse |
| Not as described | Approve, and tag the listing for review | The same listing collects several such returns |
| Changed mind | Approve if unopened and inside the window | The product is hygiene-sensitive or made to order |
| Never arrived | Do not open a return; check the tracking instead | Tracking shows the parcel as delivered |
Marketplace orders usually follow the marketplace's own return policy, which can take precedence over yours; the system still records those returns so stock and reasons stay complete. Consumer protection rules set minimum return rights in many markets and differ by country, so the table starts from them. This is awareness, not legal advice: confirm what applies with qualified counsel.
When to release the refund
The moment a refund is released is a trade-off between customer trust and the risk of paying for something that never comes back. You can choose a different moment per product or per customer:
| Release the refund | Suits | The risk |
|---|---|---|
| When the request is approved | Low-value items and customers with a clean history | The item may never be sent back |
| At the carrier's first scan | Most orders | The box may be empty or hold a different item |
| After warehouse inspection | High-value items and items that are easy to swap | Slow refunds bring complaints and disputes |
Exchanges and store credit keep the sale, so many stores offer them first. Offer them honestly, with the refund option on the same screen: hiding it frustrates customers and may conflict with local consumer rules. Cash-on-delivery orders need their own refund path, covered in the FAQ below.
Fraud signals and a review queue that stays short
Most returns are honest, and a rule that flags too many customers buries the real cases. The system scores each request on signals you agree, and sends the high scores to a person. It never declines on a score alone. Typical signals:
- Many returns from one account, address or card in a short period, especially of high-value items.
- A return sent from an address that differs from the delivery address.
- Signs found at inspection: removed tags, wear, or a serial number that does not match the one shipped.
- A parcel whose weight at drop-off is far from what the items should weigh, where your carrier reports it.
Start with clear rules; a statistical model can come later, once you know which flagged returns really were fraud. Reviewers note a reason for every decision, which keeps the process fair. See handling automation exceptions for queue design.
Turning return reasons into product fixes
A reason picked from a list can be counted; a free-text comment explains it. We keep both. A language model can sort the comments into your reason list and summarise the themes for each product every week, and a person reads a sample to check the sorting. It is a small, well-bounded use of AI automation. The patterns then become tasks:
- "Runs small" on one shoe: update the size guide and add a fit note to the listing.
- "Colour looks different" on one variant: reshoot the photos.
- Damage concentrated on one carrier or packing station: change the packaging or the carrier.
- "Not as described" only on the Arabic listing: the translation is wrong, a job for catalogue automation.
Connections, data flow and security
How data moves
The portal reads orders from Shopify or your store platform, and marketplace orders through their APIs. Each step (request, approval, label, scan, inspection, refund) writes an event to a log, and the next step picks it up through a webhook or a queue. Every refund call carries an idempotency key, so a retry can never pay twice. Agents see the return inside the help desk, such as Zendesk, and refunds reach accounting, such as QuickBooks or Xero, as credit notes.
Protecting refunds and customer data
- The portal confirms the customer with a one-time code sent to the order's email or phone, because an order number alone is easy to guess.
- Uploaded photos are checked for type and size, scanned for malware, and stripped of location metadata before staff see them.
- Only named roles can approve refunds above a limit, staff accounts use multi-factor authentication, and every refund records who approved it and why.
- Bank details for cash-on-delivery refunds are collected through a secure form, masked on screen and deleted once the payout is confirmed.
As in every project, we start with a threat review of these flows. If a data protection law applies to you, this is design awareness, not legal advice, so confirm the details with qualified counsel.
From a baseline of handling time to the first release
Measure the baseline listed in the FAQ below before anything changes, and compare the same measures after launch. We do not promise a percentage in advance, because the result depends on your policy, your volumes and your systems.
Most returns projects start with a discovery sprint of about two weeks: we map today's flow with support and the warehouse, write the rules table, prototype the portal and the inspection screen, threat-model the refund flow and agree a roadmap. A common first release is the portal, the rules and the labels, then inspection and refunds, then reporting. See pricing for engagement shapes, and the ecommerce industry page for the wider picture.