Skip to content
Bug Barometer

OCAPI SHOP API baskets/{basket_id}/approaching_discounts call fails with exception

Salesforce says this is fixed.

Summary

OCAPI call /baskets/{basket_id}/approaching_discounts tries to return amount value even in case of discount type Bonus. In case of bonus discounts there will be no amount value present and hence it fails while checking discount type.

Amount value should be returned only in case of discount type “Amount”

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 1 report

    Nov 30, 2026

Also open in B2C Commerce