Update a team
This endpoint updates the details of a team specified by the team_id. It allows modification of various team attributes such as the team name, company details, phone number, website URL, address, and
This endpoint updates the details of a team specified by the team_id. It allows modification of various team attributes such as the team name, ompany details, phone number, website URL, address, and more.
For accessing the API a valid JWT jwt must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
The updated team.
There was a problem with input.
Login failed or token not valid.
Access denied due to insufficient permissions.
An unexpected error response.
PATCH /v2/teams HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 374
{
"team": {
"businessIdentifier": "biz_456XYZ",
"companyAddress": {
"addressLine": "123 Main St",
"postcode": "12345"
},
"companyName": "Awesome Corp",
"companyPhone": "+1-800-555-0123",
"companyWebsite": "https://www.awesomecorp.com",
"id": "team_123XYZ",
"logoId": "biz_456XYZ",
"name": "Alpha Team",
"onBehalfOf": "Sponsor Corp",
"reviewerEmail": "reviewer@example.com",
"sellerId": "seller_789LMN"
}
}{
"team": {
"businessIdentifier": "biz_456XYZ",
"companyAddress": {
"addressLine": "123 Main St",
"postcode": "12345"
},
"companyName": "Awesome Corp",
"companyPhone": "+1-800-555-0123",
"companyType": "COMPANY_TYPE_RETAILER",
"companyWebsite": "https://www.awesomecorp.com",
"id": "team_123XYZ",
"industryType": "INDUSTRY_TYPE_GROCERY",
"logoId": "biz_456XYZ",
"modifyTime": "2024-09-01T12:34:56Z",
"name": "Alpha Team",
"namespaceId": "namespace_987ABC",
"onBehalfOf": "Sponsor Corp",
"reviewerEmail": "reviewer@example.com",
"sellerId": "seller_789LMN"
}
}Last updated

