Update User Contract
The Update User Contract API allows modifying the payout rate and subscription plan for a specific enterprise.
API Endpoint
POST /tenant/enterprise/contract/:enterpriseId/update
Host: api.audicient.com
Authorization: <API_KEY>:<API_SECRET>
Content-Type: application/json
Request Body
Parameter
Type
Description
Constraints
sharePercentage
number
Payout rate percentage
Must be between 0 and 100
subscriptionPlanId
number
ID of the selected subscription plan
Required Values 1,2,3 1: Artist 2: Label 3: Multi label
Example Request Body
{
"sharePercentage": 70,
"subscriptionPlanId": 2
}
Example Response
{
"success": true,
"message": "Contract updated successfully",
"data": {
"enterpriseId": 100003,
"sharePercentage": 70,
"subscriptionPlanId": 2,
"updatedAt": "2025-03-17T10:30:00.000Z"
}
}
Authentication Requirements
All requests must include authentication credentials.
Authorization Header: Pass the API key and secret as
<API_KEY>:<API_SECRET>
.Enterprise-ID Header: Required to identify the enterprise being updated.
Last updated