Skip to main content

Releases (de-flags) a gift voucher from a cart.

POST 

/api/v1/cart/removeGiftVouchers

SOAP Equivalent: ACP_ReleaseGiftVoucher (→ WSM_ReleaseGiftVoucher).

De-flags the voucher article (resets its allocation session) and disables its WEB_KDO cart item. When nothing matches, HTTP 200 is returned with removed = false (SOAP parity: the legacy returns bresult == false without an error code).

SOAP to REST Field Mapping

REST FieldSOAP FieldNotes
cartIdidFlagGroupCart identifier
voucherIdidVoucherGift voucher article (ID_Delivery)
rowsAffectednbrowsRows affected by the de-flag
removedbresulttrue when at least one row was affected

Request

Responses

OK