Skip to main content

Remove coupon

Last updated: 16-Oct-2019
Rate this article:


Use the deletePromotionCoupon method to remove single or multiple coupons from a promotion.


Parameter Type/Description


Required (string)


The code corresponding to the promotion that you want to remove coupons from.


Required (object)



Required (string)



Coupon type. Available values:

  • SINGLE, use in conjunction with Code
  • MULTIPLE, use in conjunction with Codes



Required (string/array of strings)



Coupon code (for SINGLE) or array of coupon codes (for MULTIPLE).


Parameter Type/Description
promotionCoupon Object



require ('PATH_TO_AUTH');

// Promotion code corresponding to the promotion you want to remove coupons from
$promotionCode = '';

// Define single coupon object
$promotionCoupon = new stdClass;
$promotionCoupon->Type = 'SINGLE';
$promotionCoupon->Code = 'YOUR_CODE_HERE';

// Define multiple coupon object
$promotionCoupon = new stdClass;
$promotionCoupon->Type = 'MULTIPLE';
$promotionCoupon->Codes = ['YOUR_CODE_1', 'YOUR_CODE_2'];

try {
    $updatedPromotion = $client->addPromotionCoupon ($sessionID, $promotionCode, $promotionCoupon);

catch (SoapFault $e) {
    echo "UpdatedPromotion: " . $e->getMessage();

var_dump("UpdatedPromotion", $updatedPromotion);


Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo