Creates a new royalty source record available globally.
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Source name (will be normalized to lowercase)
"Spotify"
Display label
"Spotify"
Source type
"DSP"
File format
"csv"
Make source publicly available (default true)
true
Mark source as active (default true)
true
"2020-01-01"
"2025-01-01"
JSONB query configuration
{
"type": "bigquery",
"dataset": "royalty_data"
}"royalty_{date}.csv"
Text representation of schema
"artist_name,track_name,streams,revenue"
","
"royalty_{tenant}"
1
Royalty source created successfully
"src-1"
Source name (automatically normalized to lowercase)
"spotify"
Display label for the source
"Spotify"
Source type (e.g., DSP, Publisher, Label)
"DSP"
File format (csv, excel, json, etc.)
"csv"
Whether this source is publicly available to all tenants
true
Whether this source is currently active
true
Start date for source availability
"2020-01-01"
End date for source availability
"2025-01-01"
JSONB object containing query configurations
{
"type": "bigquery",
"dataset": "royalty_data"
}Template for expected file name format with period placeholders. Placeholders: {SALPER-FORMAT} (sale period), {ACCPER-FORMAT} (accounting period) Formats: YYYYMM, YYYY-MM, YYYY-MM-DD, MMM-YYYY, etc.
"{ORG}_Snap_{SALPER-YYYYMM}_Monthly-Sales.csv"
Text representation of the file schema/structure
"artist_name,track_name,streams,revenue"
Field delimiter for CSV files
","
Template for BigQuery table name with period placeholders (SALPER, ACCPER)
"merlin_snap_SALPER_ACCPER"
DSL for column semantic mappings. Defines how columns map to period types and formats. Format: ColumnName:TYPE-FORMAT;ColumnName2:TYPE-FORMAT;... Types: SALPER (sale period), ACCPER (accounting period), ISRC, UPC, CATNO, etc. Formats: YYYY-MM-DD, YYYYMM, YYYY-MM, etc.
"Start_Date:SALPER-YYYY-MM-DD;ISRC:ISRC"
Number of header rows to skip
1
Additional file metadata and configuration