admin_console
promo_code

Delete Promo Code

Delete a promo code and its discounts at Dodo and Lemon Squeezy.

Irreversible: anyone holding the code is turned away at checkout from the moment it runs. Referrals already attributed to it are untouched -- they live in user_referral and keep earning.

delete/v1/admin_console/promo_code/{code}

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

codestring required

Response

Successful Response

codestring required
deletedboolean required
dodo_discount_deletedboolean nullable
lemon_squeezy_discount_deletedboolean nullable
detailstring nullable

Changes

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