Packing use cases: find your problem, then read the request that solves it.
Each page below is real, runnable code for one packing problem, not a mock-up - the same request contract every constraint page documents.
The engine is one contract in four runtimes. The request and the result are the same document everywhere, and only the spelling of the call changes - so each scenario is written out once, in whichever runtime reads most plainly.
ALL USE CASES
Cartonization: pick the right box for a mixed order
An order has several item types and candidate box sizes - you need a yes-or-no per box, not a volume total that misses a rotation that will not fit.
Box selection: choose the cheapest box that still fits
An order has several item types and more than one box size. You want the packer to say what fits, and name exactly why anything did not.
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.
Pallet loading: stack cartons within a height limit
The same carton, stacked as high as the pallet and the carton's own crush rating allow, not the container's much taller ceiling.
Container loading: respect container eligibility
Not every container may carry every item: a chilled pallet cannot go in a dry one, and volume alone cannot see that rule.
Warehouse packing: fill crates, priced per crate
One SKU, a known quantity, more than one crate size. You want the real crate count and its cost, not a volume estimate.
Multi-stop delivery: don't bury the first stop
A delivery van loads for several stops in one trip - a tight load is worthless if the first stop's crate ends up behind the last one's.
Weight balancing: keep axle loads inside their limit
A vehicle can have enough total payload and still exceed a declared axle limit, because one axle alone carries more than its own limit.
Run your own request, or read the full field list.
The playground runs a real request without installing anything. The request contract page lists every field these examples use, and the ones they don't.
Try in PlaygroundRead the full contract