set_product_tiers
Define B2B quantity discount price tiers for a product, inherited by variants lacking their own tiers. Empty array removes all breaks; prices are in minor units.
Instructions
Set the record-level volume price breaks on a product (B2B quantity discounts). They price the product and every variant that defines no breaks of its own; a variant's own breaks are part of its definition, so set those with the variants payload. A line's unit price steps down to the highest break its quantity reaches, and the cart and the order both charge that price. Prices are minor units. Passing an empty array removes the breaks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tiers | No | Volume breaks. Each break must be cheaper than the one below it, and cheaper than the base price. Order does not matter - they are sorted by minQty. Empty array clears them. | |
| recordId | No | Product record id |