Skip to main content

Delete Coupon

Last updated: 05-Jan-2022
Rate this article:


The delete_coupon call is used to delete a coupon.



Input Parameters

Parameter Description
coupon_code String value of coupon code for deleting coupon. Required.

Data Returned

Parameter Description
response_code Tells the user whether or not the operation was successful.
response_message Tells the user why the operation was or was not successful.

Example API Call

curl -G \
    -H 'Accept: application/json' -u 'username:password' \
    -d 'coupon_code=APITEST002'

Example Successful Response

       "response_code" : "OK",
       "response_message" : "Coupon successfully deleted."

Common Error Codes

Code Description
PARAMETER_MISSING Required parameter missing:
PARAMETER_INVALID Invalid value for parameter:
RECORD_NOT_FOUND Unable to find record.
FORBIDDEN Access denied to coupon.
Rate this article:
Logo of Verifone