Item attributes
Every field you can set on an item, what the packer does with it, and on which endpoint. A field marked /pack only affects cartonisation, /pack_pallet only palletisation, both affects both. Lengths and weights follow the request's units.
The bin attributes are on a page of their own.
Identity and size
id (required, both). Identifies the article. Every unit with the same id must have the same dimensions. On /pack_pallet, units of one id are built into single-article layers wherever they can be.
sku_id (/pack_pallet). The product an item belongs to, for a product that ships in several packaging units (a single bottle, a six-pack, a case). Defaults to id. exclude_item_ids on /pack_pallet matches against it.
width, height, depth (required, both). The outer size. height is the side that points up when the item is placed as given. Rotations (below) turn the item so that another side points up.
quantity (both, default 1). How many identical units of this line to pack. A line with quantity: 0 is skipped: it is not packed and not reported as unfitted.
weight (both, default 0). The weight of one unit. It counts towards the bin's max_weight, towards the load on the items below it, and towards carrier prices.
Load bearing and support
max_weight_on_top (both, default unlimited). The most weight that may rest on this item. An item resting on several others spreads its weight over them by how much of its base sits on each: a 30 kg box with two thirds of its base on one carton and one third on another puts 20 kg on the first and 10 kg on the second. Everything higher up in the column counts the same way. On /pack a placement that would overload an item below is refused. On /pack_pallet the layers are ordered so that fragile items end up above the heavy ones.
min_floor_space_coverage (both, default 0.75). The share of the item's base that must rest on something: the floor of the bin or the items below. With 0.5, at least half the base must be supported, and an item with less support is not placed there.
is_open_top (both, default false). The item is a crate or tray with an open top: an item above it may only rest on its rims, not on the open middle. Each corner of the item above must be close enough to a rim that carries load (within half of that item's side by default).
stack_on_width_edge, stack_on_height_edge, stack_on_depth_edge (both, default true). Which edges of an open-top item carry load. Height edges are the four vertical corner posts; width and depth edges are the rims along those sides. A crate whose walls are too thin to carry anything sets stack_on_width_edge and stack_on_depth_edge to false, so the load must rest on its corner posts. Setting any of the three to false makes the item open-top.
Orientation
allow_WD_floor, allow_WH_floor, allow_DH_floor (both, default true). Which faces the item may stand on. allow_WD_floor: false means the width by depth face may never touch the floor, so the item is never placed as given; allow_WH_floor and allow_DH_floor do the same for the other two faces. Use these for "this side up" or "never on its side".
allow_WHD_rotation, allow_WDH_rotation, allow_DWH_rotation, allow_DHW_rotation, allow_HWD_rotation, allow_HDW_rotation (both, default true). The six orientations one by one. The three letters say which side of the item lies along the bin's width, height and depth, in that order. WHD is the item as given. In the figure each face of the item keeps its colour, so you can follow which face ends up where. The floor flags above are shortcuts: each switches off the two orientations that put that face down. Use the six flags when you need finer control, for example an item that may stand upright but only lengthwise in the bin.
interlock (/pack_pallet, default true). Whether a layer of this item may be mirrored, so its joints do not line up with the layer below and the pallet holds together better (as in bricklaying). Set it to false for items whose layers must stay exactly as built.
Stacking, nesting and folding
Three ways for items to take up less room. Stacking slots identical items into each other, such as cups or chairs. Nesting puts other items inside a hollow one, such as a bucket. Folding applies to soft items. They apply on /pack, and on the mixed top of a pallet on /pack_pallet.
stack_width_increase, stack_height_increase, stack_depth_increase (stacking, default unset). For identical items that slot into each other. Every extra unit on the stack adds only these amounts instead of its full size: four cups of height 10 with a stack_height_increase of 1 take 10 + 1 + 1 + 1 = 13, not 40. Only units with the same id, turned the same way, stack. Setting one of the three sets the other two to 0.
inner_width, inner_height, inner_depth (nesting, default unset). The inside of a hollow item, such as a bucket, a tray or a crate. When all three are set, other items may be packed inside it. The cavity is centred across the width and depth and open at the top, so height - inner_height is the thickness of its floor. Each inner size must be at most the outer one.
fold_factor (folding, default 0). For soft items, such as clothing, that may be folded to fit. The packer may fold the item up to this many times, and only when it does not fit the bin unfolded. Each fold halves one of the two longest sides and doubles the shortest.
Order and grouping
sequence (both, default unset). The order in which items come out of the bin. An item with a higher sequence comes out first, so it may go on top of a lower one but never under it. Two items of which one has no sequence are not constrained against each other. The bin's sequence_axes extends the rule from stacking to the length or width of the bin, for example drops in a trailer from the cab to the doors.
priority (/pack, default unset). How urgent the item is: a lower number is more urgent, and an item without a priority is the least urgent. Every bin is filled with the most urgent items first, so when the last bin is only part full it holds the least urgent ones. Without priorities, urgent and other items end up spread over all bins. Priority is a preference: items of different priorities may still share a bin.
group (/pack, default empty). Items of different groups never share a bin; each group is packed on its own. Either every item of an order has a group or none has.
exclude_item_ids (both, default empty). Items this item may never share a bin with, for example bleach and food. The rule works both ways. On /pack the list holds item ids; on /pack_pallet it holds sku_ids (the same thing when you do not send sku_id).
zone (/pack_pallet, default unset). The warehouse zone the item is picked in. The build order of each pallet (pack_sequence in the response) keeps items of one zone together, so the picker switches zones as few times as possible.
tags (both, default empty). An item only goes into a bin whose tags include all of the item's tags. An item without tags fits any bin. On /pack_pallet each item goes to the first bin (fewest tags first) that has all its tags, and items whose tags no bin has are left out of the response.
Pick boxes
pick_in_box (/pack_pallet, default false). Pack this item into one of the bin's pick_boxes first, a tote or a crate, and place the filled box on the pallet as one unit. An item that fits no pick box is placed loose.
volume_based_pick_in_box (/pack_pallet, default false). Fill the pick box by volume, as if the items were poured in, rather than placing each one. The box's height then follows from the volume of its contents.
Free data
extras (both, default empty). Any data of your own. It comes back unchanged with the item in the response and does not affect packing, unless your account has been set up to read a specific key.
Deprecated fields
min_sequence and max_sequence are deprecated: use sequence. allow_combine_pick_in_box and allow_rotations_pick_in_box are accepted for compatibility and have no effect.