Product Terms Price Resolution Changes
productTerms and unitPriceForQuantity now resolve a price from more sources. For some requests, the price they return changes.
Price sources are checked in this order, and the first match wins:
- The customer’s quantity tier. This applies only when
ProductTermsSalesPriceInput.customerIdis sent. A customer from another company is rejected. - The sales channel’s quantity tier.
- The product’s default price type: MSRP, MAP, wholesale, or dropship.
- MSRP.
What changes for existing callers:
- A price break with no minimum quantity is now a base price at any quantity. Before,
productTermsskipped it and returned MSRP. A call that used to return MSRP can now return a channel or customer base price. ProductTermSourceEnumhas new values:CUSTOMER_PRICE,MAP,WHOLESALE, andDROPSHIP. Check any code that switches on the source and add a case for each.unitPriceForQuantityuses the same rules. It returns null below quantity 1 and for another company’s customer.
A product with no default price type still resolves to MSRP, so a call that sends no customerId and meets no base price returns what it did before.