Skip to main content

PackNet Online Documentation

Standard Cube Standard Bin Pack (SBP) Endpoint

Note

This endpoint will be deprecated in early 2026. CubeRules endpoints or the new Cartonize endpoint should be used as an alternative. See PackNet DIM Cartonize Endpoint for more information.

Generates carton dimensions given a box list (potential carton sizes).

[POST] https://api.prod1.packnet.app/Cube/v1/StandardBinPack

Status Codes
  • 200 OK: Command received and processed.

  • 400 Bad request: The request cannot be processed due to apparent client error.

  • 500 Internal server error: The server does not know how to process the request.

{
  "OrderId": "32870898",
  "Items": [
    {
      "Id": 0,
      "IsPacked": false,
      "Dimension1": 5,
      "Dimension2": 4,
      "Dimension3": 2,
      "CoordinateX": 0,
      "CoordinateY": 0,
      "CoordinateZ": 0,
      "Quantity": 1,
      "PackedDimensionX": 0,
      "PackedDimensionY": 0,
      "PackedDimensionZ": 0,
      "CanNest": false,
      "NestGrowthDimension1": 0,
      "NestGrowthDimension2": 0,
      "NestGrowthDimension3": 0,
      "NestMaxDimension1": 0,
      "NestMaxDimension2": 0,
      "NestMaxDimension3": 0,
      "CanContain": false,
      "ContainDimension1": 0,
      "ContainDimension2": 0,
      "ContainDimension3": 0,
      "SKU": "969749-05",
      "VoidContents": null,
      "NestedQuantity": 0,
      "Weight": 0.25,
      "OrientationLocked": false,
      "IsSingleLayer": false
    }
  ],
  "SelectionOptions": {
    "OrderBy": "percent-filled",
    "CutoffTime": 20000,
    "Shrinkwrap": true,
    "MaxCartons": 0,
    "ShrinkwrapMinDim1": 0,
    "ShrinkwrapMinDim2": 0,
    "ShrinkwrapMinDim3": 0,
    "ShrinkwrapMaxDim1": 0,
    "ShrinkwrapMaxDim2": 0,
    "ShrinkwrapMaxDim3": 0
  },
  "Limit": 1,
  "CustomFields": {
    "clientId": "ABC",
    "siteId": "SITE01"
  },
  "BoxList": [
    {
      "Id": 0,
      "Dimension1": 15,
      "Dimension2": 14,
      "Dimension3": 6,
      "MaximumWeight": 0
    },
    {
      "Id": 1,
      "Dimension1": 30,
      "Dimension2": 30,
      "Dimension3": 30,
      "MaximumWeight": 50
    }
  ]
} 
[
  {
    "containerId": 1,
    "timeoutReached": false,
    "orderId": "32870898",
    "packagingResult": {
      "isCompletePack": true,
      "packedItems": [
        {
          "id": 0,
          "isPacked": true,
          "dimension1": 5.0,
          "dimension2": 4.0,
          "dimension3": 2.0,
          "coordinateX": 0.0,
          "coordinateY": 0.0,
          "coordinateZ": 0.0,
          "quantity": 1,
          "packedDimensionX": 4.0,
          "packedDimensionY": 2.0,
          "packedDimensionZ": 5.0,
          "volume": 40.0,
          "canNest": false,
          "orientationLocked": false,
          "isSingleLayer": false,
          "nestGrowthDimension1": 0.0,
          "nestGrowthDimension2": 0.0,
          "nestGrowthDimension3": 0.0,
          "nestMaxDimension1": 0.0,
          "nestMaxDimension2": 0.0,
          "nestMaxDimension3": 0.0,
          "canContain": false,
          "containDimension1": 0.0,
          "containDimension2": 0.0,
          "containDimension3": 0.0,
          "sku": "969749-05",
          "voidContents": null,
          "nestedQuantity": 0,
          "weight": 0.25
        }
      ],
      "packTimeInMilliseconds": 0,
      "percentContainerVolumePacked": 3.17,
      "percentItemVolumePacked": 100.0,
      "unpackedItems": [],
      "packedItemsCount": 1,
      "packedItemsWeight": 0.25
    },
    "container": {
      "id": 1,
      "dimension1": 15.0,
      "dimension2": 14.0,
      "dimension3": 6.0,
      "volume": 1260.0,
      "ratio": 1.0714285714285714285714285714,
      "surfaceArea": 768.0,
      "distance": 21.377558326432,
      "maximumWeight": 50.0
    },
    "solutionTimeMs": 0,
    "messages": [],
    "customFields": {
      "clientId": "ABC",
      "siteId": "SITE01"
    }
  }
]