novinzodevelopers
Your store's APIApps referenceCoupons

Archive Coupon

PUT/admin/coupon/archive/{couponId}

Archives a coupon for good: checkouts no longer accept its code, and it cannot be restored. Orders it already discounted keep their discount.

Path Parameters

couponId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/admin/coupon/archive/string"
Empty