Dashboard
APIUnarchive Coupon API - Reactivate a Discount Code | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Unarchive Coupon - Reactivate a Discount Code via API

Bring a previously archived coupon back to active status so it can be applied to new purchases again.

PATCH/v2/projects/{project_id}/coupons/{coupon_id}/unarchive

Authorization

Bearer TokenRequired

Requires the coupons:update permission.

Path Parameters

project_idstringrequired

The unique identifier of the project.

coupon_idstringrequired

The unique identifier of the coupon to unarchive.

Last updated: