Admin - Promo Codes
Admin - Promo Codes

Deactivate Promo Code

Kill a code. Already-granted premium is untouched.

post/api/v1/admin/promo/codes/{code}/deactivate

Request

  • Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemstoneaiapp.com/api/v1/admin/promo/codes/{code}/deactivate
  • Auth: none declared

Path parameters

codestring required

Headers

x-admin-keystring nullable

Response

Successful Response

idinteger required
codestring required
campaignstring nullable
notestring nullable
premium_daysinteger nullable
bonus_scansinteger required
max_redemptionsinteger required
redemption_countinteger required
restricted_emailstring nullable
expires_atstring date-time nullable
is_activeboolean required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.