PUT
/
product
/
bulksplits
Update Bulk Product Splits
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/bulksplits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "updates": [
    {
      "productId": "<string>",
      "split": [
        {
          "user": "<string>",
          "share": 123
        }
      ]
    }
  ]
}'
{
  "message": "Bulk split update completed",
  "updatedCount": 5
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Success

The response is of type object.