fba_size_tier
Classify a packaged unit into its US Amazon FBA size tier from packed dimensions and weight, then show its margin to each tier limit.
Instructions
Classify a packaged unit into its US Amazon FBA size tier (small standard, large standard, small bulky, large bulky, extra-large bands) and show how close it is to each limit. (fba_analyze answers the usual question, tier plus fee plus nearest limit, in one call.)
Inputs: dims = the 3 edges of the PACKED unit, any order: "12 x 9 x 3 in", [12, 9, 3] with dims_unit (in default, cm or mm) or {"length":12,"width":9,"height":3}; weight = unit weight of the packed unit: 1.4, "1.4 lb", "22 oz" or "640 g" (a bare number is POUNDS unless weight_unit is oz, lb, g or kg; the summary states how it was read). dims_sigma = 1-sigma measurement error per edge in dims_unit (a single number, or 3 numbers in the same order as dims; omit for exact tape/caliper values); weight_sigma_oz = scale error in ounces. as_of (ISO date) picks the dataset effective on that date, default today. Only product_class "standard" is modelled in v0.1.
Returns tier, sorted dims in inches, length_plus_girth_in, unit and dimensional weight in lb (divisor 139,
2 in floor on the two shorter sides for bulky tiers), the shipping weight Amazon bands on (greater of unit
and dimensional, unit-only for small standard), each binding limit with margin, z-score and risk class
(safe/risky/critical), rejected tiers with the failing limits, the next tier up and tier_probabilities when
dims_sigma is given. detail="summary" (default) adds a short caveats list; detail="full" adds the
assumptions list and disclaimer.
Estimate from third-party-compiled rules (see fba_data_status); Amazon's own measurement governs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dims | Yes | ||
| as_of | No | ||
| detail | No | summary | |
| weight | Yes | ||
| dims_unit | No | ||
| dims_sigma | No | ||
| weight_unit | No | ||
| product_class | No | standard | |
| weight_sigma_oz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||