The recommended way of knowing how much of a voucher can be applied to a cart is to use the following endpoint /sales/vouchers/:internalId:
Use the balanceAvailableForCart
or formattedBalanceAvailableForCart
properties in the response.
The recommended way of knowing how much of a voucher can be applied to a cart is to use the following endpoint /sales/vouchers/:internalId:
Use the balanceAvailableForCart
or formattedBalanceAvailableForCart
properties in the response.