Update teams in bulk
This endpoint updates bulk teams simultaneously based on the field mask. Note: When a supplier attempts to update records in bulk, the API allows a maximum of 50 records per request. If the request co
description: "This endpoint updates bulk teams simultaneously based on the field mask. Note: When a supplier attempts to update records in bulk, the API allows a maximum of 50 records per request. If the request contains more than 50 records, the API returns an error message indicating that the limit has been exceeded."
Update teams in bulk
This endpoint updates bulk teams simultaneously based on the field mask. Note: When a supplier attempts to update records in bulk, the API allows a maximum of 50 records per request. If the request contains more than 50 records, the API returns an error message indicating that the limit has been exceeded.
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)
Details of the updated team.
Unique identifier for the bulk operation.
Status message or result description for the bulk operation.
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/bulk/update HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 454
{
"teams": [
{
"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",
"name": "Alpha Team",
"onBehalfOf": "Sponsor Corp",
"reviewerEmail": "reviewer@example.com",
"sellerId": "seller_789LMN"
}
]
}{
"bulkId": "text",
"message": "text",
"status": "BULK_OPERATION_SUBMITTED"
}
