USE CASE / ECOMMERCE-SHIPPING

E-commerce shipping: many small SKUs, one carton

One order mixes several small SKUs of different shapes - the case where two items that fit by volume still cannot arrange inside the same box.

WHEN YOU NEED THIS

At checkout or in a fulfilment queue, whenever an order's contents need to be resolved into an actual carton before a shipping rate can be quoted - not after the fact, when the rate was wrong.

Real geometry decides what a carton actually holds, so a run either places every unit or names the ones it couldn't and why - never a partial answer presented as a complete one.

SHOWN IN Python
from packvium import Container, Dimensions, Item, Packer, PackingConfig, explain_unpacked_item

items = [
    Item.create("phone-box", Dimensions.mm("180", "90", "60"), weight="0.4 kg", quantity=10),
    Item.create("book", Dimensions.mm("240", "170", "30"), weight="0.6 kg", quantity=6),
]
containers = [
    Container.create("parcel-box", Dimensions.mm("300", "200", "200"), max_payload="20 kg"),
]

result = Packer(PackingConfig.balanced()).pack(items=items, containers=containers)
print(result.status)
for unpacked in result.unpacked:
    print(unpacked.instance.item.id, explain_unpacked_item(unpacked))
WHAT COMES BACK

Against 300×200×200 mm parcel boxes, the 16 units need two: ten fill the first box and the other six go in a second. The answer opens the second box itself and says which unit went where, rather than one aggregate 'does not fit'.

THE PACKED RESULT, IN 3D
205×100×50 · 98.3% used
a × 1b × 1
WHAT A REFUSAL LOOKS LIKE HERE
ecommerce-shippingInferred

It needs another container and the inventory ran out container_inventory_exhausted

Offer only one parcel box (quantity: 1) and the ten phone boxes still place, while the six books come back container_inventory_exhausted: a fresh box would take them, and none is left.

WHAT CHANGES IN YOUR PROCESS
TODAY
  • Checkout charges a flat rate or a weight-only rate, and the real cost is known only after packing.
  • Bulky, light orders lose money on every shipment because their dimensional weight was never priced.
  • A customer is charged for one parcel and the warehouse ships two.
WITH PACKVIUM
  • Checkout packs the cart into real boxes and prices each one on the size and weight the carrier bills.
  • The shipping price a customer pays and the cost the carrier charges come from the same boxes.
  • A cart that cannot ship is refused at checkout with a reason, before anyone pays for it.
WHAT TO MEASURE
  • Shipping charged at checkout against carrier invoices, per order
  • Orders shipped in more parcels than were quoted
  • Carts refused at checkout, by reason

Run a month of past orders through the same request and compare these numbers with what you actually shipped. That comparison, on your own data, is the only figure worth quoting.

WHY PACKVIUM

An order that needs two boxes is a normal outcome, not a bug - the risk is a system that guesses one box from a volume total and only finds out it was wrong at the dock. Packing the real geometry surfaces that before a label is printed.

Open this request
INSTALL
pip install packvium