Expire a promo code

Expires a promo code. Expiring a promo code will not remove it from impact.com—the expired code will only be deactivated. This means impact.com will no longer track the promo code's usage after the EndDate. Expiring the promo code in impact.com will not expire the promo code in your own discounting system—that is a separate process that cannot be completed with impact.com.

Parameters


No parameters.

Returns


Returns the status of the request and the URI of the newly expired promo code. Returns an error if expire parameters are invalid.

Example Request


curl 'https://api.impact.com/Advertisers/<AccountSID>/PromoCodes/7777777' \
  -X DELETE \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'

Example Response


{
  "Status": "OK",
  "Uri": "/Advertisers/<AccountSID>/PromoCodes/7777777"
}