Skip to main content
← All developer updates
improvement

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:

  1. The customer’s quantity tier. This applies only when ProductTermsSalesPriceInput.customerId is sent. A customer from another company is rejected.
  2. The sales channel’s quantity tier.
  3. The product’s default price type: MSRP, MAP, wholesale, or dropship.
  4. MSRP.

What changes for existing callers:

  • A price break with no minimum quantity is now a base price at any quantity. Before, productTerms skipped it and returned MSRP. A call that used to return MSRP can now return a channel or customer base price.
  • ProductTermSourceEnum has new values: CUSTOMER_PRICE, MAP, WHOLESALE, and DROPSHIP. Check any code that switches on the source and add a case for each.
  • unitPriceForQuantity uses 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.