PUT
/
product
/
bulk
/
defaultsplit
Set Default Split for Bulk Products
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/bulk/defaultsplit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "products": [
    "product-id-1",
    "product-id-2"
  ]
}'
{
  "message": "Bulk product default splits processed.",
  "processed": 5,
  "errors": [
    "product-id-3 - Artist default split not set!"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Successfully processed bulk product default splits

The response is of type object.