Ubika
← Ubika blog

Returns portal for an online store: legal time limits, refunds and size exchanges

November 26, 2026 · 7 min read

An online store receives returns by email, by message, through the marketplace and in parcels that arrive at the warehouse without warning. A returns portal puts order into all that: the buyer requests the return on a web page with their order number, and the warehouse knows what is coming, from whom and why before opening the box. Here is how to set one up within the legal time limits, how to handle the refund and what to do about size exchanges.

What a returns portal does

  • →Identifies the order: the buyer enters the store's order number and their email or postcode.
  • →Checks that it can be returned: the order has already shipped, it is within the time limit and no more units are returned than were bought.
  • →Asks for the reason from a closed list (size, defect, not as expected, arrived damaged…) and allows a comment.
  • →Offers a return or an exchange for another size or colour.
  • →Gives the buyer clear instructions: the warehouse address, how to pack it and, if the store pays, the return label.
  • →Tells the warehouse and the store that this return is on its way.

The time limits set by law

Under EU rules (see the European Commission's Your Europe page on returns), a buyer who purchases online can withdraw within 14 days without giving a reason; for goods, the 14 days run from delivery. Each country writes the details into its own law. In Spain they are in the consolidated General Law for the Protection of Consumers and Users:

Swipe the table sideways to see all the columns →
WhatTime limitArticle
Withdrawal period (goods)14 calendar days from when the buyer receives the goods (if delivered in several shipments, from the last one)Art. 104
If the store did not inform of the right to withdrawThe period is extended by 12 monthsArt. 105
Buyer's deadline to send the goods back14 calendar days from notifying the withdrawalArt. 108.1
Store's deadline to refund14 calendar days from being told of the withdrawal, by the same means of paymentArt. 107.1
Holding the refundUntil the goods or proof of their return arrive, whichever comes firstArt. 107.3

Two practical consequences: the period runs from delivery, not from when the parcel left the warehouse, so the portal needs the delivery date from the carrier's tracking; and the refund clock runs even if the parcel has not arrived, so the warehouse has to receive and inspect quickly for the store to pay on time.

What happens when the return reaches the warehouse

  • →The parcel is scanned and matched to the announced return. If it arrives unannounced, it is looked up by the name or the order number written on the box.
  • →Each item is inspected and graded: back to sale, to outlet or repair, or unusable.
  • →Photos are taken of anything damaged: they are the evidence for the buyer and for the carrier.
  • →Whatever goes back to sale is put away in its bin and stock goes up at that moment.
  • →The store is told that the return has been received and inspected, so it can refund or send the exchange.

We cover this part in more detail in how to handle an online store's returns in the warehouse, and blocking damaged stock in quality control with a PDA.

The refund: who triggers it and when

The money is refunded by the store, not the warehouse, but the warehouse is the one that knows when the goods arrived and in what condition. There are three ways to coordinate it, and each store should pick one in writing:

  • →Automatic: when the inspection closes with a good grade, the software issues the refund in the store. Fast, but best kept for clear-cut grades.
  • →With confirmation: the warehouse leaves the return inspected and the store presses “refund”. The usual option when the condition is in doubt.
  • →By hand: the store refunds in its payment gateway and marks it as done. What is left when the platform does not allow refunds from outside.

Size exchanges without losing stock

The exchange is the return the store cares most about, because it keeps the sale. To keep it from causing trouble in the warehouse:

  • →Offer only sizes or colours with sellable stock at that moment, and check again when the exchange order is created.
  • →Decide when the exchange ships: when the return is received (safer) or straight away (faster, with the risk that the item never comes back).
  • →The exchange order should be linked to the return, with the original order's address, so the full history can be followed.
  • →What is exchanged is not refunded: the portal and the PDA must make that clear so nobody refunds by mistake.

How it works in Ubika

Ubika has a public returns page for each client's buyers: it only allows returns of orders that have shipped and are within the time limit (each client sets it; by default, 14 days from delivery), asks for the reason from a list, offers an exchange for another size or colour in stock and emails the buyer when the return is registered, received and refunded. In Shopify and WooCommerce the refund can be triggered from the return itself; in other channels it is left as a task for the client. See how Ubika works.

Frequently asked questions

How many days does an EU buyer have to return an online order?
In the EU the right of withdrawal for distance sales is 14 days; for goods, counted from the day of delivery. The store can offer longer, never shorter. Some goods are excluded, such as perishable food or made-to-order items.
When does the money have to be refunded?
Under Spanish law (which transposes the EU rules), within 14 calendar days of the store being told of the withdrawal, using the same means of payment. The store may hold the refund until it receives the goods or proof that they were sent back, whichever comes first.
Who pays for the return shipping?
The buyer pays the postage for a return within the cooling-off period, unless the seller offers to pay or did not inform the buyer of that cost before the purchase. Returning a defective product is the seller's cost.
Is a size exchange mandatory?
No. The law covers withdrawal (return and refund), not exchanges. Exchanging for another size or colour is the store's commercial policy, and it is best offered only for sizes in stock.

Keep reading

What Ubika does: Warehouse software for online stores · warehouse management software · software for 3PLs · WMS for e-commerce

Tell us how you work and we'll set it up

Tell us what you move, which stores and carriers you use and how you run it today. We fit it to your warehouse; anything missing, we build.

No lock-in, no card required. You can also email us at hello@ubikawms.com.