Skip to main content
PUT
Update Split
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/split/ Description: The /split/{splitId} endpoint allows updating the details of a specific split identified by their unique splitId. Authorization:
  • Required role: admin or higher
Method: PUT

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Split ID

Body

application/json
split
object[]
required

An array of objects containing user shares

asset
string<uuid> | null

The UUID of the asset related to the revenue

product
string<uuid> | null

The UUID of the product related to the revenue

type
string | null

The type of revenue (e.g., Publishing, YouTube, Live)

startDate
string<date> | null

The start date of the split period (inclusive)

endDate
string<date> | null

The end date of the split period (exclusive)

name
string | null

The name or description of the revenue split

contract
string | null
ContractId
string<uuid> | null
memo
string | null
conditions
object[] | null

Conditions for split matching

Response

Success

message
string