Skip to content
Preptima

E-commerce & Retail interview questions and answers

The path from browse to delivered and back again, where inventory is the central consistency problem and every edge case is a real order belonging to a real person.

23 published across 9 topics.

Product modelling, variants, attributes, taxonomy and enrichment.

All 3 in Catalogue & Product Data

Relevance, facets, ranking signals, merchandising rules and zero-result handling.

All 3 in Search & Discovery

Cart & Checkout

3 questions

Cart persistence, checkout orchestration, tax and shipping, and conversion-critical failure handling.

hardDesign

Design the checkout flow for a marketplace with multiple sellers per order.

Persist the order in a pending state before you touch the payment gateway, quote tax and shipping per seller shipment, authorise once behind an idempotency key, and commit the remaining steps through a transactional outbox and a saga whose compensations void the authorisation and release reserved stock.

7 minmid, senior, staff
All 3 in Cart & Checkout

Inventory & Availability

2 questions

Reservations, oversell versus lost sales, multi-location availability and physical drift.

hardDesignScenario

Two customers try to buy the last item at the same time. How do you handle inventory?

Treat availability as a claim you grant, not a number you read: fold the check and the decrement into one conditional write, hold the winner's claim as a reservation that expires, and choose deliberately how much overselling you accept, because the warehouse and not the database is the real source of truth.

6 minmid, senior, staff

Order Management & Fulfilment

2 questions

Order orchestration, sourcing and allocation, partial shipment and cancellation.

Price hierarchies, promotion eligibility and stacking, coupons, and auditing a final price.

hardDesignScenario

A customer disputes their total and asks why. Can your system answer?

Only if it recorded which rules fired, in what order, against which lines, at the moment of the order. Recomputing today gives a different answer because prices and campaigns have moved, so the price becomes unexplainable exactly when someone needs it explained.

4 minmid, senior, staff
All 3 in Pricing & Promotions

Payments & Fraud

2 questions

Payment methods, authorisation timing, split payments, and fraud screening trade-offs.

hardScenarioDesign

A customer's bank shows the money left their account and you have no order. How does your checkout make that impossible, and how do you find the ones that already happened?

Write the order before you call the payment provider and key both with the same idempotency token, so a timeout leaves a record you can resolve. Then reconcile the provider's ledger against your orders daily in both directions, because a lost outcome is silent by default. Use this payment orchestration answer to show the decision, trade-off, and evidence rather than a memorised definition.

6 minmid, senior, staff
hardDesignScenario

When do you take the customer's money, and how much fraud are you willing to accept?

Authorise at checkout and capture when the goods leave, because an authorisation is a reversible hold and a capture is a refund waiting to happen; then set the fraud threshold from the full cost of a decline against the full cost of a chargeback, which usually means accepting more fraud than instinct suggests.

7 minmid, senior, staff

Return authorisation, refunds, restocking and the accounting behind it.

hardScenarioDesign

A customer opens a brand-new order and finds somebody else's used item inside. Trace it back through your returns process and tell me where it went wrong.

Almost always the unit was restocked as sellable on receipt, before anyone graded it. Receipt and grading are different events with different owners, and the returned unit must sit in a non-sellable location until a disposition decision has been made and recorded. Use this returns grading answer to show the decision, trade-off, and evidence rather than a memorised definition.

6 minmid, senior, staff
hardScenarioDesign

A customer returns one item from a three-item order paid partly by gift card. How much do you refund and to what?

Not simply the item price to the original card. The discount attributed to that line has to be unwound, tax recalculated, the split tender apportioned, and the original authorisation may have expired - which is why refunds are a separate money movement rather than a reversal of the payment. Use this returns answer to show the decision, trade-off, and evidence rather than a memorised definition.

5 minmid, senior
All 3 in Returns & Reverse Logistics

Marketplace & Omnichannel

2 questions

Multi-seller models, seller payouts, click-and-collect and store inventory.