Upload a file
Uploads and stores a file in Zuora Mediation for use in meter processing. Supported formats include CSV, Excel, and JSON. You can specify metadata like headers,
delimiters, sheets, and data ranges.
Authentication
AuthorizationBearer
Use Bearer {{token}} in the Authorization header for authentication.
Request
This endpoint expects a multipart form containing a file.
file
The file to store
hasHeader
Indicates if the file has a header (for CSV/Excel)
firstRow
Indicates where the first row starts (for CSV format)
delimiter
Delimiter to separate values (for CSV format)
sheet
The sheet where data lives (for Excel)
dataRange
The data range in the sheet (for Excel)
resolveFileNameConflict
Whether to generate a UUID file name
targetFolder
The target folder to store the file
overwriteExistingFile
Whether to overwrite an existing file
Response
File successfully uploaded
id
Internal file ID
name
File name
resourceId
Resource ID of the file
format
File format (CSV, Excel, JSON)
hasHeader
Indicates if the file has a header
firstRow
The first row number in the CSV file
delimiter
Delimiter used in the CSV file
sheet
The sheet name in the Excel file
dataRange
Data range in the Excel file
lines
Number of lines in the file
createdAt
Creation timestamp
updatedAt
Last update timestamp
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error