Migration guide v2025-10-13 → v2026-03-02
Everything you need to update your code.
This guide helps you upgrade from X-B2B-API-Version: 2025-10-13 to X-B2B-API-Version: 2026-03-02, focusing on what you need to change, not just what changed.
Changelog For the full list of additions and fixes, see the v2026-03-02 changelog.
Invoice Calculation — base_quantity:
Section titled “Invoice Calculation — base_quantity:”A new base_quantity parameter has been added to invoice lines, allowing prices quoted per multiple units (e.g., price per 100 pieces). The formula is now:
Line Base Amount = Quantity * Price / Base QuantityWhen base_quantity is 1 (the default), this is backward-compatible with existing integrations.
In API responses, the price field now returns the original price as provided, and base_quantity is returned separately. In prior versions, the price field in responses contained the effective unit price (price / base_quantity).
See the Invoice Calculation Guide for full details and examples.