Coupons
Delete Coupon
Permanently remove a promotional coupon
DELETE
Permanently delete a coupon. The coupon is also deleted at your payment provider.
Path Parameters
The unique identifier of the coupon to delete.
Response
Always
true for successful responsesConfirmation object containing the deleted coupon’s ID.
Error Responses
404 Not Found
Returned when the coupon doesn’t exist or has already been deleted.
Error code:
NOT_FOUND500 Internal Server Error
Returned when the coupon is missing provider records. This indicates a data integrity issue.
Error code:
INTERNAL_ERROR502 Bad Gateway
Returned when the payment provider fails to delete the coupon. The coupon remains in Affonso’s database.
