referral

Regenerate Promo Code

Reissue the member's promo code under the current naming convention.

Retires whatever they had -- the old code stops working immediately.

post/v1/referral/regenerate_promo_code

Request

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

Response

Successful Response

referral_codestring required
promo_codestring nullable
promo_discount_percentinteger nullable
suggested_promo_codestring nullable
can_referboolean
min_followersinteger
state'LOCKED_FREE' | 'LOCKED_FOLLOWERS' | 'ELIGIBLE' | 'ACTIVATED'

Where a member stands in the referral programme.

LOCKED_FREE no paid plan LOCKED_FOLLOWERS paid, but no Instagram account over the follower bar ELIGIBLE allowed a code, hasn't activated one yet ACTIVATED holds a live code

Changes

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