Skip to main content
POST
/
api
/
v1
/
coupons
/
{coupon_id}
/
unarchive
Unarchive a coupon
curl --request POST \
  --url https://api.example.com/api/v1/coupons/{coupon_id}/unarchive \
  --header 'Authorization: Bearer <token>'
{
  "code": "BAD_REQUEST",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

coupon_id
string<MeteroidId>
required

Coupon ID

Example:

"cou_7n42DGM5Tflk9n8mt7Fhc7"

Response

Coupon unarchived