Engineering

Ecommerce Returns and Exchanges: Item-Level States and Partial Outcomes

Track item-level returns, receiving, review, exchange availability and confirmed resolution without hiding partial outcomes.

Purushottam Kumar Suman
Purushottam Kumar Suman
Founder & CEO, Drema AI
2 min read
Smartphone screen showing a grid of colourful app icons

Returns software should track the item requested, the approved return route, what was received and the resulting authorised resolution. Separate a return request from acceptance, inspection and a confirmed refund or exchange. Partial orders need item-level states so one returned line does not make the whole order appear reversed.

CTA Background

Let’s plan your returns workflow.

Bring your workflow, constraints and open questions. We’ll help you define the requirements and work through a practical next step.

01

Define policy through responsible owners

Have the business and relevant advisers approve eligibility, deadlines, evidence and financial treatment. This guide describes software states, not consumer-law requirements or a universal returns policy.

For a hypothetical clothing order, a customer may return one size while keeping another item. The product must preserve the original order and explain the specific affected quantity.

02

Use an item-level lifecycle

StageRecord to preserveDependency
RequestedOriginal line, quantity and stated reasonEligibility under approved policy
AuthorisedPermitted route and conditionsResponsible decision
In transitCollection or shipment referenceProvider status and freshness
ReceivedActual returned identity and quantityDiscrepancy review
ReviewedApproved dispositionAuthorised inspection outcome
ResolvedExchange or financial resultConfirmed downstream reference

Do not describe a refund as completed because a request was sent to a payment provider. Track the provider-supported outcome and unresolved exceptions separately.

03

Handle exchanges without losing relationships

Link the return and replacement transaction. Recheck replacement stock and applicable pricing under the approved process. A customer choosing an exchange does not guarantee the new variant is still available.

Keep discount and shipping treatment explicit. Finance must define the rule; implementation should not divide totals arbitrarily when only part of an order returns.

04

Test discrepancies and repeated events

Include the wrong returned item, fewer units than requested, a damaged package and a repeated provider callback. Verify inventory disposition and customer status remain coherent.

Give support a view of unresolved work and a stable reference. Avoid forcing agents to infer resolution from separate courier, warehouse and payment dashboards without a linked record.

05

Return-workflow questions

Should every requested return immediately restore sellable stock?

No. Receipt, condition and approved disposition determine the stock treatment.

Is an exchange just a negative sale followed by a new sale?

The underlying records may differ by system. Define the business relationship, accounting treatment and user-visible lifecycle explicitly.

Use checkout revalidation for replacement orders, and review the workflow with Drema's ecommerce developers.

Purushottam Kumar Suman
Written by
Purushottam Kumar Suman
Founder & CEO, Drema AI

Founder and CEO of Drema AI. Builds AI systems, SaaS platforms and industry software — and writes about what actually survives production.

CTA Background

Got a problem like this one?

Bring it to a call with a founder.You will get a straight answer, including when the answer is no.

View Our Work
AI-First Engineering
Secure & Scalable
Built to Deliver Impact