Teams

Update a team

Update a team.

patch/teams/{team_id}

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/teams/{team_id}
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required
Example:2112f6f8-9be7-4f2a-a193-9ee85fa3379a

Request body

namestring
website_urlstring uri nullable
contact_emailstring email nullable
billing_emailstring email nullable

Example request

{
  "name": "Team A",
  "contact_email": "contact@team.com",
  "billing_email": "billing@team.com"
}

Response

Team updated successfully

OR

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"
}

Changes

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