Remove a voucher
Removes a previously applied promo code from the cart and returns the updated cart with the discount gone from receiptLines and total. Idempotent — returns the current cart even if the code was not applied to it.
Authentication
Path parameters
Headers
Response
Voucher removed (or was not applied to the cart); updated cart returned.
Items currently in the cart (held inventory). Each item’s priceOption carries the itemized fees[] disclosure. Protection and credits are NOT items — see receiptLines.
Server-ordered display lines for receipt rendering. Iterate in sequence. Always includes SubtotalLine. Conditionally: VoucherLine, ProtectionLine, CreditLine. Fees are never a receipt line — they are disclosed per item on priceOption.fees.
Monetary amount in minor units (cents for USD). Never uses floating point to avoid precision errors.
Monetary amount in minor units (cents for USD). Never uses floating point to avoid precision errors.