Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/coupon_archive
Coupons

Archive coupon

Deactivate the coupon while preserving its history.

DELETE/coupons/{id}coupons:write

Request

idstring · pathResource identifier.mandatory

Example

curl
curl -X DELETE 'https://achadu.com/api/v1/coupons/resource_id' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json'

Answer

200Operation completed
4xxError with code, message and request_id