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 Field | SOAP Field | Notes |
|---|---|---|
| cartId | idFlagGroup | Cart identifier |
| voucherId | idVoucher | Gift voucher article (ID_Delivery) |
| rowsAffected | nbrows | Rows affected by the de-flag |
| removed | bresult | true when at least one row was affected |
Request
Responses
- 200
- 401
- 404
- 422
- 500
OK
Unauthorized
Not Found
Unprocessable Content
Internal Server Error