{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-bulk-pricing-rule-full-schema.json", "title": "bulkPricingRule_Full", "description": "Common Bulk Pricing Rule properties", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/bigcommerce-bulk-pricing-rules-api-openapi.yml#/components/schemas/bulkPricingRule_Full", "type": "object", "x-internal": false, "properties": { "quantity_min": { "minimum": 0, "type": "integer", "description": "The minimum inclusive quantity of a product to satisfy this rule. Must be greater than or equal to zero. For `fixed` rules, the minimum quantity canʼt be less than two.\nRequired in /POST.\n", "x-required": [ "post" ] }, "quantity_max": { "minimum": 0, "type": "integer", "description": "The maximum inclusive quantity of a product to satisfy this rule. Must be greater than the `quantity_min` value – unless this field has a value of 0 (zero), in which case there will be no maximum bound for this rule.\nRequired in /POST.", "x-required": [ "post" ] }, "type": { "type": "string", "description": "The type of adjustment that is made. Values: `price` - the adjustment amount per product; `percent` - the adjustment as a percentage of the original price; `fixed` - the adjusted absolute price of the product.\nRequired in /POST.", "enum": [ "price", "percent", "fixed" ], "x-required": [ "post" ] }, "amount": { "oneOf": [ { "type": "number" }, { "type": "string" } ], "description": "You can express the adjustment type as either a fixed dollar amount or a percentage. Send a number; the response will return a number for `price` and `fixed` adjustments.\nDivide the adjustment percentage by 100 and send the result in string format. For example, represent 10% as “.10”. The response will return a float value for both `price` and `percentage` adjustments. \nRequired in /POST." } }, "required": [ "quantity_min", "quantity_max", "type", "amount" ] }