# Create a new rental discount plan rule Endpoint: POST /rental-discount-plan-rules Version: 2.22 Security: bearerAuth ## Request fields (application/json): - `rentalDiscountPlanId` (integer, required) Rental discount plan identifier Example: 1 - `productCategoryId` (integer, required) Product category identifier. The rule applies to all rental products in this category (unless rentalProductId is specified) Example: 1 - `rentalProductId` (integer) Rental product identifier. Optional - if specified, the rule applies only to this specific rental product within the category Example: 1 - `discountPercentage` (number, required) Discount percentage to apply (0-100) Example: 15 ## Response 200 fields (application/json): - `id` (integer) Rental discount plan rule identifier Example: 1 - `rentalDiscountPlanId` (integer, required) Rental discount plan identifier Example: 1 - `productCategoryId` (integer, required) Product category identifier. The rule applies to all rental products in this category (unless rentalProductId is specified) Example: 1 - `rentalProductId` (integer) Rental product identifier. Optional - if specified, the rule applies only to this specific rental product within the category Example: 1 - `discountPercentage` (number, required) Discount percentage to apply (0-100) Example: 15 ## Response 201 fields (application/json): - `id` (integer) Rental discount plan rule identifier Example: 1 - `rentalDiscountPlanId` (integer, required) Rental discount plan identifier Example: 1 - `productCategoryId` (integer, required) Product category identifier. The rule applies to all rental products in this category (unless rentalProductId is specified) Example: 1 - `rentalProductId` (integer) Rental product identifier. Optional - if specified, the rule applies only to this specific rental product within the category Example: 1 - `discountPercentage` (number, required) Discount percentage to apply (0-100) Example: 15 ## Response 400 fields ## Response 401 fields ## Response 404 fields