curl --request PUT \
--url https://api.royalti.io/labels/{id}/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tradingName": "<string>",
"pLinePrefix": "<string>",
"cLinePrefix": "<string>",
"isrcPrefix": "<string>",
"upcPrefix": "<string>",
"defaultReleaseType": "full",
"distributionSettings": {},
"catalogSettings": {},
"ddexSettings": {}
}
'{
"status": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tradingName": "<string>",
"pLinePrefix": "<string>",
"cLinePrefix": "<string>",
"isrcPrefix": "<string>",
"upcPrefix": "<string>",
"defaultReleaseType": "full",
"distributionSettings": {},
"catalogSettings": {},
"ddexSettings": {}
}
}Update Label Settings
curl --request PUT \
--url https://api.royalti.io/labels/{id}/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tradingName": "<string>",
"pLinePrefix": "<string>",
"cLinePrefix": "<string>",
"isrcPrefix": "<string>",
"upcPrefix": "<string>",
"defaultReleaseType": "full",
"distributionSettings": {},
"catalogSettings": {},
"ddexSettings": {}
}
'{
"status": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tradingName": "<string>",
"pLinePrefix": "<string>",
"cLinePrefix": "<string>",
"isrcPrefix": "<string>",
"upcPrefix": "<string>",
"defaultReleaseType": "full",
"distributionSettings": {},
"catalogSettings": {},
"ddexSettings": {}
}
}const response = await fetch('https://api.royalti.io/labels/example-id/settings', {
method: 'PUT',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"ref": "#/components/schemas/LabelSettings"
})
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Subset of label fields exposed for settings management