Packing plans for online retail

Choose a box for the order, not an order for the box.

Compare each order with the cartons available at its shipping site, using the dimensions and weights your catalogue already holds.

The decision

Compare the order with cartons in stock.

Send the order, carton list and site stock. StoaPack returns box choices and exact item positions for review.

Use sale-unit dimensions and weights.

Keep available carton quantities current.

Review leftovers before releasing an order.

A practical boundary

Your system stays in charge.

Your order platform remains the source of demand and inventory. StoaPack returns a plan for your team to inspect. Show the named carton and positions in the packing screen before work starts.

Evaluate with representative orders · Data use and limits.

Before work starts

Check the fit before the packer starts.

Show the selected carton and item positions on screen. Review any units the request could not place before work starts.

Checked placement view

A smaller stocked carton for the same order.

The checked order includes speakers and small accessories. The baseline offers only the largest carton from the same stock list.

Retail plan 25 × 25 × 25 cm
Ships from warehouse · small 25 x 25 x 25 cm · Box 1 of 1, 6 itemsPhone Case (warehouse:phone-case:physical-2); Phone Case (warehouse:phone-case:physical-3); Wireless Earbuds (warehouse:wireless-earbuds:physical-5); USB-C Cable (warehouse:usb-c-cable:physical-4); Bluetooth Speaker (warehouse:bluetooth-speaker:physical-0); Bluetooth Speaker (warehouse:bluetooth-speaker:physical-1)

Recorded placements from the retail example.

6 units in 1 package. The response includes item positions and dimensions.

  • Small box, 25 × 25 × 25 cm at Warehouse — 39.94% of its volume used.
    • Bluetooth Speaker × 2
    • Phone Case × 2
    • USB-C Cable × 1
    • Wireless Earbuds × 1

Small instead of Medium: 63% less estimated DIM weight. Same order and stock; the baseline offers only the largest carton.

Download the checked request or read the response fields.

Estimated DIM weight; your carrier's rate card decides the real charge. Download the request to reproduce it.

For your existing workflow

Send an order. Review the placements.

Show the cURL request for this checked order

Try the same order from your server

Create a key in your dashboard, then replace the key variable below. This request calls the published API directly and leaves AI review off.

curl -X POST "https://stoapack.stoalogistics.com/api/v1/optimize" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $STOAPACK_API_KEY" \
  -d '{
  "items": [
    {
      "id": "bluetooth-speaker",
      "width": 18,
      "height": 12,
      "depth": 12,
      "weight": 0.8,
      "quantity": 2,
      "name": "Bluetooth Speaker"
    },
    {
      "id": "phone-case",
      "width": 16,
      "height": 8,
      "depth": 2,
      "weight": 0.1,
      "quantity": 2,
      "name": "Phone Case"
    },
    {
      "id": "usb-c-cable",
      "width": 12,
      "height": 8,
      "depth": 3,
      "weight": 0.05,
      "quantity": 1,
      "name": "USB-C Cable"
    },
    {
      "id": "wireless-earbuds",
      "width": 8,
      "height": 8,
      "depth": 4,
      "weight": 0.15,
      "quantity": 1,
      "name": "Wireless Earbuds"
    }
  ],
  "unit": "cm",
  "weight_unit": "kg",
  "ai_review": false,
  "warehouses": [
    {
      "id": "warehouse",
      "inventory": {
        "bluetooth-speaker": 2,
        "phone-case": 2,
        "usb-c-cable": 1,
        "wireless-earbuds": 1
      },
      "available_boxes": [
        {
          "id": "medium",
          "width": 40,
          "height": 30,
          "depth": 35,
          "quantity": 10,
          "max_weight": 20,
          "fill_percentage": 100
        },
        {
          "id": "small",
          "width": 25,
          "height": 25,
          "depth": 25,
          "quantity": 10,
          "max_weight": 20,
          "fill_percentage": 100
        }
      ]
    }
  ]
}'
Start free (50 calls)