Quantity Pricing Module
Available at:




The Price by Quantity module is indicated for situations where the price of the product changes depending on the quantity or weight of the product. In addition to the list price, the maximum discount and markup percentages may also vary depending on the quantity or weight.
Presentation video
Section titled “Presentation video”Example
Section titled “Example”The example below illustrates a price-by-weight scenario that can also be met through quantity pricing.
Product: RICE FEED BAG 20 KG
| Range Description | Minimum Quantity Minimum | List Price | Maximum Discount | Minimum Price | Additional maximum | Maximum price |
| Below 100 KG | 0 | R$ 19.00 | 10% | R$ 17.10 | 12% | R$ 21.28 |
| Between 100 and 200 KG | 5 | R$ 18.50 | 8% | R$ 17.02 | 14% | R$ 21.09 |
| Between 200 and 500 KG | 10 | R$ 18.00 | 6% | R$ 16.92 | 16% | R$ 20.88 |
| Between 500 and 800 KG | 25 | R$ 17.50 | 4% | R$ 16.80 | 18% | R$ 20.65 |
| 800 KG or more | 40 | R$ 17.00 | 2% | R$ 16.66 | 20% | R$ 20.40 |
Range Description: Friendly name that can be assigned to the price range.
Minimum quantity: Minimum number of sales units of the product to reach the qualification. Example: If you sell 25 or more units of the product RAÇÃO DE AROZ BAG 20 KG, the unit list price will be R$ 17.50; with the maximum 4% discount, the minimum is R$ 16.80.
List Price: List price that will be considered.
% Discount maximum: The maximum Discount may also vary depending on the quantity.
Minimum price: This column presents the lowest sales price considering that the maximum discount was applied.
The maximum markup percentage also changes by tier, as shown in the table above.
Maximum increase: It is possible to enter a maximum increase percentage depending on the quantity range.
Maximum price: This column presents the highest price considering that the maximum increase was applied.
How to enable the module
Section titled “How to enable the module”The module must be enabled on the [Company Settings] screen (https://sistema.demander.com.br/dinamico/configuracoes-da-empresa) as shown in the figure below:
This module is only released by the Partner or Demander Support.

How to perform the integration:
Integration is carried out through field 27 of table 13 - Product Prices.
You can also manage tiers visually on the Product prices screen, in Quantity pricing.
See the article Quantity Pricing Integration, where we explain every detail of this integration.
How to manage tiers in Demander Web
Section titled “How to manage tiers in Demander Web”You can add, edit and delete tiers on screen without writing JSON manually. Each tier collection belongs only to the product price being edited.
- Open Products.
- Open the product’s Prices and click Edit for the required price: Products > Prices > Edit.
- Find the Quantity pricing section.
- Click New to open the Quantity price tier popup.
- Fill in the fields and click Save in the popup. The tier appears in the grid.
- Check the result and click Update in the price form to save the changes.

Tier fields
Section titled “Tier fields”| Field | Required | What to enter |
|---|---|---|
| Tier description | No | A name that identifies the tier, such as “Between 100 and 200 KG”. |
| Minimum quantity | Yes | Quantity in the product’s sales units at which the tier starts, including the entered quantity itself. |
| List price (R$) | Yes | Product unit price for this tier. |
| Maximum discount (%) | No | Tier discount limit. Leave blank to inherit the percentage from the product price. |
| Maximum markup (%) | No | Tier markup limit. Leave blank to inherit the percentage from the product price. |
Popup percentages use two decimal places. Quantity and price support decimals according to the input mask. Description and percentages can be left blank.

Edit, delete and cancel
Section titled “Edit, delete and cancel”- Edit: click the tier’s pencil icon, change the fields and click Save. Only the selected tier is replaced; other tiers remain unchanged.
- Delete: click the tier’s trash icon and confirm. Only the selected tier is removed. You can also delete the last tier.
- Cancel: click Cancel in the popup to discard the draft without changing the form’s tiers. Cancelling the deletion confirmation also keeps the tier.
After adding, editing or deleting, click Update in the price form to persist the result. Other product price records are not changed. Editing follows the record’s existing permissions.
How quantity selects a tier
Section titled “How quantity selects a tier”The minimum quantity is inclusive: a tier starting at 5 applies at quantity 5 and remains applicable until the next tier starts. In this article’s example, from quantity 5 up to but not including 10, the unit list price is R$ 18.50; at 10, it becomes R$ 18.00.
A tier starting at zero is optional. If the quantity does not reach any registered tier, the system keeps the product’s normal price.
Blank percentage versus zero
Section titled “Blank percentage versus zero”Blank means inherit; zero means use a zero limit. Leave Maximum discount (%) or Maximum markup (%) blank to use the corresponding percentage from the product price being edited. The grid displays the effective percentage and identifies inherited values when you hover over them.
If you enter a percentage and then erase it, the field becomes blank and the tier inherits again. Entering 0,00 sets the tier’s percentage to zero, even if the product price has a different percentage.
For example, with a list price of R$ 100.00 and a 10% maximum discount on the product price, a tier with a blank discount shows 10% and a minimum price of R$ 90.00. With 0,00 in the tier, the minimum is R$ 100.00.
When you change the product price’s maximum discount or markup, the grid recalculates tiers that inherit that percentage. Tiers with their own percentage, including zero, keep their limit.
Minimum and maximum prices in the grid
Section titled “Minimum and maximum prices in the grid”Minimum price (R$) is the tier’s list price with the effective maximum discount. Maximum price (R$) is the tier’s list price with the effective maximum markup. They are calculated for reference; they are not additional popup fields or attributes stored in the JSON.
JSON and integration
Section titled “JSON and integration”The Quantity price JSON field remains available and reflects changes made in the grid. Editing valid JSON directly also updates the grid. The field accepts up to 2000 characters; content is not silently truncated.
An empty collection or [] represents a price without tiers. If JSON is invalid, the screen shows an error and preserves the text for correction instead of replacing it with an empty collection.
The section depends on the visibility of the Quantity price JSON field, which is initially hidden in the record configuration. If it does not appear, ask the person responsible for configuration to check Quantity Price JSON visibility and the record’s permissions.
The integration format and five field mappings are described in Quantity Pricing Integration. Integration through field 27 of Table 13 - Product Prices remains valid.
Frequently asked questions
Section titled “Frequently asked questions”In the article Quantity Pricing Integration we explain everything in detail.
On which Demander platforms will the functionality be available?
Android, iOS and Demander Web. Currently not compatible with the B2B store (pedido.la).
Is the functionality already available in the Online Store?
No. This feature is currently not available in the Online Store, and there is no forecast.
Is it possible to register the ranges without integration?
Yes. On the Product prices screen, edit the price and use New, the pencil icon or the trash icon in Quantity pricing. Then click Update to save the price. The JSON field synchronized with the grid accepts up to 2000 characters.
The field starts hidden. It appears when the Quantity Price JSON visibility is no longer hidden.
The JSON format is in Quantity Pricing Integration. Integration through field 27 of Table 13 - Product Prices still applies.
Is the Flex Balance compatible with quantity pricing?
Yes. In Flex Balance calculations, the Demander will use the maximum Discount Percentage according to the price per quantity.
I want to let the seller/representative choose whether to give the discount or not. How do I do it?
Send the same price in each range, only change the maximum discount percentage (increasing with each range) as per the example:
| Range | List Price | % Discount. maximum | Minimum price |
| Below 100 KG | R$ 19.00 | 10% | R$ 17.10 |
| Between 100 and 200 KG | R$ 19.00 | 10.425% | R$ 17.02 |
| Between 200 and 500 KG | R$ 19.00 | 10.95% | R$ 16.92 |
| Enter 500 and 800 KG | R$ 19.00 | 11.58% | R$ 16.80 |
| Over 800 KG | R$ 19.00 | 12.32% | R$ 16.66 |
This way, the list price does not automatically change when the quantity changes, thus transferring the decision to apply the manual discount or not to the seller/representative.