You remove a coupon or coupon batch from one or more promotions by issuing a DELETE request:

The body of the request must include the IDs for the promotions to remove the coupon from. If the coupon is still associated with one or more promotions after you issue the DELETE request, it is not deleted but is no longer associated with the promotions you specified in the request body. If the coupon is no longer associated with any promotions, it is deleted. If you remove all a promotion’s coupons and do not add another, shoppers will never be able to claim the promotion; it is automatically disabled until you associate it with at least one coupon or coupon batch and then re-enable it in one of the following ways:

The following example removes the coupon FreeSummer from the promotion whose ID is promo10001:

DELETE /ccadmin/v1/claimables/FreeSummer?promotionId=promo10001

The following example removes the coupon batch SAVE4e49eON50 from the promotion whose ID is promo10007:

DELETE /ccadmin/v1/couponBatches/SAVE4e49eON50?promotionId=promo10007

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices