Referrals

Admin Create Code

Create new referral code

post/api/admin/referrals/codes

Request

Request body

codestring nullable
program_idinteger required
creator_idinteger nullable
code_typestring
usage_limitinteger nullable
start_datestring date nullable
end_datestring date nullable
special_reward_typestring nullable
special_reward_valuenumber nullable
is_publicboolean
priorityinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.