# Set a product's load plan fill rules Replaces the product's safe fill level and fill bands as a whole. Send safeFillPercent: null to clear the safe fill level and an empty restrictedFillBands to clear the fill bands. Setting the same rules again leaves them unchanged, so a failed request is safe to retry. Endpoint: PUT /products/{productCodeId}/loadPlanRules Version: 1.0.0 Security: M2X_auth_application ## Path parameters: - `productCodeId` (string, required) The product code Id ## Request fields (application/json): - `safeFillPercent` (integer,null, required) The percentage of a compartment's capacity this product may never exceed, or null for no limit. Example: 97 - `restrictedFillBands` (array, required) While this product occupies any compartment of a vehicle, every compartment on that vehicle at least minApplicableCapacityM3 in size must not come to rest strictly between lowPercent and highPercent full. - `restrictedFillBands.lowPercent` (integer, required) Lower bound of the restricted band, exclusive. Must be less than highPercent. Example: 20 - `restrictedFillBands.highPercent` (integer, required) Upper bound of the restricted band, exclusive. Example: 80 - `restrictedFillBands.minApplicableCapacityM3` (number, required) The smallest compartment capacity in cubic metres the band applies to, inclusive. Example: 5 ## Response 400 fields (application/json): - `message` (string) Example: "Invalid load plan rules" - `errors` (array) - `errors.path` (string) Dot-separated location of the invalid value in the request body Example: "restrictedFillBands.0.lowPercent" ## Response 404 fields (application/json): - `message` (string) Example: "not found" ## Response 204 fields