Skip to main content
POST
/
artist
/
bulksplit
Update Bulk Artist Splits
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/bulksplit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "updates": [
    {
      "artistId": "<string>",
      "split": [
        {
          "user": "<string>",
          "share": 123
        }
      ]
    }
  ]
}'
{
  "message": "Bulk split update completed",
  "updatedCount": 5
}
artist/bulksplit Description:
The /artist/bulksplit endpoint allows updating splits for multiple artists simultaneously.
Method:
PATCH
Request Payload:
ParameterTypeDescription
updatesarrayAn array of artist split update objects.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
updatesarray

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

❌ 500 - Internal Server Error

Tags

Artist

Authorizations

Authorization
string
header
required

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

Body

application/json
updates
object[]
required

Response

Success

message
string
updatedCount
integer
I