Admin
Create a team
Create an team.
post/admin/teams
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
- Auth: HTTP bearer
Request body
Example request
{
"name": "Team A",
"team_type_id": "123e4567-e89b-12d3-a456-426614174000"
}Response
Team created successfully
Example response
{
"name": "Team A",
"slug": "team-a-5500b34370e9",
"referral_code": "TEAM-ABC123",
"stripe_customer_id": "cus_ABc241X",
"team_type_id": "123e4567-e89b-12d3-a456-426614174000",
"hubspot_company_id": "123456789",
"pro_pricing_enabled": true,
"contact_email": "contact@team.com",
"billing_email": "billing@team.com",
"membership": {
"user_id": "8322419c-c182-45ef-a3b9-f294719f3b3a",
"team_id": "648a7c9a-0ca6-49d6-90ac-0096d43b9714",
"role": "MEMBER",
"first_name": "Bernardo",
"last_name": "Watsica",
"email": "Tatum_Grady@gmail.com"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.