Admin

Create team referral

Create a referral using another team's referral code.

post/admin/teams/{team_id}/referrals

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/teams/{team_id}/referrals
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required
Example:90e0c49d-7ebb-445a-a16a-f51e0e51f5af

Request body

referral_codestring required

Response

Referral created successfully

Example response

{
  "referred_team": {
    "name": "Team A"
  }
}

Changes

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