Grocery orders with store inventory and substitutions
Order groceries from a store, pick the stock actually available and bill permitted substitutions transparently.
Follow the design
Business workflow
Customers choose a store, order packaged items and approve specific substitutes. Store staff assemble the order, confirm the items actually picked and hand it over after payment is confirmed. Customer service and platform operations can trace unresolved stock movements and payments.
These questions are answered by the case
- Ordering packaged piece goods with strictly positive integer cent prices for collection from exactly one store.
- Atomic store allocation, picking, pre-approved substitutes and physically confirmed restocking.
- Charging the positive frozen final amount at pickup and reconciling lost payment responses.
- Ordered inventory movements, authorisations and initial operational checks.
These questions remain open
- Free goods, fully discounted baskets, goods sold by weight, deposits, discounts and age verification.
- Delivery logistics and shipping.
- Dynamic store change and automatic refund processing.
- Multiple payment providers or a separate warehouse.
Determine purchases
Select and order store, items, quantities and permitted replacement items.
Commodity assembled
Examine original and released replacement items, scan them and form the final basket.
Pay and pick up
collect final amount, confirm payment, record handovers and clarify open cases.
Domain subsystems and their interactions
The order connects item selection and substitution approvals with picking, payment and handover. Store availability and cases requiring review support this process.
Customers choose the store, packaged items and permitted substitutes. The store team picks the goods and hands them over after confirmed payment; customer service and platform operations handle unresolved cases. This worked example uses only positive integer prices in cents.
Ordering and picking
Brings together selection, allocation, pick and completion.
Described in the designStore availability
Leads shelf forecasting and open online allocations.
Described in the designSubstitution rules
Checks allowed alternatives against items, quantity and price.
Described in the designPayment and handover
Takes over frozen basket, payment status and single handover.
Described in the designCases requiring review
Continues open goods and payment transactions with responsible roles.
Described in the design
Tasks in the ordering system
The Ordering and picking application is central. Its responsibilities connect orders, store availability, substitution rules, payment and handover, and cases requiring review.
Brings together selection, allocation, pick and completion.
Provides forecast and manages online allocations against the known status.
Checks previously allowed items, quantities and price limits.
Freezes the final basket, waits for a confirmed charge and records the single handover.
Connects open merchandise and payment transactions with store team, customer service and platform operations.
Practical examples
- REWE · FAQ Pick-up service ↗
Public functional example for store collection; no internal provider architecture.
Own example design for pick-up from a store and packaged piece goods with strictly positive integer cent prices. Free and fully discounted baskets are outside the case. Replacement items are specifically allowed in advance; the final positive amount arises from goods actually provided and is collected on collection. Figures and target values are illustrative design assumptions.