{
  "operationId": "calculateBillableWeight",
  "method": "GET",
  "path": "/billable-weight",
  "responses": {
    "200": [
      {
        "name": "default",
        "value": {
          "box_in": [
            14,
            10,
            6
          ],
          "actual_weight_lb": 4,
          "rounded_weight_lb": 4,
          "length_plus_girth_in": 46,
          "carriers": [
            {
              "carrier": "USPS",
              "side_rounding": "up",
              "cubic_inches": 840,
              "dimensional_weight_lb": null,
              "billable_weight_lb": 4,
              "billed_by_size": false,
              "rule": "Length x width x height / 139, each side rounded up to a whole inch, only for a box over 1728 cubic inches (one cubic foot); under it USPS bills the actual weight."
            },
            {
              "carrier": "UPS",
              "side_rounding": "nearest",
              "cubic_inches": 840,
              "dimensional_weight_lb": 7,
              "billable_weight_lb": 7,
              "billed_by_size": true,
              "rule": "Length x width x height / 139, each side rounded to the nearest whole inch, on every package (daily rates)."
            },
            {
              "carrier": "FedEx",
              "side_rounding": "nearest",
              "cubic_inches": 840,
              "dimensional_weight_lb": 7,
              "billable_weight_lb": 7,
              "billed_by_size": true,
              "rule": "Length x width x height / 139, each side rounded to the nearest whole inch, on every package."
            }
          ],
          "limits": {
            "within_parcel_limits": true,
            "parcel_rule": "Up to 150 lb, 108 in on the longest side and 165 in of length plus girth; a bigger box is not a parcel and get_parcel_quote answers not_a_parcel.",
            "usps_ground_advantage": true,
            "usps_priority_mail": true
          },
          "hint": "Billed by size: this 14 x 10 x 6 in box counts as 7 lb, while the packed item weighs about 4 lb. A box up to 556 cubic inches (for example 12 x 8 x 5 in) is billed at the real weight, and USPS bills any box up to 1728 cubic inches by weight.",
          "note": "How the carriers bill a box this size, worked out from their published rules. The carrier’s own measurement at acceptance decides, and a box that measures larger is billed as a carrier adjustment. get_parcel_quote prices it live."
        }
      }
    ],
    "400": [
      {
        "name": "default",
        "value": {
          "error": "missing_required_fields",
          "message": "Send length_in, width_in, height_in and weight_lb: the packed box in inches and its weight in pounds.",
          "missing": [
            "weight_lb"
          ]
        }
      }
    ],
    "429": [
      {
        "name": "default",
        "value": {
          "error": "rate_limited",
          "message": "Too many Smart Quote API requests from this client. Try again later."
        }
      }
    ]
  }
}
