referral

Set Promo Code

Set the member's promo code to one they picked.

Their previous code keeps working until the new one is live at a provider, and is retired once it is.

post/v1/referral/set_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

Request body

codestring required

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.